Thanks Steve, that does make sense... mostly. I'm confused by the following:
> "index" could be changed to anything we like, as it is only for the
> purpose of passing a reference to the function.
What do you mean by this? Do you mean that I don't have to use the word
index? Like this:
$("a.open_button").each(function(index) {
$(this).click(function() {
$('div.section:eq(' + jQueryRocks +
')').slideToggle(1200,function() {
complete(index);
});
return false;
});
});
I'm not thinking that's what you meant. Otherwise, I think I understand
what you're saying.
Thanks,
Chris
--
http://cjordan.info
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/