Displaying 1 result from an estimated 1 matches for "furtherinfo".
2006 May 03
4
Simple Toggle Question
I''m having trouble with the toggle() function from prototype.
Basically I want the element hidden by default, and I can''t seem to do
it.
My code:
The CSS:
#furtherinfo {
dislplay: none;
}
The View:
<%= link_to_function(''Further Information'',
"Element.toggle(''furtherinfo'')") %>
<div id="furtherinfo">
<p>Hidden by default, hopefully.</p>
</div>
It works fine when I don'...