Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:12

Menus disappear in Safari browser with fixMozillaZIndex=true


Poster: ToTheWeb
Dated: Thursday March 2 2006 - 21:35:29 GMT

I have implemented (and licensed) Milonic V 5.732 on the site at http://totheweb.com. Everything works great except in Mac Safari there is a conflict with the Flash file on the site homepage: the menu items disappear when they are located on top of the Flash area.

I have searched this forum for posts on this topic and find that it is important to use fixMozillaZIndex=true; in menudata.js and I have done that, but the problem persists. Others have said to use <param name="WMode" value="Transparent"> in the Flash object and I've done that also, problem persists.

Any other suggestions? Or is this just something we have to live with?

Thanks,[/url]


Poster: Migru
Dated: Thursday March 2 2006 - 21:38:48 GMT

Hi

study this sample, hope it helps

http://www.milonic.com/menusample14.php

Michael

same problem at www.bluestar-software.co.uk using Safari


Poster: ToTheWeb
Dated: Thursday March 2 2006 - 22:00:50 GMT

Michael, thank you. When I view http://www.bluestar-software.co.uk/ in Mac Safari I see the same problem as I described in my first post.

The only significant difference I could see between your menudata.js file and mine is that you set:

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;

instead of to zero, which is the default. But of course I don't want to make that particular menu visible, I only want my own menus to display.

[/url]


Poster: Migru
Dated: Thursday March 2 2006 - 22:13:35 GMT

Hi

suggestion is to make use of the "divhider module", you find here:

http://www.milonic.com/menumodules.php


Michael


Poster: ToTheWeb
Dated: Monday March 6 2006 - 17:02:36 GMT

Michael, thanks for the link to the "divhider module". I viewed the script shown at http://www.milonic.com/divhider.js

I am not a scripting expert, so I do not fully understand how to implement this. What changes do I need to make to the page at http://totheweb.com to make this script work? Should I add divhider.js to the HEAD tag, or can I place it in my /scripts/ directory?

Thanks.


Poster: Migru
Dated: Monday March 6 2006 - 17:49:21 GMT

Hi

I´ve not really made use of it. But,
if you have a look at the menusample14

http://www.milonic.com/menusample14.php (Source code)

the situation there is as follows:
Just before the referenced form
Code:
< div id=formdiv1 name=formdiv1...>  <form>....</form> </div>
is
put in operation, the diivhider.js is called.

Code:
<SCRIPT language=JavaScript src="divhider.js" type=text/javascript></SCRIPT>

And if you look at this file it shows the code

Code:
M_hideMenus = "Samples->formdiv1;milonic->formdiv1;"



where "Samples" is the name of a submenu, formdiv1 the id or name of the object to hide and "milonic" too is the name of a submenu.


That is the way how it seems to works.

Michael

menu dropdowns hide behind flash objects


Poster: silknet01
Dated: Monday March 6 2006 - 19:07:57 GMT

I don't know if this is related to this issue here or not but throught it sounded similar enough.

I recently upgraded from 5.04 to the latest version. Ever since then in non-IE browsers, dropdown menu items are hidden whereever a flash object (i.e. a flash banner ad) appears below the horizontal menu. It worked fine before the upgrade from 5.04.

I've also had users complain that our site is now significantly slower as a result of the menu upgrade. I had users go to identical pages one with and one without the menu and was able to determine the menu was the problem. I've backed out of the upgrade as a result.


Poster: Migru
Dated: Monday March 6 2006 - 21:29:45 GMT

Hi silknet01

my main problem is, I´m neither using SAFARI nor MAC and that is why for me it is rather difficult to reproduce or comprehend those problems- or even understand some of them. When I start standard browsers like FF or IE, in a Windows environment, those links given above demonstrate an excellent working page with an excellent working menu. ..........

If you are complaining, and operating your menu based on a prof. license, then I feel you should contact Milonic (see main menu), but one fact - please is definite, this is not the place for complaints, as this is a forum from users for users - so its difficult for a user - if another user is complaining. I´m sorry, but nobody here is the correct consignee for a complaint.

Michael


Poster: ToTheWeb
Dated: Monday March 6 2006 - 22:47:29 GMT

Migru, as the person who started this thread, I want to make clear that I am not "complaining", I am merely asking for assistance from other users who are quite likely to have encountered the same problem I have: menus disappearing when they load over a Flash area in the Mac Safari browser.

Asking for assistance does not equal "complaining".

Thanks to all who have replied offering ideas and assistance,

Barry Brisco


Poster: silknet01
Dated: Monday March 6 2006 - 22:55:45 GMT

FYI - With regard to the menu overlapping issue I mentioned fixMozillaZIndex=true did the trick.


Poster: Migru
Dated: Tuesday March 7 2006 - 0:16:51 GMT

Hi Barry

yes of course, but what I wrote on "complaining" wasn´t certainly meant for you. I like to assist wherever its possible and whenever I find time to do so.
In this case it would be much better for me to have a Mac and the said Safari browser, but I´m sorry both I don´t have.
Maybe someone else has an additional suggestion to contribute to this ?
Are you sure, fixMozillaZIndex=true; in your case didn´t help?

Michael


Poster: ToTheWeb
Dated: Tuesday March 7 2006 - 14:49:23 GMT

Migru, thanks, I have tried fixMozillaZIndex=true; and it does not solve the problem in Mac Safari.

So yesterday morning I sent an email to Milonic Support, and have already received a reply: great service! They suggested adding:
<param name="WMode" value="opaque">

I have implemented that but the problem persists in Safari. I have also tried:
<param name="WMode" value="transparent">
without success.

Perhaps the problem is that I am using a script to detect if the user has Flash installed when they attempt to view my homepage at http://totheweb.com/index.html
That page contains this script call:
<script language="JavaScript" type="text/javascript" src="scripts/display_image.js"></script>

and here is the script (including the suggested addition from Milonic Support):

if (flash.installed) {
// do Flash stuff

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="761" height="169">');
document.write('<param name="movie" value="images/flash/home.swf">');
document.write('<param name=quality value=high>');
document.write('<param name="WMode" value="opaque">');
document.write('<embed src="images/flash/home.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="761" height="169"></embed>');
document.write('</object>');
} else {
// Flash is NOT installed. Do something else.
document.write('<img src="images/home/no_flash.jpg" width="761" height="169">');
}