Menus disappear in Safari browser with fixMozillaZIndex=true

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ToTheWeb
Beginner
Beginner
Posts: 5
Joined: Thu Mar 02, 2006 10:25 pm
Contact:

Menus disappear in Safari browser with fixMozillaZIndex=true

Post by ToTheWeb »

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]
Barry Brisco
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

study this sample, hope it helps

http://milonic.com/menusample14.php

Michael
ToTheWeb
Beginner
Beginner
Posts: 5
Joined: Thu Mar 02, 2006 10:25 pm
Contact:

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

Post by ToTheWeb »

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]
Barry Brisco
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

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

http://milonic.com/menumodules.php


Michael
ToTheWeb
Beginner
Beginner
Posts: 5
Joined: Thu Mar 02, 2006 10:25 pm
Contact:

Post by ToTheWeb »

Michael, thanks for the link to the "divhider module". I viewed the script shown at http://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.
Barry Brisco
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

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

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

the situation there is as follows:
Just before the referenced form

Code: Select all

< div id=formdiv1 name=formdiv1...>  <form>....</form> </div> 
is
put in operation, the diivhider.js is called.

Code: Select all

<SCRIPT language=JavaScript src="divhider.js" type=text/javascript></SCRIPT>
And if you look at this file it shows the code

Code: Select all

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
silknet01
Beginner
Beginner
Posts: 8
Joined: Mon Mar 06, 2006 7:55 pm

menu dropdowns hide behind flash objects

Post by silknet01 »

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.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

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
ToTheWeb
Beginner
Beginner
Posts: 5
Joined: Thu Mar 02, 2006 10:25 pm
Contact:

Post by ToTheWeb »

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
Barry Brisco
silknet01
Beginner
Beginner
Posts: 8
Joined: Mon Mar 06, 2006 7:55 pm

Post by silknet01 »

FYI - With regard to the menu overlapping issue I mentioned fixMozillaZIndex=true did the trick.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

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
ToTheWeb
Beginner
Beginner
Posts: 5
Joined: Thu Mar 02, 2006 10:25 pm
Contact:

Post by ToTheWeb »

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/shoc ... n=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/dow ... kwaveFlash" 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">');
}
Barry Brisco
Post Reply