You are looking for link_to_remote that will give you the ability to
show/hide a div.

Here is an example to just show a div

link_to_function("show form", nil) { |page|
page.visual_effect :toggle_blind, 'form_div' }

If you want you can have a hide link inside the div that his hidden so
they can close the form again..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to