Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:40
firefox orientation up wrong first time mouseover
Poster: omnisite
Dated: Monday February 26 2007 - 11:23:08 GMT
Hi,
I have made 2 menus on 1 page, both table positioned. It works great in IE, but in Firefox I have 1 little problem. The top menu works fine, but the first time you go over a menu item at the bottom, the menu positions itself on top of the main menu. When you go over it again, it works fine.
Also when you first go over a menu item in the top and then go over the same item below, it works the first time.
I don't know if this is a Firefox problem or milonic problem. I did try and use an entire different script and that one also gave that "bug" on first mouseover. Example (don't go over the topmenu, try the bottom first otherwise you won't see the "bug"):
http://human.omroep.nl/index.php?pg=cntct
Sincerely,
Baris
Poster: omnisite
Dated: Tuesday February 27 2007 - 20:56:04 GMT
Hi everybody,
I made a page with only 1 menu with orientation up. In Firefox when you mouseover a menuitem (not home or contact) the first time it displays the menu on top of the menuitem, but if you mouseover again, it does work.
Is there a way to "emulate" a first mouseover? What is the first function is being called for example after mouseover?
You can see it here:
http://human.omroep.nl/index5.php
Poster: Ruth
Dated: Tuesday February 27 2007 - 21:32:53 GMT
Hi,
I've been testing this but it never happens on my desktop, even if I clear out the FF cache.
I can suggest a couple of things
1. try setting fixMozillaZIndex to true. I don't know if that will do anything.
2. try putting the menu in the table with the buildAfterLoad=true;
To do that, place the main menu back in the data file, no drawMenus() after it now since the file has it; add buildAfterLoad=true; at the top under the _subOffsetLeft=0;
Then put the calls for all the menu files into the table cell. Again, I don't know if that will fix anything.
Code:
<SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<NOSCRIPT><A href="http://www.milonic.com/">DHTML Menu JavaScript Menu Powered
by Milonic</A></NOSCRIPT>
<SCRIPT type=text/javascript>
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT src="menu_data5.php" type=text/javascript></SCRIPT>
<NOSCRIPT><A href="http://www.milonic.com/">DHTML Menu JavaScript Menu Powered
by Milonic</A></NOSCRIPT>
<SCRIPT type=text/javascript>
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT src="menu_data5.php" type=text/javascript></SCRIPT>
Ruth