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
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to