Discussing Html . Code , Software , other
Moderators: macek, egami, gesf
by Virtuoso » Sun Sep 14, 2003 4:52 am
How do you make it so when your mouse moves over the table, it will highlight it?
Also how do you make it so you can click any part of the table to goto a link.
-

Virtuoso
- php-forum Active User

-
- Posts: 268
- Joined: Mon Jul 21, 2003 7:05 am
-
by liquedus » Sun Sep 14, 2003 5:39 am
How do you make it so when your mouse moves over the table, it will highlight it?
styles
and there are plenty of examples on google about this topic....
-
liquedus
- php-forum Active User

-
- Posts: 266
- Joined: Tue Apr 08, 2003 5:18 am
- Location: Ottawa, Canada
-
by ruturajv » Sun Sep 14, 2003 9:33 pm
This requires OnMouseOver event
use a function or directly call for changing the background color of the table.
- Code: Select all
<td style="CURSOR:pointer; CURSOR:hand;" onClick="window.location.href='http://somelocation'" onMouseOver="this.style.background='#FFFFFF'" onMouseOut="this.style.background='#E4EAF2'">
-

ruturajv
- php-forum Super User

-
- Posts: 1280
- Joined: Sat Mar 22, 2003 9:42 am
- Location: Mumbai, India
-
Return to HTML Basics
Who is online
Users browsing this forum: No registered users and 1 guest