[jQuery] XPath Axes: ancestor(-or-self) / parents / descendent / children
I'm interested to know how to extend the selector syntax to accept things like axis definitions etc. (I know from the forum that we should be using the .parents() methods etc but I'd like to extend the selector syntax myself.) While the .parent() and .children() methods etc work very well when combined with the excellent XPath-style selector support, I'm finding many situations where axis selectors such as ancestor:: and ancestor-or-self:: etc (or a shorthand) would be very useful in the selector
[jQuery] Ajaxian Framework Results
Well, JQuery may not be the top at the moment but its only a matter of time. :o) http://ajaxian.com/archives/ajaxiancom-2006-survey-results Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Blips in $("div").hide(); when using $(document).ready
Hi All, I am using jquery to set up some basic show/hide functionality on a class of divs. My HTML looks something like <div class="hide_this"> <textarea ...> ... </textarea> </div> ... The jquery code that hides all these at the beginning looks like $(document).ready(function() { $("div.hide_this").hide(); //other document ready code }); <br clear="all">The app throws up about 10 or so of these divs and what I see is the textareas appear and then blip out of existence. It seems to me
[jQuery] Suckerfish
Hi, I am using the suckerfish plugin. How can I make it so I can have a drop down menu from a drop down menu. -Menu | -menu 1 -menu 2 | - menu 2.1 - menu 2.2 -menu 3 -menu 4 Thanks -TJ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Global AJAX handlers
Hi folks, which of the following examples of global ajax handlers make more sense and are easier to understand? $("#msg").ajaxSuccess(function(){ $(this).append("<li>Successful Request!</li>"); }); or $.ajaxSuccess(function(){ $("#msg").append("<li>Successful Request!</li>"); }); With chaining: $("#msg").ajaxStart(function(){ $(this).show(); }).ajaxStop(function() { $(this).hide(); }); or var msg = $('#msg'); $.ajaxStart(function() { msg.show(); }); $.ajaxStop(function() { msg.hide(); }); Your opinion
[jQuery] visualjquery.com inaccessible
Hi All, Can i ask a copy of the first issue, attached and sent directly to my email? I can't access the site as of 9:08 AM GMT +8 (Malay Peninsula Time)... Thanks in advance... c",) Cheers, cdelfino _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Ajax numpty, stumbling around
Right, First of id like to give a big thanks to all you on the jQuery list that have helped me while i get my head wrapped around the basics of jQuery, the help ive had of this list has been great and really helped me. For months now i have put of doing anything AJAX related as i just didnt get how it worked, but with my new found love of jQuery i belive i should be able to finaly push myself into AJAX without hurting myself too much. Im currently trying to do a simpe re-write of my login page for
[jQuery] Strange bug: animate converts 'show' to boolean
Hi, today I wanted to add to the tabs plugin the possibility to define your own animation for the tab switch. Like: $('#container-8').tabs({fxAnimate: [{height: 'show', opacity: 'show'}, {height: 'hide', opacity: 'hide'}]}); There is a strange bug although. It works on the first click, but throws an error on subsequent clicks. I found out, that the value of fxAnimate[0].show is converted to a boolean and therefore the error occurs. See here: http://stilbuero.de/jquery/tabs/ (at the very bottom) Does
[jQuery] interface -> isortables and latest version of jquery
I am having issues with interface sortable and newer version of jquery is this a known situation? Is there a solution? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Typo in API
In <a href="http://jquery.com/api">http://jquery.com/api</a> under PREV(), the examples say "previous()". Glen _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] About serialize and param
I found earlier discussion about select multiple serizlization question at http://jquery.com/discuss/2006-September/010887/ . And I also encounter the same problem again. I used a multiple select, but the select.val() will only return one value but not the multiple values. So I checked the param() function, and it didn't think about select-multiple also, and the param() can receive two type of parameter, one you could pass it a jQuery object, the other you could pass is a hash object. But it don't
[jQuery] bug when using Object.prototype ?
Hi everyone, If I attach a function to Object.prototype outside the $(document).ready function, it gets executed when I load the page, is this a bug? Example: <html> <head> <%@ include file="/jquery/jquery-1.0.1.js" %> <meta http-equiv="content-type" content="text/html" /> </head> <body> <script type="text/javascript"> Object.prototype.foo = function(){ alert('foo'); }; </script> </body> </html> I get the alert as soon as the page gets loaded, if I move it inside a $(document).ready function, everything
[jQuery] New Plugin: newsticker
A news ticker plugin to create an effect similar to that on the BBC News site. http://www.texotela.co.uk/code/jquery/newsticker/ Apply it to an unordered list of items. Default delay is 4 seconds $("#news").newsticker() But you can override it - units are in milliseconds, so for 5 seconds you would do: $("#news").newsticker(5000) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .toggle crashing IE
Hey folks, I am working on a Wordpress/Canvas theme that exclusivly uses jQuery for it's JS functions. I have added 2 toggle areas, one at the top that by default is hidden, and one at the bottom that by default shows up. I also have my comment area hidden by default but it's only shown if you view a single post. Now, in IE6 (at least in my copy) the bottom toggle bar works fine, so does the comments area - but the top bar keeps crashing IE6 - however it works fine in Firefox. At first I thought
[jQuery] input[@checked] selector broken for radio buttons?
I'm using build 249: In pre-1.0.1 builds $(this).find("input[@type=checked]") would return the chosen radio button, but it no longer does (checked on Safari & Firefox, OS X). http://jquery.com/docs/Base/Expression/ gives an example selector of "input[@type=radio][@checked]" - this doesn't return the checked radio button either. -- Jay Gooby jay@gooby.org +44 (0)7956 182625 skype:jaygooby http://snipperoo.com http://blog.snipperoo.com _______________________________________________ jQuery mailing
[jQuery] Google map plugin idea
> > if (!window.GBrowserIsCompatible || !GBrowserIsCompatible()) return this;
[jQuery] Visual jQuery Magazine
The release of the first issue of the Visual jQuery Magazine is official. In our first issue, we have: <ul><li>an editor's note about the magazine</li><li>a profile of jQuery's founder, John Resig</li><li>an introduction to jQuery's basic principles </li><li>an argument for jQuery's philosophy</li><li>an interview with the creator of the jqMinMax plugin, Dave Cardwell</li><li>a roundup of three plugins that are useful for creating rich web applications</li><li>a really cool back-page ad (check it
[jQuery] toggleClass and removeClass
<html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Monotype Corsiva"; panose-1:3 1 1 1 1 2 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed
[jQuery] Visual jQuery Magazine
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:*
[jQuery] Visual jQuery Magazine
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 11"> <meta name=Originator content="Microsoft
[jQuery] Google map plugin idea
> > just a little thing: I'd check additionally for existence of
[jQuery] .toggle crashing IE
> From: digital spaghetti
[jQuery] .toggle crashing IE
> Now, in IE6 (at least in my copy) the bottom toggle bar
[jQuery] New Plugin: newsticker
Very nice! Do the news items pull from a database or from the existing code? Are they random or in order? <!----------------//------ 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 Sam Collett Sent: Friday, September 22, 2006 11:15 AM To: jQuery Discussion. Subject: [jQuery] New Plugin: newsticker
[jQuery] Hiding multiple elements, then showing one
I have a little bit of code that I want to hide x amount of divs, then when they're all hidden to show a specific one. Right now I have this... // hide all found divs $(settings.slide).hide(); // get the slide that i want shown div = $(settings.slide).get(i); // show the slide when everything is hidden $(div).fadeIn(); How do I chain a hide all, then show one function? -- View this message in context: http://www.nabble.com/Hiding-multiple-elements%2C-then-showing-one-tf2318376.html#a6449115 Sent
[jQuery] jQuery::PeriodicalUpdater ?
Thanks for finding that. (I had previous called it "Heartbeat" but decided to rename it to "JHeartbeat".) It should be fixed now. ----- Original Message ---- From: Will Arp <warp@reboot.ch> To: jQuery Discussion. <discuss@jquery.com> Sent: Thursday, September 21, 2006 11:48:59 PM Subject: Re: [jQuery] jQuery::PeriodicalUpdater ? there is a bug on line 35 and 40 of file heartbeat.js: change $.heartbeat to $.jheartbeat ..or in line 7: change $.jheartbeat to $.heartbeat ;) will
[jQuery] FadeIn Issues -- Blocks?
I was looking at the code trying to understand why extra space is added after using FadeIn/Out, and also why setting properties of "visibility" after using fadeIn/Out doesn't work. The code is a little tough to follow, but it seems that the hide/show functions set the display property to block. According to http://www.w3schools.com/css/pr_class_display.asp this *adds* a newline element. Question: why do show/hide set the display attribute? Why not use "visibility"? _______________________________________________
[jQuery] Fader code I duplicated using JQuery
I saw this posting: http://mikeomatic.net/techtips/css-crossfader/ and it showed a really cool fader. So I duplicated it using JQuery: http://www.intoajax.com/fade.htm The cool thing is that I didn't need to load scriptaculous to do it. Enjoy! Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] document.ready & IE & iframe
Hi all, I have a page(1) with an iframe, where the iframe loads a second-party-web page(2). Now, if I open (1), I want to do some JS-Action, whenever (1) is completely loaded. This works great in FF and Opera! You can test it here: http://newsride.org/discuss/?uriId=@@@@17 The comments on the left side should load almost immediately in FF / Opera. It basically works like this: $(document).ready(function(){ loadComments(); }) But if you look at the same page in IE, you will get a different result.
[jQuery] jQuery::PeriodicalUpdater ?
Anybody did a periodical updater plugin like the scriptaculous one? I hope all plugin developers put there plugin on: http://jquery.com/plugins/ Thanx Gilles _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] code ideas: if mouseover for 5 seconds then do this elsedo nothi ng
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style>
[jQuery] JTip Issue with IE
Hi guys, I'm having an issue using JTip with IE 6. My select boxes are overlapping the popup DIV that JTip creates. You can see the issue here: http://www.intoajax.com/jtiptest.htm I've tried adding an IFRAME of the same dimensions as the JT DIV on the fly before the JT DIV is created, like this: $("body").append('<iframe src="javascript:false;" name="jTipiFrame" id="jTipiFrame" scrolling="no" frameborder="0" style="display: block; left: 319px; position: absolute; top: 147px; width: 250px; height:
[jQuery] Interface: draggables, droppables, and sortables
I posted earlier this week about a problem with Interface and the drag/drop/sort functionality. Someone pointed out that my example had an error in IE, so I went back to the drawing board to refactor the code. I've posted three demo pages that explain my problem: http://beta.bryanbuchs.com/index.html http://beta.bryanbuchs.com/index.html http://beta.bryanbuchs.com/index2.html http://beta.bryanbuchs.com/index2.html http://beta.bryanbuchs.com/index3.html http://beta.bryanbuchs.com/index3.html The first
[jQuery] Reminder: Magazine Release Imminent
Hey guys, Just a reminder that issue 1 of the Visual jQuery Magazine is set to be released tonight. Keep an eye out!<br clear="all"> -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] toggleClass and removeClass
<html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Monotype Corsiva"; panose-1:3 1 1 1 1 2 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed
[jQuery] JHeartbeat - New Plugin
>Just a suggestion. How about being able to do it in a more jQuery-like
[jQuery] Small change to JTip
I wanted to be able to define my own cursor in JTip via the URL passed and didn't see a way of doing it so I modified the JTip code slightly to do this: Before: if(params['link'] !== undefined){ $('#' + linkId).bind('click',function(){window.location = params['link']}); $('#' + linkId).css('cursor','pointer'); } After: if(params['cursor'] === undefined){params['cursor'] = 'pointer'}; $('#' + linkId).css('cursor', params['cursor']); if(params['link'] !== undefined){ $('#' + linkId).bind('click',function(){window.location
[jQuery] Running jQuery when already have $() from prototype
Hi everyone, Is there any update with the issue of using the dollar function $ from prototype when migrating to jQuery? Thanks! Carlos _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to change value of select dropdown?
Seems like a simple action, and it works in Firefox, but not IE... I'm trying to change the value of a dropdown box based on an event triggered in another text box. It's a contact form, and I just want to change the state dropdown Select on the keyup of the 5th character of the zip input box. re: $("#zip").keyup(function(){ if ($("#zip").val().length == 5) { // IE can get in here, but doesn't execute the following line $("#state").attr("value","FL"); // just testing for now }
[jQuery] JHeartbeat - New Plugin
Hi, I decided to try my hand at my first real plugin for JQuery. (Slightly Thickerbox is more of a script that works with JQuery than an actual plugin.) This is in beta form now and is likely to be of limited use, but here it is: JHeartbeat http:/www.jasons-toolbox.com/JHeartbeat/ It will automatically reload a URL that you provide it every X number of seconds (X being defined by you). You can even have it run a particular function once the load has been completed. I use it to keep sessions alive
Next Page