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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE/NN question

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
Hello again, my super knowlegeable freinds!

I have this cool code to use a navigation "console" I guess you'd call it that...anyway, it works like a charm in IE, but doesn't work at all in NN. Is there any way to make it work for both? Here's the code:

...<tr>

<td border=&quot;0&quot; bordercolor=&quot;000000&quot; width=&quot;150px&quot; onMouseOver=&quot;id0.style.visibility='';&quot; onMouseOut=&quot;id0.style.visibility='hidden';&quot; id=&quot;lnk&quot; align=&quot;center&quot;>About Us</span></td>
<td border=&quot;0&quot; bordercolor=&quot;000000&quot; width=&quot;153px&quot; onMouseOver=&quot;id1.style.visibility='';&quot; onMouseOut=&quot;id1.style.visibility='hidden';&quot; id=&quot;lnk&quot; align=&quot;center&quot;>Products</td>
<td border=&quot;0&quot; bordercolor=&quot;000000&quot; width=&quot;153px&quot; onMouseOver=&quot;id2.style.visibility='';&quot; onMouseOut=&quot;id2.style.visibility='hidden';&quot; id=&quot;lnk&quot; align=&quot;center&quot;>Services</td>
<td border=&quot;0&quot; bordercolor=&quot;000000&quot; width=&quot;152px&quot; onMouseOver=&quot;id3.style.visibility='';&quot; onMouseOut=&quot;id3.style.visibility='hidden';&quot; id=&quot;lnk&quot; align=&quot;center&quot;>Contact</td>
<td border=&quot;0&quot; bordercolor=&quot;000000&quot; width=&quot;152px&quot; onMouseOver=&quot;id4.style.visibility='';&quot; onMouseOut=&quot;id4.style.visibility='hidden';&quot; id=&quot;lnk&quot; align=&quot;center&quot;>Policies</td>
</TR>
<TR style=&quot;z-index:2;position:absolute;&quot;>
<td border=&quot;0&quot; width=&quot;150px&quot; id=&quot;id0&quot; onMouseOver=&quot;this.style.visibility='';&quot; onMouseOut=&quot;this.style.visibility='hidden';&quot; style=&quot;visibility:hidden;background-color:#e8a8d8;&quot;align=&quot;center&quot;><a href=&quot;who.html&quot;>Who</a><br><a href=&quot;what.html&quot;>What</a><br><a href=&quot;how.html&quot;>How</a><br><a href=&quot;when.html&quot;>When</a></td>
<td border=&quot;0&quot; width=&quot;153px&quot; id=&quot;id1&quot; onMouseOver=&quot;this.style.visibility='';&quot; onMouseOut=&quot;this.style.visibility='hidden';&quot; style=&quot;visibility:hidden;background-color:#e8a8d8;&quot;align=&quot;center&quot;><a href=&quot;marketing.html&quot;>Marketing</a><br><a href=&quot;publishing.html&quot;>Publishing</a><br><a href=&quot;auctions.html&quot;>Auctions</a><br><a href=&quot;bus.html&quot;>Business</a></td>
<td border=&quot;0&quot; width=&quot;153px&quot; id=&quot;id2&quot; onMouseOver=&quot;this.style.visibility='';&quot; onMouseOut=&quot;this.style.visibility='hidden';&quot; style=&quot;visibility:hidden;background-color:#e8a8d8;&quot;align=&quot;center&quot;><a href=&quot;custom.html&quot;>Custom Advice</a><br><a href=&quot;wd.html&quot;>Web Design</a><br><a href=&quot;banners.html&quot;>Banners</a></td>
<td border=&quot;0&quot; width=&quot;152px&quot; id=&quot;id3&quot; onMouseOver=&quot;this.style.visibility='';&quot; onMouseOut=&quot;this.style.visibility='hidden';&quot; style=&quot;visibility:hidden;background-color:#e8a8d8;&quot;align=&quot;center&quot;><a href=&quot;sales.html&quot;>Sales</a><br><a href=&quot;support.html&quot;>Support</a><br><br></td>
<td border=&quot;0&quot; width=&quot;152px&quot; id=&quot;id4&quot; onMouseOver=&quot;this.style.visibility='';&quot; onMouseOut=&quot;this.style.visibility='hidden';&quot; style=&quot;visibility:hidden;background-color:#e8a8d8;&quot;align=&quot;center&quot;><a href=&quot;policies.html&quot;>The<br>small<br>print<br></a></td>
</TR>....

Thanks fer da help!

--Rich
 
I guess you mean NN4.
Please remember that Mozilla/Netscape 6 and above has nothing in common with NN4, it's completely different browser (much better one).

In order to make it work in NN4 there are so many changes needed, that you better find another script.
I recommend you to look at There are one of the best menu scripts (show/hide - this is what you need) I saw - powerful, small and relatively simple.

In general, I recommend to use only standard DOM scripting to make your works cross-browser. You'll need to make additional efforts for NN4.x as it doesn't support DOM offered by W3C (like IE4, by the way).

But you can be sure that it will suit for IE5+, Opera5+ (except dynamic content change) and all Gecko-based browsers: Mozilla, Netscape 6+, ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top