Hi
Im using Effect.Transitions.sinoidal to bring in a div with menu
options. Ive set the durattion time to .6 of a second
While the div is transitioning in , if the user mouseover another
javascript event there is a stutter in the transition event.
Is there a way to freeze all other javascipt events while until the
trasition is finshed
move function
moveRight : function(mvePan,xCo){
menuFrag.mveFlag = "r";
var myCallBack = menuFrag.toggleMenuImg("out");
if(menuFrag.scrollCnt >= menuFrag.maxScrollPans){
return false;
}else{
menuFrag.scrollCnt = menuFrag.scrollCnt + 1;
new Effect.Move(mvePan, {duration: .5,
x: xCo, y: 0, mode: 'relative',
transition: Effect.Transitions.sinoidal
},{queue:'front'}, {afterFinish:myCallBack});
new Effect.Appear('form1:menuFrag:menuButPan', { duration:
0.8 },{queue:'end'});
}
},
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---