Forums

This topic is locked

Hover opacity with table mouseover

Posted 02 Sep 2002 18:09:04
1
has voted
02 Sep 2002 18:09:04 mr fusion posted:
Hello people, i hope you could help me.

Im trying to make a fancy dropdown menu for our clansite and i just cant seem to solve a problem with the hovor colors for the menu.

people.zeelandnet.nl/mrvanwijck/home.htm

when you go to the "da crew" menu, you'll see that i used a half transparant gif for background so that the banner shines throught the table. Problem is because of the opacity, that some words are hard to read, so i wanted to use a hover effect for the tables so you can read the words better for which i used this code in the TD tag:

<td background="images/layout/menubacklijn.gif" onmouseover="this.style.background='#808080'"
onmouseout="this.style.background='#DDDDDD'">

Problem is that i can use a onmouseover color (grey for example) but with the onmouseout effect i just want the tablebackground image to be show, so that no color is taking away the opacity when you leave the specific column like now. I tried to use the no-color code (#FFFFFF) or removed the whole onmouseout line, but then the onmouseover color just stays there.

Could anyone please help me with this? I would me much much gratefull. <img src=../images/mxzone/forum/icon_smile.gif border=0 align=middle>

P.S: I know it can be done with CSS, but isnt there something easier? Im quite a noob. <img src=../images/mxzone/forum/icon_smile_wink.gif border=0 align=middle>

<i>"Ipsa scientia potestas est"</i>
[size=1]<b>-Francis Bacon</b>[/size]

Replies

Replied 23 Sep 2002 04:55:27
23 Sep 2002 04:55:27 fred deaton replied:
time to learn CSS!

Reply to this topic