开发者

mouseover not working in ie6

开发者 https://www.devze.com 2023-04-06 20:33 出处:网络
I am using below code to call a div on hover,it is working fine on ie7+,ff and chrome, but not in ie6.

I am using below code to call a div on hover,it is working fine on ie7+,ff and chrome, but not in ie6.

<div class=开发者_JAVA百科"business-bottom-content" onMouseOver="javascript:this.className='business-bottom-content-hover';" onMouseOut="javascript:this.className='business-bottom-content'">


I'm not sure if it applies to onMouseOver as well, but :hover in CSS only works for a elements in IE6.

As for what you are trying to do, I would also recommend using :hover in CSS instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消