Online solutions:
From:/?t=95109
(a) place Flash embedded script in <div> container (I use )[Put flash embed script into a div container]
(b) add wmode=transparent to Flash embed script [add wmode=transparent to flash embed script]
(c) set <div > container with z-index:-1; [Set the z-index of the outer container to -1]
(d) set <body> tag with style .. position:relative;left:0px;top:0px;z-index:0;
(otherwise Firefox does not accept negative z-index)
(e) set floating iframe in container with z-index: 99;[Set the zindex of the floating iframe in the container to 99]
(f) use CSS to position flashcontent and htmlcontent containers.[Use css to adjust the position of flash containers and html containers]
Other solutions are more common online and will not be explained. Here we will talk about how to solve the problem with the first solution:
var so = new SWFObject("", "flashId", "width", "height", "version", "background color");
//Set flash does not cover the div layer
("wmode", "opaque");
("flashcontent");
This setting can prevent flash from covering the div.
From:/?t=95109
(a) place Flash embedded script in <div> container (I use )[Put flash embed script into a div container]
(b) add wmode=transparent to Flash embed script [add wmode=transparent to flash embed script]
(c) set <div > container with z-index:-1; [Set the z-index of the outer container to -1]
(d) set <body> tag with style .. position:relative;left:0px;top:0px;z-index:0;
(otherwise Firefox does not accept negative z-index)
(e) set floating iframe in container with z-index: 99;[Set the zindex of the floating iframe in the container to 99]
(f) use CSS to position flashcontent and htmlcontent containers.[Use css to adjust the position of flash containers and html containers]
Other solutions are more common online and will not be explained. Here we will talk about how to solve the problem with the first solution:
Copy the codeThe code is as follows:
var so = new SWFObject("", "flashId", "width", "height", "version", "background color");
//Set flash does not cover the div layer
("wmode", "opaque");
("flashcontent");
This setting can prevent flash from covering the div.