[thelist] Table Cell Color Mouseover

Erik Mattheis gozz at gozz.com
Thu Feb 28 15:33:32 CST 2002


>Note this technique doesn't work in NN 4, no matter what code you use.

this kinda works in NN 4:

function changeBG(id,color) {
   if (document.layers) {
     window.document.layers[id].bgColor = color;
   }

<td id="id1" style="position:relative"><a href="#"
onMouseOver="changeBG('id1','#ff0000')"
onMouseOut="changeBG('id1','#ffffff')">change</a></td>


--

__________________________________________
- Erik Mattheis

(612) 377 2272
http://goZz.com/

__________________________________________



More information about the thelist mailing list