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
[email protected]
http://jquery.com/discuss/

Reply via email to