On 28.8.2006, at 7.19, itisnot_me wrote:

>
> ok need help. i looked into this but i can't figure it out. i am  
> trying
> to do a simple slide up/down with the same button. i don't know where
> or what to do with this code.

Why not use Effect.toggle [1]? With it you don't have to take care of  
the if block and it's been proven to work in all supported browsers.

//jarkko


[1] http://wiki.script.aculo.us/scriptaculous/show/Effect.toggle

>
>
> >

--
Jarkko Laine
http://jlaine.net
http://odesign.fi


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to