You can do:

['array','of','ids'].each(function(e){ Effect.BlindUp(e) });

best,
thomas

Am 13.01.2007 um 20:02 schrieb [EMAIL PROTECTED]:

>
> Hi,
>
> I'm looking for an solution about how to use an effect on more than  
> one
> div at a time... For example: i've got 10 div (div1, div2, etc) if I
> click one of those divs I want any other opened div to close. I've
> already to solve it by using arrays but it won't work.
>
> <a onClick="Effect.BlindUp(alldivs); Effect.SlideDown 
> ('div1')">Div1</a>
>
> Thanks already,
> Gert-Jan
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to