Hi. I'm trying to create a pull down menu, but I'm not sure how to do
it using the link_to_function in my view. When the user clicks on the
select01.gif, the submenu on the side should display, else if should
be hidden. Any help please. Thank you.
Thanks. I also got this from the Internet, but I wonder if you or
anybody knows how I can get the value of an element after setting it.
The following will close a divider, but I want it to toggle so that if
the user clicks on the "Close" again, the menu will reappear. To do
that, I need to get the page[div].??? state of the divider somehow.
In the helper, I have
module VideosHelper
def hide_and_reset(div)
update_page do |page|
page[div].hide
end
end
end