This is how I'd do it. There might be an easier way also.
var elements = $$('fade-in');
elements.each( function(element) {
  element.appear({ duration: 1.5 });
});

On Mar 3, 9:27 am, CaptainNoob <jacobl...@gmail.com> wrote:
> <ul id="menu">
>         <li id="nav_home" class="fade-in"><a href="/">Home</a></li>
>         <li id="nav_archives"><a href="/archives">Archives</a></li>
>         <li id="nav_contact" class="fade-in"><a href="/contact">Contact Me</
> a></li>
>         <li id="nav_google"><a href="http://google.com";
> rel="external">Google</a></li>
> </ul>
>
> ----------------------
>
> new Effect.Opacity('fade-in', { from: 0, to: 1, duration: 1.5 });
>
> Is it possible to fire scriptaculous effects with a class name rather
> than an ID? I tried putting $$('fade-in') , but that did not seem to
> work.
>
> Thank you for the help.
> Jacob

-- 
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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to