Chains and delays

29 views
Skip to first unread message

Roo

unread,
May 23, 2013, 6:07:16 AM5/23/13
to mootool...@googlegroups.com
Hi all,

I think I must approach this differently everytime it comes up and everytime I'm never sure which is the 'preferred' way.

Basically I'll have a situation like this;

Select element
fade out element
when fade completes hide element (display none)

or perhaps it might be

select element
wait for n
fade out element
when fade completes remove element

Could someone perhaps give me the best method of achieving this.

Thanks
Rolf

Sanford Whiteman

unread,
May 27, 2013, 10:16:48 PM5/27/13
to Roo
Sorry to leave your post hanging... you might consult the official
demo code for chaining and delays -- http://jsfiddle.net/6YeKf/.

-- Sandy

Reply all
Reply to author
Forward
0 new messages