[thelist] onclick in table row

kris burford kris at midtempo.net
Tue Jan 27 04:16:34 CST 2004


hi all,

i posted this last week and am still trying to work out the best approach. 
if anyone has any ideas, they'd be most welcome...

>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




More information about the thelist mailing list