Oh, thanks. I didn't know about the afterFinish. Do you if they are
nestable? Could I do fade.afterfinish("do something").afterfinish("do
something else");? If so, how would that look syntactically.
On Sep 16, 12:06 pm, Matt Foster <[EMAIL PROTECTED]> wrote:
> I'd suggest using the afterFinish callback to hide the element.
>
> tr.fade({ afterFinish : function(fx){ fx.element.remove() } });
>
> http://github.com/madrobby/scriptaculous/wikis/core-effects
>
> On Sep 16, 6:51 am, ericindc <[EMAIL PROTECTED]> wrote:
>
>
>
> > I tried it with tr.remove( ) as well and it was still counted. This
> > behavior is seen in IE6. Perhaps I need to put a delay before the
> > function call to set the background colors?
>
> > tr.remove( ); // remove the row
> > // delay somehow
> > updateColors( ); // set the backgrounds
>
> > Thanks.
>
> > On Sep 16, 12:10 am, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
>
> > > Fade will just hide the row, you need to remove it as well.
>
> > > tr.fade({duration:0.5}); // fade the row
> > > Element.remove.delay(0.5, tr); // and remove it after the fade has
> > > completed
>
> > > -justin- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---