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

javascript mousover

Status
Not open for further replies.

cill

Technical User
Jan 29, 2002
4
CA
I Am completely new to java but picked up the following piece of javascript to change the background color of a cell on a mouseover. Everything works great in Explorer on mac and pc, but navigator is not recognizing it on both platforms.

Is there anything I can do to alleviate this problem?

<td id=&quot;navCell&quot; bgcolor=&quot;#663399&quot; onMouseOver=&quot;this.style.background='#330066';&quot; onMouseOut=&quot;this.style.background='#663399';&quot;>Option</td>

The site is posted at Any help is greatly appreciated Thanks
 
BTW, Java is NOT the same as JavaScript.

This script should work fine on Netscape 6. As for Netscape 4, it would require so much more work that I don't think it would be worth it.

bluebrain.gif
blueuniment.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top