You will have to wrap your "+" and "-" links in their own
DIVs then
hide/show them in your code.
On Apr 13, 4:39 pm, seran128
<jeff.webdevelo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> in by code I only want to display either Slideup if the div is
> expanded or Slidedown if the div is collapsed. Right now it shows both
>
> my code snippit
>
> <span id="ExpandColapse" >
> <a href="#"
onclick="Effect.SlideDown(''MyDiv'',{duration:
> 1.0}); return false;">+</a> |
> <a href="#"
onclick="Effect.SlideUp(''MyDiv'',{duration:
> 1.0}); return false;">-</a>
> </span>
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---