Flash and submenus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
henrik@itide.dk
Super Advanced
Super Advanced
Posts: 51
Joined: Thu Feb 27, 2003 9:47 am
Location: Denmark

Flash and submenus

Post by henrik@itide.dk »

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
wondernaut
Beginner
Beginner
Posts: 2
Joined: Mon Dec 01, 2003 11:00 pm

i dunno

Post by wondernaut »

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.
thanks,
shaun
wondernaut
Beginner
Beginner
Posts: 2
Joined: Mon Dec 01, 2003 11:00 pm

Ooops

Post by wondernaut »

I probably should've checked first.

http://milonic.com/forum/viewtopic.php?t=2983
thanks,
shaun
henrik@itide.dk
Super Advanced
Super Advanced
Posts: 51
Joined: Thu Feb 27, 2003 9:47 am
Location: Denmark

Post by henrik@itide.dk »

Hi All

I have now read

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
Post Reply