Zer0Cam Posted August 26, 2007 Share Posted August 26, 2007 Well I have this site I developed for a teacher using HTML and some CSS included in the HTML the drop down menus work good in mozzila firefox but they don't work in IE and the teacher needs this I am sure theres a easy fix but I just can't figure it out maybe somebody here can help me? Website: http://web4j1.lane.edu/~conway/ Needs to work in IE Quote Link to comment Share on other sites More sharing options...
matthewhaworth Posted August 26, 2007 Share Posted August 26, 2007 <script language="javascript"> <!-- sfHover = function() { var sfEls = document.getElementById("side").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); --> </script> I think it's in your javascript.. Quote Link to comment Share on other sites More sharing options...
Zer0Cam Posted August 26, 2007 Author Share Posted August 26, 2007 Maybe so could you help me fix this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.