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 only.
hi :) you got to use $(this) in the function, $(this) addresses the link that's been clicked. $(this).addClass('collapsed').slideUp('slow'); what's the last toggle() for? :)