Background color in tables
Hello,
Does anyone know an easy way to change the background color of a cell of a table when you put the mouse over it? I can do it using onmouseover/onmouseout and image rollovers, but there has to be an easier/more efficient way (I would think). Thanks.
Bob
Mark Hensler posted this at 07:09 — 5th February 2001.
He has: 4,048 posts
Joined: Aug 2000
not that I know of
jonsteele posted this at 23:17 — 5th February 2001.
They have: 21 posts
Joined: Nov 2000
For a CROSSBROWSER tutorial, go here: http://www.wsabstract.com/javatutors/crossmenu.shtml.
This doesn't need images. If you use onmouseover/onmouseout with table cells it will only work in IE.
Jon.
Jon Steele -
EverySolution.com
Bob posted this at 23:43 — 5th February 2001.
They have: 117 posts
Joined: Feb 2000
Jon,
Thanks for your help! I got it to work great in IE. A whole lot better than image rollovers. Unfortunately, I have to have it work with both NS and IE, since I have some users with both browsers. I HATE browser incompatibilities!
Bob
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.