Dookster Posted April 25, 2007 Share Posted April 25, 2007 I need this flyout menu to work with firefox it now only works with IE what am i doing wrong? ill post the code bellow <style type="text/css"> <!-- #nav, #nav ul { padding: 0; margin: 0; list-style: none; } #nav li { float: left; width: 25px; } #nav ul { position: absolute; width: 25px; left: -1000px; background: #DFDFDF; A:link {text-decoration: none} A:visited {text-decoration: none} A:active {text-decoration: none} A:hover {text-decoration: underline; color: red;} } #nav li:hover ul, #nav li.ie_does_hover ul { left: auto; } #nav a { display: block; } --> </style> <script language="JavaScript"> sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls.onmouseover=function() { this.className+=" ie_does_hover"; } sfEls.onmouseout=function() { this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); </script> i realy have no idea why it doesnt work. with best regards Dookster Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/ Share on other sites More sharing options...
benjaminbeazy Posted April 25, 2007 Share Posted April 25, 2007 yeah, i'm having tons of trouble with the complex PHP code in this... Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/#findComment-237886 Share on other sites More sharing options...
Dookster Posted April 25, 2007 Author Share Posted April 25, 2007 and this is only the javascript part you should see the rest Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/#findComment-237896 Share on other sites More sharing options...
benjaminbeazy Posted April 25, 2007 Share Posted April 25, 2007 my point is that this is a PHP HELP forum and this has absolutely nothing to do with PHP, your post goes here: http://www.phpfreaks.com/forums/index.php/board,6.0.html Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/#findComment-237898 Share on other sites More sharing options...
Dookster Posted April 25, 2007 Author Share Posted April 25, 2007 ok then i wil repost my question there thanks Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/#findComment-237919 Share on other sites More sharing options...
benjaminbeazy Posted April 25, 2007 Share Posted April 25, 2007 thanks Link to comment https://forums.phpfreaks.com/topic/48584-making-my-java-flyout-menu-work-with-firefox/#findComment-237920 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.