sub-menu/popout is overwriting main menu/nav in IE6; any clues why? |
sub-menu/popout is overwriting main menu/nav in IE6; any clues why? |
jfioravanti |
Mar 12 2007, 09:16 AM
Post
#1
|
Group: Members Posts: 4 Joined: 4-October 06 Member No.: 329 |
Good Day All,
I've been working on developing the following site: http://www.neba.com/test_030807/ccissuers030807.htm For some reason, the sub-menu or popout is overwriting the main navigation button to which that sub-menu is associated. This only occurs when the pop-out is hidden. If you rollover the green section in the below link, you will get the pop-out and see the button that is supposed to be there at all times on the main navigation: "Product Services" I've attached a pdf of the CSS being used, and here is the javascript that is being run: // JavaScript Document sfHover = function() { var sfEls = document.getElementById("navleft").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); I know this has worked previously, and it works fine if there is only one button on the sub-menu or pop-out…? This also works correctly in Firefox, Netscape 8 and Opera. Only IE6 is having an issue. nebatest030807.pdf ( 19.53k ) Number of downloads: 1404 Any help or insights into this issue is greatly appreciated. Regards, Jeff |
jfioravanti |
Mar 12 2007, 11:00 AM
Post
#2
|
Group: Members Posts: 4 Joined: 4-October 06 Member No.: 329 |
Good Day Once Again,
I've just solved this issue and thank any and all for your time and efforts. Regards, Jeff |
Lo-Fi Version | Time is now: 28th April 2024 - 08:00 AM |