solomania9
Technical User
I know that I can use a transparent gif and some image swapping to acheive this, but I'd really like to use cell colors to conserve bandwidth.
So far, I have this:
<SCRIPT language=JavaScript>
<!--
function over(c)
{
c.style.backgroundColor='#990000';
}
function out(c)
{
c.style.backgroundColor='#000000';
}
// -->
</SCRIPT>
...
<td onmouseout=out(this); onmouseover=over(this);>Cell</td>
...
But the problem with this (as you can see) is that the "out" state is black. Is there any way to make it transparent? I suppose I could do some "document.write" stuff to define the td attrubutes, but I'd rather not get involved with that because my Javascript is a bit shoddy.
Thanks for the help!
~Mike
So far, I have this:
<SCRIPT language=JavaScript>
<!--
function over(c)
{
c.style.backgroundColor='#990000';
}
function out(c)
{
c.style.backgroundColor='#000000';
}
// -->
</SCRIPT>
...
<td onmouseout=out(this); onmouseover=over(this);>Cell</td>
...
But the problem with this (as you can see) is that the "out" state is black. Is there any way to make it transparent? I suppose I could do some "document.write" stuff to define the td attrubutes, but I'd rather not get involved with that because my Javascript is a bit shoddy.
Thanks for the help!
~Mike