开发者

Nav drop down not working in IE

开发者 https://www.devze.com 2023-02-02 11:01 出处:网络
Here I have a nav working perfectly in all browsers but IE. In IE(any version) when user hovers over \'about us,\' \'membership,\' \'classes,\'etc.... these words do not change to black text a开发者_

Here I have a nav working perfectly in all browsers but IE.

In IE(any version) when user hovers over 'about us,' 'membership,' 'classes,' etc.... these words do not change to black text a开发者_如何学运维s they should. It is not swapping out the image.

The javascript that is now in the li was in the a href previously but it needs to be in the li and im thinking a change in the script (im not too skilled with scripts yet) would fix this.

Any suggestions?


The mouseover event doesn't even fire when it gets added to the <li>. It fires when it's on the <a> inside of the <li>. Move the events there. Seems to work without changes to the js too.

0

精彩评论

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