Jump to content

Help with light box style overlay


rondog

Recommended Posts

Ok Here is my situation. I have a drop down menu that runs into my flash movie. I need to set my window mode for the flash movie to either opaque or transparent. The problem with that is, when I turn my overlay on, the flash movie is now behind the over lay. The flash movie needs to be the only thing on top of the overlay. I am trying to play with z-index to make the flash movie above the overlay but its not working. Any ideas?? Here is my code/css:

channelsswf is obviously my SWF and black/fader is my overlay.

<div id="mainbgholder">
  <div align="center" id="channelsswf">
    <script type="text/javascript">
        // <![CDATA[
        var so = new SWFObject("newCourse.swf", "vforum", "800", "370", "9", "#222222");
	so.addParam("allowfullscreen", "true");
	so.addParam("wmode","opaque");
	so.addParam("allowScriptAccess", "always");
        so.write("channelsswf");
        // ]]>
      </script>
  </div>
  <div id="black" class="fader"></div>
  <div id="bottombg"></div>
</div>

 

css:

#channelsswf {
z-index: 1002;
background: #222;
}
.fader {
display:none;
position:absolute;
top:0;
left:0;
width:100%;
height: 100%;
background-color: #000;
z-index: 1001;
-moz-opacity: 0.8;
opacity: .80;
filter: alpha(opacity=80);
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.