My apologies, Joan, it does work. I had just changed the name of the
class. Schoolboy error.
Beautiful!
Thanks
SJ
On 21 Jan 2007, at 4:59, Joan Piedra wrote:
I think this should work. Not tested tho.
$("a.open_button").click(function() {
$(this).next('div.section').slideToggle(1200,function() {
complete(index);
});
return false;
});
Cheers
On 1/20/07, Steve Jones < [EMAIL PROTECTED]> wrote:
$("a.open_button").each(function(index) {
$(this).click(function() {
$('div.section:eq(' + index + ')').slideToggle(1200,function
() {
complete(index);
});
return false;
});
});
--
Joan Piedra || Frontend webdeveloper
http://joanpiedra.com/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/