[jQuery] Re: stuck on a simple traversal problem - help!

2008-02-10 Thread ldexterldesign
wow - thanks for the quick replies guys. unfortunately i couldn't get any of your examples to work properly. i think more because of my lackluster description on what i was after exactly. my mate jesse (http://www.thefutureoftheweb.com/) stepped in and pushed me in the right direction regarding tr

[jQuery] Re: stuck on a simple traversal problem - help!

2008-02-10 Thread Karl Swedberg
On Feb 10, 2008, at 10:36 AM, ldexterldesign wrote: yo guys, screenshot here: http://www.ldexterldesign.co.uk/screenshot.jpg at present this jquery function adds the .collapsed class to ALL .articleBody's. i only want the button to function for the .articleItem in question only. i'm sensin

[jQuery] Re: stuck on a simple traversal problem - help!

2008-02-10 Thread Cloudream
$ (this).parent('div').prev('div.articleBody').addClass('collapsed').slideUp('slow'); On Feb 10, 11:36 pm, ldexterldesign <[EMAIL PROTECTED]> wrote: > yo guys, > > screenshot here:http://www.ldexterldesign.co.uk/screenshot.jpg > > at present this jquery function adds the .collapsed class to > ALL

[jQuery] Re: stuck on a simple traversal problem - help!

2008-02-10 Thread andrea varnier
On Feb 10, 4:36 pm, ldexterldesign <[EMAIL PROTECTED]> wrote: > yo guys, > > screenshot here:http://www.ldexterldesign.co.uk/screenshot.jpg > > at present this jquery function adds the .collapsed class to > ALL .articleBody's. i only want the button to function for > the .articleItem in question o