Re: [jQuery] .not($(obj))

2006-12-31 Thread Blair Mitchelmore
I'm not sure but I think that .not(obj) is currently implemented to exclude singular DOM elements, meaning arrays of elements and jQuery element sets wouldn't do anything. That could maybe be an API change for jQuery 1.1? -blair Oliver Boermans wrote: Hi all It would be useful to be able

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Michael Geary
...since the spec requires name and ID to be identical, it's technically illegal to have a name with [ and an ID as well (since IDs cannot contain [). Um, where does it say the name and id have to be the same? -Mike ___ jQuery mailing list

Re: [jQuery] slideToggle flicker

2006-12-31 Thread Olaf Bosch
SnakeO schrieb: I am experiencing a flicker when the div is sliding down (opening). This is occuring in Firefox and Safari (untested in IE). Has anyone else ran into this problem or am I just overlooking something very simple? Is your CSS, look: .show .info { background: #09f

Re: [jQuery] Stop page scroll when using slideUp/slideDown

2006-12-31 Thread smoore
Hi Karl, I was using return false; but still had no luck. I'm wondering if you can't stop the page from jumping back to the top since the browser's scrollbars expand/contract when you slide the content down/up. It woudl seem odd if that was the case, but it also seems a bit odd that I couldn't

[jQuery] Sortable Reorder?

2006-12-31 Thread Philip Pryce
When i save my sortables as serialized data, is there a way of restoring it using the a sortable (sort?) function i jQuery? Say a list like: left = '1|3|2'; right = '3|1|2'; then when the page loads it sorts it into that order automagically? Thanks in Advanced. -- View this message in context:

Re: [jQuery] Stopping fadeIn/fadeOut effects from piling up

2006-12-31 Thread Jörn Zaefferer
Jeremy Epstein schrieb: Any help would be appreciated. If I can iron out this annoyance, I would like to contribute this script as a plugin. If it can't be fixed, I'll have to just replace the fadeIn/fadeOut calls with hide/show calls (which don't suffer from the pileup issue). This is a

Re: [jQuery] New plugin: jScrollPane

2006-12-31 Thread Kelvin Luck
David wrote: Kelvin Luck schreef: Hi all, I've just released my new plugin - it is called jScrollPane and replaces the browser's scrollbars where a container has an overflow of auto and a fixed height: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html nice, the

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Yehuda Katz
HTML 4.01, section 12.2.3: The id http://www.w3.org/TR/html401/struct/global.html#adef-id and namehttp://www.w3.org/TR/html401/struct/links.html#adef-name-Aattributes share the same name space. This means that they cannot both define an anchor with the same name in the same document. It is

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Yehuda Katz
Do you mean without any server-side script? If so, you might try using the cookie plugin to store the data and pull it back out on page-load. -- Yehuda On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote: When i save my sortables as serialized data, is there a way of restoring it using the a

Re: [jQuery] New plugin: jScrollPane

2006-12-31 Thread Kelvin Luck
Abel Tamayo wrote: Thanks very much. You just saved my life. I spent the last week unsuccesfully trying to implement Interface's scrollbar, then yesterday I gave up and started looking into YUI's solution but I was unhappy because (although it's a great elemment) it's not jQuery and it made

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Klaus Hartl
Yehuda Katz schrieb: HTML 4.01, section 12.2.3: Yes, but this refers to anchors only. Obviously following construct makes no sense: h2 id=the-anchor.../h2 p ... a name=the-anchorAn anchor/a ... /p Now there are two anchors in the document with the same namespace. Which one should the

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Yehuda Katz
I'm not sure I read it that way: The following example illustrates that idhttp://www.w3.org/TR/html4/struct/global.html#adef-idand name http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the same when both appear in an element's start tag: PA name=a1 id=a1 href=#a1.../A The

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Philip Pryce
i've already found a way to remember the serialized code for the lists, just how to restore the serialized numbers back into lists? thanks. On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote: Do you mean without any server-side script? If so, you might try using the cookie plugin to store the

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Klaus Hartl
Yehuda Katz schrieb: I'm not sure I read it that way: The following example illustrates that id http://www.w3.org/TR/html4/struct/global.html#adef-id and name http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the same when both appear in an element's start tag: PA

[jQuery] off-topic: Happy New Year for you all

2006-12-31 Thread Rafael Santos
Hey, I wish you all we all, web fans, programmers, code line lovers like me, a really great 2007. Lets make jQuery dominates the world! lol Im doing my part, spreading the word in Brazil. (= ha, im not good with words, especially in english hehe, so watch this production:

Re: [jQuery] Such a Newbie question

2006-12-31 Thread Nate Cavanaugh
Hi Jamie, this is pretty easy :) jQuery uses CSS Selectors, so this will work: $(input, select).click(function() { jamester wrote: Hi all, I've just entered the wonderful world of jquery, and being from a mainly php only background the whole JS thing is very new and exciting to me, but

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Yehuda Katz
Do each of the nodes have an ID? Or are you basing it on their initial order? -- Yehuda On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote: i've already found a way to remember the serialized code for the lists, just how to restore the serialized numbers back into lists? thanks. On 31/12/06,

Re: [jQuery] Having an issue accessing a node.

2006-12-31 Thread Klaus Hartl
Klaus Hartl schrieb: Yehuda Katz schrieb: I'm not sure I read it that way: The following example illustrates that id http://www.w3.org/TR/html4/struct/global.html#adef-id and name http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the same when both appear in an element's

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Philip Pryce
each node has and id, and i have it listed, i just need to reorder them once the page loads again. On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote: Do each of the nodes have an ID? Or are you basing it on their initial order? -- Yehuda On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Philip Pryce
slight typo, Each node has an id, and i have it on a list, i just need the li's to be reordered once the page is loaded again to this order. On 31/12/06, Philip Pryce [EMAIL PROTECTED] wrote: each node has and id, and i have it listed, i just need to reorder them once the page loads again. On

[jQuery] animate not pixel perfect?

2006-12-31 Thread Will Olbrys
I'm having a problem with the .animate method. I'm using it to slide some div's left and right. One part of the project does not have alot of text but has some background images and some images, the other is very textheavy. One of these effects is loaded asynchronously and the other is loaded on

Re: [jQuery] off-topic: Happy New Year for you all

2006-12-31 Thread Abel Tamayo
Yeah, Happy New Year for everyone in the board. As like with any new year, I wish everyone that their dreams and projects (make smore much sense with projects) come true. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Stop page scroll when using slideUp/slideDown

2006-12-31 Thread Matt Stith
One more solution to try: $('a.shownext').click(function(e) { e.preventDefault(); // Code here }); On 12/31/06, smoore [EMAIL PROTECTED] wrote: Hi Karl, I was using return false; but still had no luck. I'm wondering if you can't stop the page from jumping back to the top since the

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Yehuda Katz
so say you get 1|3|2 and your nodes have id li_1 etc. something like the following should work: var sortedList = 1|3|2.split(|) var expr = #li_ + sortedList.join(, #li_) jQuery(expr).appendTo(#container) -- Yehuda On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote: slight typo, Each node has

Re: [jQuery] animate not pixel perfect?

2006-12-31 Thread Yehuda Katz
My guess is that it has to do with: http://jquery.com/dev/bugs/bug/260/ -- Yehuda On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote: I'm having a problem with the .animate method. I'm using it to slide some div's left and right. One part of the project does not have alot of text but has

Re: [jQuery] Stop page scroll when using slideUp/slideDown

2006-12-31 Thread Karl Swedberg
I set up a little test case but couldn't replicate your problem. See: http://test.learningjquery.com/slidedown.htm Let me know if my page works for you, as well. If it does work, perhaps you could provide a link to the page that is causing the problem. Then we'll have a better shot at

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Philip Pryce
Dude, you've saved my life, thanks soo much, it worked with out too much editting. On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote: so say you get 1|3|2 and your nodes have id li_1 etc. something like the following should work: var sortedList = 1|3|2.split(|) var expr = #li_ +

Re: [jQuery] Sortable Reorder?

2006-12-31 Thread Yehuda Katz
No problem :-D -- Yehuda On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote: Dude, you've saved my life, thanks soo much, it worked with out too much editting. On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote: so say you get 1|3|2 and your nodes have id li_1 etc. something like the

Re: [jQuery] Stop page scroll when using slideUp/slideDown

2006-12-31 Thread smoore
Karl, I tested yours successfully, so I'm not sure why I'm getting the jump back to top. I'm handling the show/hide with the following: $(a.show_all).click(function(){ var all_items = $(div.items); var all_link = $(a.show_all); if ( all_items.is(:hidden) ) {

Re: [jQuery] animate not pixel perfect?

2006-12-31 Thread Will Olbrys
Thanks for the response. Reading that bug ticket... does it mean the bug has yet to be fixed in 1.1? Will wycats wrote: My guess is that it has to do with: http://jquery.com/dev/bugs/bug/260/ -- Yehuda On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote: I'm having a problem with

Re: [jQuery] animate not pixel perfect?

2006-12-31 Thread Yehuda Katz
Yep :( On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote: Thanks for the response. Reading that bug ticket... does it mean the bug has yet to be fixed in 1.1? Will wycats wrote: My guess is that it has to do with: http://jquery.com/dev/bugs/bug/260/ -- Yehuda On 12/31/06, Will

[jQuery] How to get the form name

2006-12-31 Thread blemming
I have a UL inside some form tags and a I want to be able to get the name or id of that form. $('#ul_opts').ancestors('form').id() Works in IE but returns null in FF. Any thoughts? Thanks, David -- View this message in context:

[jQuery] Thanks -- Jquery for a great tool in 2006

2006-12-31 Thread Scottus
Jquery is the first Javascript library that I found useful so I actually use it. Great job everyone who helped. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Thanks -- Jquery for a great tool in 2006

2006-12-31 Thread Yehuda Katz
Hear hear! On 12/31/06, Scottus [EMAIL PROTECTED] wrote: Jquery is the first Javascript library that I found useful so I actually use it. Great job everyone who helped. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ --

Re: [jQuery] Thanks -- Jquery for a great tool in 2006

2006-12-31 Thread blemming
Cheers! Happy New Year. 2007 is going to be an exciting year with jQuery! wycats wrote: Hear hear! On 12/31/06, Scottus [EMAIL PROTECTED] wrote: Jquery is the first Javascript library that I found useful so I actually use it. Great job everyone who helped.

Re: [jQuery] .not($(obj))

2006-12-31 Thread Oliver Boermans
On 31/12/06, Blair Mitchelmore [EMAIL PROTECTED] wrote: I'm not sure but I think that .not(obj) is currently implemented to exclude singular DOM elements, meaning arrays of elements and jQuery element sets wouldn't do anything. That could maybe be an API change for jQuery 1.1? -blair Sounds

[jQuery] Please wait.. tutorial

2006-12-31 Thread Mungbeans
Does anyone know where there is a good tutorial on coding a Please wait.. sign to appear in the middle of the page whenever ajax commands are being processed? I've tried, but so far haven't had much success. -- View this message in context:

Re: [jQuery] .not($(obj))

2006-12-31 Thread Yehuda Katz
What about something like: $([EMAIL PROTECTED]).parents(li) The first expression will return ol's with any kids attribute, and then grab all parent nodes that are lis. Does that help? -- Yehuda On 1/1/07, Oliver Boermans [EMAIL PROTECTED] wrote: On 31/12/06, Blair Mitchelmore [EMAIL

Re: [jQuery] .not($(obj))

2006-12-31 Thread Oliver Boermans
That will select both the lis as they both contain at least one ol with an attribute of kids. I need it to select only the lis in which every ol has the attribute of kids. Only the second li in my example should be selected. On 01/01/07, Yehuda Katz [EMAIL PROTECTED] wrote: What about something

[jQuery] bind and unbind events HELP!

2006-12-31 Thread xmrcivicboix
Hi friends, I ran into a problem using the bind and unbind events. I have a function that triggers when $(document).ready. The function name is begin. This function iterates through all the span elements in the DOM and find an id that begins with 'eip-' then assign 3 events, contextmenu,

Re: [jQuery] bind and unbind events HELP!

2006-12-31 Thread Matt Stith
No need to test if the element begins with eip- manually, just use a selector: $([EMAIL PROTECTED]'epi-']) will select all 'span' elements with id's that begin with epi- Sorry i cant help too much with your problem though. On 1/1/07, xmrcivicboix [EMAIL PROTECTED] wrote: Hi friends, I ran

Re: [jQuery] bind and unbind events HELP!

2006-12-31 Thread xmrcivicboix
Cool! I just gave up mootools and made a jump over jQuery because of the so-so documentations and forum help. So far, I find jQuery to be EXCELLENT. Thanks for your help again! Matt Stith wrote: No need to test if the element begins with eip- manually, just use a selector: $([EMAIL

Re: [jQuery] .not($(obj))

2006-12-31 Thread John Resig
The issue is that what you're trying to do is currently (unfortunately) not supported by the jQuery selector engine. The selector isn't that bad: $(li:not([ol:not([EMAIL PROTECTED])])) The problem is that you have both nested () and nested [] - both of which fail in jQuery (it's quite fickle