Forum Moderators: not2easy

Message Too Old, No Replies

Need to give link to <tr> tag

         

yuvavel

4:53 am on Mar 31, 2009 (gmt 0)

10+ Year Member



I want to display a small table when i move mouse over the row of the existing table. I searched many place there is no option to have link for entire table row (i.e., i want to give link to <tr> tag)..

Some one please help me.

dreamcatcher

8:54 am on Mar 31, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe you can use javascript?

<tr onclick="window.location='index.html'">

dc

swa66

10:01 am on Mar 31, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [webmasterworld.com]

You can display things based on hovering over a any element with css. It's not the easiest thing to code, and trying it on a <tr> is going to add to the complexity. But it can be done. This doesn't need a click, just pointing the mouse over the element is enough.
It's done using the psueudo-class :hover

IE6 will not support :hover on anything but a <a> tag, but you can easily find scripted help for IE6.

No time right now, but will post an example later.

yuvavel

10:09 am on Mar 31, 2009 (gmt 0)

10+ Year Member



dear dreamcatchers and swa , thanks for ur info