[jQuery] Re: How to select all but one

2007-03-31 Thread joomlafreak
My apologies! it works as i wanted and as you thought it should. thank you so very much, have a good weekend. On Mar 31, 9:13 pm, "joomlafreak" <[EMAIL PROTECTED]> wrote: > thank you for your prompt reply. the code you wrote does work but only > partly. I mean the first animate for other divs wo

[jQuery] Re: How to select all but one

2007-03-31 Thread Matt Stith
thats weird :-\ try switching the order around, eg do the $(this) one first, then $(.test). Thats all i can think, if that doesnt work, then i have no idea :P On 3/31/07, joomlafreak <[EMAIL PROTECTED]> wrote: thank you for your prompt reply. the code you wrote does work but only partly. I m

[jQuery] Re: How to select all but one

2007-03-31 Thread joomlafreak
thank you for your prompt reply. the code you wrote does work but only partly. I mean the first animate for other divs works on other divs but the next animate instead of working only on the clicked div, also works on all three divs. Thanks again On Mar 31, 9:02 pm, "Matt Stith" <[EMAIL PROTECTE

[jQuery] Re: How to select all but one

2007-03-31 Thread Matt Stith
Try out .not, like: $('.test').click(function(){ $('.test').not(this).animate(ANIMATION_FOR_OTHERS); $(this).animate({left:'0'},'slow'); }); On 3/31/07, joomlafreak <[EMAIL PROTECTED]> wrote: I am not a programmer by profession, but a surgeon and doing a lil bit of programming is my h