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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---