emma85
08-15-2002, 06:03 PM
howdy!
I was thinking about this Table Menu.
Two functions handle it.
- movein(which){which.style.background='color1'}
- moveout(which){which.style.background='color2'}
I address those with the following line:
<td class="menu" id="c1" style="background-color:color2; cursor:hand" onmouseover="movein(this)" onmouseout="moveout(this)">
<a href=bla bla bla...>
my question:
when moveout() the menu takes the predefined color (color2), the color it also had before movein().
but how can I change this so that the menu appers transparent (to the background picture) till I start moving the curser in and out?
yepp, thats it!
//Emma
I was thinking about this Table Menu.
Two functions handle it.
- movein(which){which.style.background='color1'}
- moveout(which){which.style.background='color2'}
I address those with the following line:
<td class="menu" id="c1" style="background-color:color2; cursor:hand" onmouseover="movein(this)" onmouseout="moveout(this)">
<a href=bla bla bla...>
my question:
when moveout() the menu takes the predefined color (color2), the color it also had before movein().
but how can I change this so that the menu appers transparent (to the background picture) till I start moving the curser in and out?
yepp, thats it!
//Emma