Hi
Had a good crack at this, quite a few articles around but I can't make sense of them. Any help appreciated.
When I click 'slide-toggle', I need 'slickbox' to expand, but ONLY that instance of 'slickbox' within 'slide' (i.e. there is more than one slickbox element on the page).
I have tried to use this to denote that it should only expand the relevant div, but not working so far. Thanks :)
My html:
<div class="slide">
<a class="slick-toggle" href="#">Toggle the box</a>
<div class="slickbox">
<p>Hello</p>
</div>
</div>
My jquery:
$('a.slick-toggle').click(function() {
$('.slickbox',this).slideToggle(400);
return false;
});