Problem Animating a menu

1 view
Skip to first unread message

Zell

unread,
Jul 6, 2008, 1:26:47 AM7/6/08
to Ruby on Rails: Spinoffs
Hello Everyone.. i have a problem with prototyoe and scriptacoulous.

I have this code...

document.observe('dom:loaded',function(){
$$('.nav3-grid').each(function(el){el.hide(); });

$$('.first').invoke('observe','mouseover',function(){
$$('.nav3-grid').each(function(el){
if(el.visible()) Effect.SlideUp(el.id,{duration:.7});
});
Effect.SlideDown(this.next().id,{duration:.7});
});
});

And i have this problem, when i pass the mouse over all the .first,
all of the divs pop out one infront of the other one and it looks
horrible... how can i solve that?..if anyone knows, please tell me,
i'm new and im traying very hard to learn :D

Thanks

T.J. Crowder

unread,
Jul 7, 2008, 12:03:07 PM7/7/08
to Ruby on Rails: Spinoffs
All:

Please don't reply to this here; the OP has reposted it to the new
group:
http://groups.google.com/group/prototype-scriptaculous/t/dd6af11563a0fa36
--
T.J. Crowder
tj / crowder software / com
Reply all
Reply to author
Forward
0 new messages