I use to following js function:
function moveMenuItem(item,ymove,appname){
if(item != elementDown){
new Effect.Opacity('main', { from: 1, to: 0 });
new Effect.Move(item,{x:0, y: ymove, mode : 'relative'});
new Ajax.Updater('main_menu','include/'+appname+'/menu.html');
new Ajax.Updater('main_content','include/'+appname+'/
features.html');
if(elementDown){
new Effect.Move(elementDown,{x:0, y: 0, mode :
'absolute'});
}
elementDown = item;
new Effect.Opacity('main', { from: 0, to: 1 });
}
}
to see it in action: http://apps.v1ru8.net
now after the Opacity has changed back to 1 the div 'main' blinks
once. What can I do to remove that?
There is an other problem with the effect. When the moved items are
moved over the currently changing 'main' div. The moving div is behind
the flushing div. After the above described blink the moved div is on
top again. But I want it always on top. how can i change that order? I
tried to set z-index on the main div to -1 but that didn't helped.
thanks the help
Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---