Hi, I tried to posted this in the Javascript section yesterday but it never
showed up.
I'm trying to make a graphic face out with scriptaculous.js and prototype.js.
Here's the script. The problem is when I comment out the alert - it doesn't
work. With the alert, it loops. Sequence of events desired when function is
called:
1. Fade object out
2. Wait until fade is complete
3. Remove object from the DOM (because it 's blocking any links below from
being clickable.
Code:
function fadeout(){
new Effect.Opacity("updateMessage", {duration:1.5, from:1.0, to:0.0});
setTimeout("fadeout()",2000); //wait for the effect to happen
alert('fadeoutset');
$('updateMessage').remove();
}
Question is.. what's wrong?? :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:265540
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5