Forum: Rails Spinoffs (closed, excessive spam) Problem Animating a menu

57a91067c99d11985aeb0f2c31884249?d=identicon&s=25 Zell (Guest)
on 2008-07-06 07:27
(Received via mailing list)
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
Ca3e484c121268e4c8302616b2395eb9?d=identicon&s=25 T.J. Crowder (Guest)
on 2008-07-07 18:04
(Received via mailing list)
All:

Please don't reply to this here; the OP has reposted it to the new
group:
http://groups.google.com/group/prototype-scriptacu...
--
T.J. Crowder
tj / crowder software / com
This topic is locked and can not be replied to.