Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show hide layer and ns

Status
Not open for further replies.

Curisco

Programmer
Joined
Feb 6, 2002
Messages
90
Location
SE
howdy folks,
hopefully a quick question for you all.

why does this not work in ns ???

the code is below but here is the link.

Thats all folks

<DIV ID=&quot;Sub1&quot; STYLE=&quot;position:absolute; left:36px; top:24px; width:178px; height:37px; z-index:2; visibility:visible&quot; onMouseOut=&quot;MM_showHideLayers('Sub1','','hide')&quot; onMouseOver=&quot;MM_showHideLayers('Sub1','','show')&quot;>
<P ALIGN=&quot;LEFT&quot;><BR>
<FONT FACE=&quot;Verdana, Arial, Helvetica, sans-serif&quot; SIZE=&quot;1&quot;><A HREF=&quot;#&quot;>PAGE 1</A>  |
<A HREF=&quot;#&quot; onClick=&quot;MM_showHideLayers('Sub1','','hide')&quot; onMouseOver=&quot;MM_showHideLayers('Sub1','','show')&quot;></A><A HREF=&quot;#&quot; onClick=&quot;MM_showHideLayers('Sub1','','hide')&quot; onMouseOver=&quot;MM_showHideLayers('Sub1','','show')&quot;>PAGE
2</A>  | <A HREF=&quot;#&quot; onClick=&quot;MM_showHideLayers('Sub1','','hide')&quot; onMouseOver=&quot;MM_showHideLayers('Sub1','','show')&quot;>PAGE
3</A></FONT></P>
</DIV>
 
By not working I assume you mean the &quot;page 1... &quot; layer shows when the page is first loaded. It doesn't work in IE either. You need to set layer &quot;sub1&quot; so that it is not initially visible. You can do that in the code (the first line) or by setting the attribute in the layers window.

I see some other problems. What are you trying to do exactly? Peace
BT
 
Hi, and thanks for your time.
After adjusting the visability for &quot;sub1&quot; every thing looks ok in ie but the problem still remains in ns.

what i would like is after the sub menu appears &quot;sub1&quot; i would like each subsequent link to open TWO frames, meaning i have a frameset of three, top row (nav) + bottom left (pic)and bottom right (text info).

The actual navigation is html stuff but before i get started i would like to know that ns viewers are still with us...
Thanks again
Ramsey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top