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 <[EMAIL PROTECTED]> 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 [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