• 13
• 18
• 19
• 27
• 10

# [web] onmouseover woes

This topic is 3888 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Internet Explorer 6.0 seems to have trouble responding to onmouseover events of table elements when they have an alpha value; the event is simply not fired a lot of the time. Here is my test case: Test Case . If you have any ideas on how I could get around this problem I would be grateful. I know that recent versions of Firefox and Opera have no trouble with this. edit: There is a small mistake on the test page - it says red instead of blue.

##### Share on other sites
Filters really shouldn't be used as they are IE only.

That said, for mouseover and mouseout events it's a whole lot easier to change the css class.

<head>	<title>Untitled</title><style type="text/css">  td.out {  	background-color:#ccff99;  }  td.over {  	background-color:#aaff99;  }</style></head><body><table>	<tr>		<td class="out" onmouseover="this.className='over'" onmouseout="this.className='out'">Your tekst here</td>	</tr></table></body></html>

Hope that helps