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: Thursday February 8 2018 - 06:02:18

Flash and submenus


Poster: henrik __at__ itide.dk
Dated: Monday December 1 2003 - 10:41:27 GMT

Hi

I have a problem with a flash movie on the site

http://www.recommended.com/?Id=2

on MAC SAfari, MAC IE, WIN Opera and perhaps other browsers. The menu is hidden by the flashmovie.

Any help ?

Thanks

Henrik

i dunno


Poster: wondernaut
Dated: Monday December 1 2003 - 22:03:17 GMT

i to have noticed that flash and shockwave objects always show over java objects. if anyone knows how to correct this, please let us know.

Ooops


Poster: wondernaut
Dated: Monday December 1 2003 - 22:12:50 GMT

I probably should've checked first.

http://www.milonic.com/forum/viewtopic.php?t=2983


Poster: henrik __at__ itide.dk
Dated: Tuesday December 2 2003 - 15:07:08 GMT

Hi All

I have now read

http://forum.milonic.com/viewtopic.php?t=2983

and tried Kevins code. It worked at the Windows platform but not on Mac. But after I changed function mm_setDivVisibility to the following it helped.

Code: Select all

function mm_setDivVisibility(divID, state)
{
  if (document.layers && document.layers[divID]) { // ns4
    //document.layers[divID].visibility = state ? "show" : "hide";
   document.layers[divID].display = state ? "block" : "none";
  }
  else if (document.all && !document.getElementById && document.all(divID)) { // ie4
    //document.all[divID].style.visibility = state ? "visible" : "hidden";
    document.all[divID].style.display = state ? "block" : "none";
  }
  else if (document.getElementById && document.getElementById(divID)) { // dom
  //document.getElementById(divID).style.visibility = state ? "visible" : "hidden";
     document.getElementById(divID).style.display = state ? "block" : "none";
  }
}


I still have a problem with Safari ! The flash movie dissapears but it does not return.

look at http://www.recommended.com/?Id=2

Any good ideas ?

Thanks

Henrik