in reply to CGI combining javascript

Why not use CSS instead? It is as simple as:

<style> tr:hover { background-color: yellow } </style>

Update: Ahhh ... curse you IE!! ;) Perhaps this resource will be of use to you.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^2: CGI combining javascript
by Anonymous Monk on Nov 17, 2005 at 15:23 UTC
    i am using a css file which is imported at the top of the cgi script. The problem with tr:hover is that it only highlights columns not entire rows....in my case that is css below
    table { font: normal 76%/150% Geneva, Arial, Helvetica, sans-serif; border-collapse: separate; border-spacing: 0; margin: 0; color: #000; } table a { color: #005ba7; text-decoration: none; border-bottom: 1px dotted; } table a:visited { color: #444; font-weight: normal; text-decoration: line-through; } table a:hover { border-bottom: 3px solid; background-color: navy; } th { font-weight: bold; line-height: normal; padding: 0.25em 0.5em; text-align: left; } table tr:hover { background-color: #DFE7F2; color: #000000; } tr:hilite { background-color: #DFE7F2; color: #000000; }