I m using revealTrans filter for layer effect. And I want to execute one function after transition is done.
How do I know that revealTrans is complete?
Here is the function that I m using for layer effect.
function goright()
{
eval(’image’+count).filters[0].Apply();
eval(’image’+count).style.visibility = “visible”;
eval(’image’+count).filters.revealTrans.transition=7;
eval(’image’+count).filters[0].Play();
}
ou can set the time of the transition by putting it in the Play parenthesis
revealTrans.Play(reveal time in seconds)
and then using setTimeout set to the same
setTimeout(”function()”,reveal time in seconds)
revealTrans.Play(2) // 2 seconds
setTimeout(”function()”,2000) // 2 seconds
You are aware that revealTran is IE only?
Leave a reply