$
(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 .articleBody's. i only want the button to function for
> the .articleItem in question only. i'm sensing some parentage is in
> order?
>
> a nudge in the right direction would be appreciated,
> lewis

Reply via email to