solomania9
Technical User
Hi All,
I'm making a navigation table, and when a user rolls over a cell, it turns red and when they roll off, it turns transparent again (so they can see the image underneath).
My code works fine, except in old versions of netscape, it doesn't recognize c.style.backgroundColor=''; as transparent. So, here's the script I currently have in the head:
function over(c)
{
c.style.backgroundColor='#990000';
}
function out(c)
{
c.style.backgroundColor='';
I'd like to have the "out" function call up a transparent gif as the background. How do I do this? I really don't know much about javascript.
Thanks for your help,
Mike
I'm making a navigation table, and when a user rolls over a cell, it turns red and when they roll off, it turns transparent again (so they can see the image underneath).
My code works fine, except in old versions of netscape, it doesn't recognize c.style.backgroundColor=''; as transparent. So, here's the script I currently have in the head:
function over(c)
{
c.style.backgroundColor='#990000';
}
function out(c)
{
c.style.backgroundColor='';
I'd like to have the "out" function call up a transparent gif as the background. How do I do this? I really don't know much about javascript.
Thanks for your help,
Mike