Forums

This topic is locked

Make a Table Row a Hyperlink

Posted 16 Jul 2002 16:08:12
1
has voted
16 Jul 2002 16:08:12 Vince Baker posted:
I want to make an entire row a hyperlink on mouse over......

Cant get it to work.

Any ideas?

Vinny



Edited by - bakerv on 16 Jul 2002 16:08:41

Replies

Replied 16 Jul 2002 16:47:20
16 Jul 2002 16:47:20 Paul Gannon replied:
there are a few ways of doing this, the simplest is by putting you anchor tag outside the table row tag like so

<pre id=code><font face=courier size=2 id=code>&lt;a href="page.asp"&gt;&lt;tr&gt;&lt;td&gt;content&lt;/td&gt;&lt;/tr&gt;&lt;/a&gt;
</font id=code></pre id=code>

or you could use the Javascript event 'onClick' to make the window change on clicking the table row
Replied 16 Jul 2002 17:18:38
16 Jul 2002 17:18:38 Vince Baker replied:
thanks

Reply to this topic