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!

table: onmouseover onmouseout and onclick

Status
Not open for further replies.

JeroenB

Programmer
Apr 8, 2001
93
BE
Hi all,

I have a table consisting of 6 table cells (td's). I would like to do the following:

Change the color of a table cell when moving over the cell (onmouseover); change it back to the original color when moving out (onmouseout); and highlight the cell that is activated (after clicking). Only one cell can be activated at the same time. So, when clicking a second cell, the first should be reset to its orinigal color.

All of this should be done without refreshing the page. Any suggestions?

Many thanks
JeroenB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top