[thelist] onclick in table row

kris burford kris at midtempo.net
Wed Jan 21 03:45:52 CST 2004


[resend]

hiya,

i've some legacy code that is littered with tables containing onclick links 
in table rows and standard links in the td. (as below). it means the rows 
highlight nicely on mouseover (via css) but the client (on macs) say that 
the td links don't work.

<tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" 
onclick="document.location.href='foo.html">
<td><a href="bar.html">link</a></td>
</tr>

is there anything i can do that will solve this whilst still leaving them 
the row highlight effect (which they're expecting to keep)?

many thanks

kris

--
kris burford
midtempo ltd
http://www.midtempo.net



More information about the thelist mailing list