I am trying to use a jQuery selector (this) to get an image nested on the same level.
Just a syntax error, any help would be appreciated. Thanks!
$(this).addClass('on');
$(this img).slideUp('fast');
$(this img.accordionButtonActive).slideDown('fast');
I think you want the effect like this:
http://jsfiddle.net/expertCode/zBrhH/
using:
I changed some events too. Try it 😉