Hover function ?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
ampersand
Forum Commoner
Posts: 54
Joined: Thu Nov 28, 2002 2:00 am
Location: Norway

Hover function ?

Post by ampersand »

How can I make a whole table row in another color when hovering just one column ?

I have tried with CSS but I just highlights the column I'm hovering, not all the other in the same row..
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

Use onMouseOver in the <tr>.
http://www.javascripts.com has scripts like this.
User avatar
DoraBear
Forum Newbie
Posts: 3
Joined: Tue May 20, 2003 10:10 am
Location: China

Post by DoraBear »

The best example of your question is phpMyAdmin,
you can study its code.
You can see it when you're browsing a table or so.
Post Reply