[jQuery] Highlighting jQuery
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>Hola.</DIV> <DIV> </DIV> <DIV>I just released Chili, a free syntax highlighter script, written in jQuery, and based on the Dan Webb's Code Highlighter, which I found a couple of weeks ago thanks to a link on the jQuery site.</DIV> <DIV> </DIV> <DIV>Chili is compatible with Code Highlighter's language definition files, but it is othwerwise a new
[jQuery] I'm find a bug in jQuery??s Cookie plugIn
<div class="Section1" style="LAYOUT-GRID: 15.6pt none"> <p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">I'm find a bug in jQuery's Cookie plugIn.</span></font> <p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">When you write more than 2 cookies, from the second, you could not read it value correctly.</span></font> <p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US"
[jQuery] newbie request / suggestion / neat thing
Has anyone thought about porting curvyCorners (www.curvycorners.net) to jQuery? I'm fairly clueless at javascript, so it's WAY too big a job for me -- but i thought i'd call it to people's attention, because it seems like a great fit for the jQuery framework if someone wanted to do it. I'd certainly offer to help test/document/whatever. --Adrienne -- View this message in context: http://www.nabble.com/newbie-request---suggestion---neat-thing-tf2460391.html#a6857886 Sent from the JQuery mailing list
[jQuery] newbie request / suggestion / neat thing
Mike Alsup has tweaked my original corner rounder so that it does any corner adornment you'd like, and it's only 4KB. It doesn't support borders or background images in the parent though, which Curvy and a few others do. But it's a high price to pay, IMO. http://www.malsup.com/jquery/corner/ Be aware that using a large radius on a lot of elements can insert hundreds of new elements into your document to implement the rounding effect. That will cause the page to start slowly and can also make later
[jQuery] Simple select box utility functions
<span style="font-family: courier new,monospace;">jQuery.fn.selectOption = function() {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> return this.jsAttr("selected", true) </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> jQuery.fn.unselectOption
[jQuery] SOT: PNG fix seems to cause page to load endlessly
I see...thank you Klaus. I'll read up on that link you sent. Appreciated. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Klaus Hartl Sent: Tuesday, October 17, 2006 10:51 AM To: jQuery Discussion. Subject: Re: [jQuery] SOT: PNG fix seems to cause page to load endlessly
[jQuery] get first and last
I'd try $('#theul li').get(0) and $('#theul li').get($('#theul li').get().length) perhaps? --Steve sivy@userwire.com | irc: monkinetic|redmonk
[jQuery] slideToggle Not Completely Expanding in Firefox
I'm having height issues with slideToggle in Firefox. An example can be found here: http://hotelwebsitedesign.com/OTODevelopment/careers_openings.asp In IE when you click on the different positions they expand fully but in firefox they only expand some of the way and then the text just spills over on top of other listings. Any idea why this is happening? The hidden content is all in one div which I'm toggling. I'm using firefox 1.5 and the latest jQuery download. -- View this message in context:
[jQuery] SOT: PNG fix seems to cause page to load endlessly
I'll check into this, but I don't believe we're using transparent backgrounds. I'm pretty sure we're just using product images which are in plain IMG tags. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Klaus Hartl Sent: Tuesday, October 17, 2006 10:38 AM To: jQuery Discussion.
[jQuery] jquery snapshots
> > Use the SVN version if you want to do that sort of thing.
[jQuery] Passing multiple variables using .ajax()
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><big>Hi folks, I'm trying to make an ajax call using the .ajax() method, and I can't figure out how to pass multiple variables. I've checked out the interactive API (very cool by the way), and it shows an example like this:</big> </font>$.ajax({ type: "POST", url: "some.php",
[jQuery] Select Box Plugin
I heard word a while ago that there was a select-box plugin coming down the pike. What's the status on that?<br clear="all"> -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] SOT: PNG fix seems to cause page to load endlessly
I'm using a PNG fix javascript to load in some product images on a site that my company did. It "works" great, in that the images load in properly and are transparent. The problem is that the page loads endlessly, even though nothing is missing. My first question is "does anyone know why this is happening"?. A second question is, "does anyone have a PNG fix that works correctly?" Here's the site: http://www.bigcomfycouchstore.com All of the product images on the front page are PNGs Thanks in advance.
[jQuery] get first and last
hey, I am afraid ive forgotten how to get the first and the last element of a <li> list inside a <ul>.... how knows?? =) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] frames/iframes syntax?
I would like to reference some elements in an iframe on the page. A reference in stock javascript would look like this: window.frames[0].document.getElementsByTagName('head'); But I haven't been able to figure out the analogous jQuery call ... Could someone provide the syntax for this? (i.e referencing an element in an iframe from the parent) Thanks in advance, John _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Tabs plugin - back button
Hi, after making tabs truly bookmarkable the back button still did not work. I started to fix that and the back/forward button now works in: Firefox, Safari, Opera. In Safari I implemented a pretty straight forward solution based on the length of the history object unlike other pretty extensive solutions out there (iframes and stuff). Seems to work fine. May fail if the length of the history is limited. Now I will get that to work in IE! Have a look here: http://stilbuero.de/jquery/tabs/#section-2
[jQuery] Compiling selectors into native Javascript
>> The thread about benchmarks got me thinking about compilation and >> caching of selectors too. It could be a big win for benchmarks where >> they use the same selector in a loop 1000 times! :-) > The problem with caching is that it's unable to handle situations > where the DOM changes in-between, unless there's an explicit > .refreshCache() or some such. And doing this by default is hardly > desirable, as it would cause a lot of common code to break. Like Mark said, we're not caching the DOM results,
[jQuery] Groups, Forums
I was trying to show a developer friend the thread about the API Discussion. The online archives make it difficult to follow the thread from start to finish. I think this mailing list is getting pretty popular and a forum would make discussions much more targeted. Many forums have email hooks built in. Some options: <ol><li><a href="http://forum.openrico.org/">http://forum.openrico.org/</a> (Rico - Homegrown forums app)</li><li><a href="http://tech.groups.yahoo.com/group/ydn-javascript/">http://tech.groups.yahoo.com/group/ydn-javascript/
[jQuery] custom events
I need to add/remove and fire custom events. As an intro example, I have a div with id "TabManager". TabManager has inside a ul and li's much like others create tabs these days. I want TabManager to be the central object which other components listen on for events like "tab_changed('new_tab')". TabManager will also have methods such as "query_tab()" and change_tab("homeTab"). Sure, I can and have implemented this differently. In prototype, I just created a javascript class for this and mitigated
[jQuery] Select append(html) issue fixed (need testers)
> Eh I was hoping for some more enthusiasm over this one
[jQuery] How to get values from form automatically?
Hi to all, I heard that jquery has a params() function that gets all the values from a form but I couldn't find documentation for it. I need to get the data from a form automatically, construct a GET query and send it via AJAX, for now I'm building the query manually and then send it. Please, post me some example, if any. Thanks in advance balkanski -- View this message in context: http://www.nabble.com/How-to-get-values-from-form-automatically--tf2459166.html#a6854045 Sent from the JQuery mailing
[jQuery] Dynamic call
I need to make a dynamic call to jquery I tried the following var call = 'hide'; $('#div').call() but it doesn't work, Any way you can do this in javascript? -- Richard Thomas - CEO Cyberlot Technologies Group Inc. 507.398.4124 - Voice _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] %5BjQuery%5D%20Using%20javascript%20variable%20for%20%22HASH%22&In-Reply-To=79e821850610170325n31d05b7cia22d5222fa1d847e
Hello Blair, Thanks for your help! Xavier _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] What is the best way to queue several effects?
Hi there, JQuery does a great job of queuing effects on the same element(s) but I'm not sure how to queue effects on a set of many different ones. What is the best way to run the same fx on many items in sequence, one after the other? Using callbacks is fine for a couple of effects but tedious if you have many elements to animate one after the other. Tried: - Calling .queue() on a set of elements, passing a function such as function(){ $(this).show() } - Using a function to do the fx, decrementing
[jQuery] Using javascript variable for "HASH"
Hello, I imagine that it must be some way to use javascript variable for "HASH"... Is it possible? I show you the code that I'm using (and it show me an error in FireBug (Firefox):reference to undefined property "imts"): <span style="font-style: italic;">function LoadAjax(t,d,id){</span><br style="font-style: italic;"><span style="font-style: italic;">var itms</span><br style="font-style: italic;"><span style="font-style: italic;"> itms='{url: "GetValues'+t+'.asp", type: "POST", ';</span><br style="font-style:
[jQuery] Interface Draggable problem
I have a list of draggable "article" divs inside a "container" div. The container div is styled with an "overflow: auto" to allow users to scroll up and down and view the "articles" within. When I drag an article, I've enabled the "revert" property so that it snaps back if not dropped on an appropriate place. The problem is that when it reverts, it breaks the "overflow" of the container div. When you now scroll, the previously dragged "article" appears to be outside the "container" div!! It does
[jQuery] prototype-and-jquery-benchmarked
<a href="http://claudio.cicali.org/article/100/prototype-and-jquery-benchmarked">http://claudio.cicali.org/article/100/prototype-and-jquery-benchmarked</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery AJAX Java Servlet encoding problem
Hi All, I have a strange problem using jQuery with Java Servlet pages. I want to edit, insert delete some entry for myself in a java project using jQuery and Java Servlet. Everything is written in utf8, but when I call an ajax function in jQuery the posted request gets the value as converted UTF8 chracters to ASCII. Did or does anybody use(d) jQuery with Java Servlet? $('#'+TabHandler.actualTab).load( contextPath+"/commentupdatenote?txtnote="+$('#txtnote').attr("value"), "", function(){TabHandler.showFlash("Content
[jQuery] Compiling selectors into native Javascript
Here's an idea for the future: Multiple/alternative selector schemes (ie. CSS3, XPath1, XPath2) and compilation of selectors into native Javascript. jQuery.<selector-scheme> = { select: function(query, context, params) { var fn; if (typeof query == 'string') { fn = (this.cache[query] === undefined) ? this.compile(query) : this.cache[query]; } else if (typeof query == 'function') { fn = query; } return fn(context, params); }, compile: function(query) { return this.cache[query] = eval(this.toJS(query));
[jQuery] tableSorter question
Hi there, how do I refresh tableSorters instance? like a rebuild? In short my problem: I'm combining sortables with the tableSorter, and after the Sorting (Drag Drop), the highlightClass for this row is not updated anymore. <br clear="all"> -- Paul Bakaus Web Developer ------------------------ Hildastr. 35 79102 Freiburg _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] JQuery interface plugin: ondrop mouse position ?
Hi, I am using the http://interface.eyecon.ro/docs/drop JQuery interface plugin to drag images and drop them in a div. How could I get the mouse position (event) in the ondrop handler ? Example: ===== $('#mydiv').Droppable({accept:'myimageclass',ondrop:function(drag) { /* How can I access the screen or client mouse coordinate here ? */ } }); Thanks Laurent -- View this message in context: http://www.nabble.com/JQuery-interface-plugin%3A-ondrop-mouse-position---tf2425125.html#a6761693 Sent from the
[jQuery] Decipher error message
Thought my little ajax application was working fine until on certain pages I get this error message can some one point my in some direction of what is taking place to generate the message Is it just a case that there is no input being passed - the message comes up using opera(js console) but nothing is displayed in firefox Unknown thread Error: name: TypeError message: Statement on line 1: Could not convert undefined or null to object Backtrace: Line 1 of eval script if (data.constructor == Function)
[jQuery] Callback with .post() fails too often
Hi there first a great hello to all the people discussing here, I am the new one :-) New at both this list and jQuery itself. So here is my first question, I hope you can help me with this. I am trying to create a rudimentary contact form and am using this code at the moment: $('form#contactForm').submit(function(){ $.post('contact.send.php','',function(txt) { $("table#kontaktformular").before("<div class=\"returnMessage\">"+txt+"</div>"); return false; }); }); This seems to work... but only sometimes.
[jQuery] Dynamic call
> > $("#div").call()
[jQuery] loading problems using .load
I’ve been using drupal for a bit now I thought that I would add some ajax code to my pages The idea is that jquery is used to generate a list of content(nodes) from category link at the side, that in turn the user selects to add the interest content in the main page. Everything appeared to be working fine until on certain pages(ie pages that appear similar to www.mysite.com/node/190) the process would break and it appears that the full links are being load breaking the layout of the page its looks
[jQuery] Select append(html) issue fixed (need testers)
Here is a first run at fixing the issues with appending a string of HTML to select elements. It isn't very pretty and I could use some testers. I've tested the little demo I made in Safari 2.0.4, IE6, Firefox 1.5 on Win and Mac. But testing/using it in your own use-cases will be very helpful. The patch also takes into consideration optgroup tags, value attributes, selected and label attributes for both optgroup and option tags. One known issue is that it will blow up if you intermix option tags +
[jQuery] Compiling selectors into native Javascript
> Here's an idea for the future:
[jQuery] A newbie with an ajax-via-jquery question
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1">Hi folks, Rey Bango turned me on to jQuery, and I'm trying to use it right now pretty much for the first time. I'm trying to make an ajax call to my ColdFusion server. The upshot is that I'd like the server to build a row of a table and return the row to the client. Then I was hoping that
[jQuery] jq-corner.js file
Anyone know where I may download the jq-corner.js file written by D. Methvin. It's not available on the author's site. TIA _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] A newbie with an ajax-via-jquery question
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1">Hi folks, Rey Bango turned me on to jQuery, and I'm trying to use it right now pretty much for the first time. I'm trying to make an ajax call to my ColdFusion server, and I'm a little confused by my results. Rey gave me a bit of sample code on a different list. Regardless of what my intended
Next Page