February 4th, 2001, 06:58 PM
Can someone tell me how to do this?
February 5th, 2001, 01:17 PM
<A HREF="#" onClick="hideit();">Mylink</A>
I think this works.
February 5th, 2001, 09:46 PM
Almost. You left this out:
<div ID="mydivid" style="position:relative;">
Without the position: attribute, Nav4 won't create a Layer object, the only element you can set visibility on.
Alternatively, use position:absolute. This may be in a style id, class, or inline as shown.
Absolute positioning uses the next outermost positioned element (Layer in Nav4) for its 0,0 point (it may be the document itself); relative positioning offsets the Layer from its normal position in the flow of the document. Nested elements position relative to the positions of their parent element.