Now that cool jquery code! next take the guess work out of which id
you really want!
On 1/20/07, Joan Piedra <[EMAIL PROTECTED]> 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
> [email protected]
> http://jquery.com/discuss/
>
>
>
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/