Jump to content

Flash object z-index


rollOrDie

Recommended Posts

I have a navigation list that needs to appear above a flash animation, but it doesnt seem to be working!

 

Here is the code I have for it,

 

<div id="headInner">
      <div id="headFlash">
        <object type="application/x-shockwave-flash"
    data="flash/bgHeadInner.swf" 
    width="850" height="100">
          <param name="movie" 
    value="flash/bgHeadInner.swf" />
        </object>
      </div>
      <ul id="nav">
        <li><a href="../contact.php">contact</a></li>
        <li><a href="../portfolio.php">portfolio</a></li>
        <li><a href="../service.htm">services</a></li>
        <li><a href="../about.htm">about</a></li>
        <li><a href="../index.php">home</a></li>
      </ul>
      
      <br class="clear" />
    </div>

 

#nav {
    width:420px;
    position:absolute;
    bottom:0;
    right:5px;
    z-index:2;}
        
#nav li {
    display:inline;}
    
#nav a {
    width:70px;
    font-weight:bold;
    float:right;
    font-size:80%;
    margin-left:2px;
    padding:0 5px;
    color:#2597EB;
    text-decoration:none;
    background:url(../image/bgNavLi.png) no-repeat 0 100%;}

#nav a:hover, #nav a:active {
    background:url(../image/bgNavLiHover.png) no-repeat 0 100%;}
    

#headInner {
    width:850px;
    height:100px;
    margin:0 auto;
    text-align:left;
    background:url(../image/bgHeadInner.jpg) no-repeat 100% 0;
    position:relative;}

#headFlash {
    width:100%;
    height:100px;
    position:absolute;
    z-index:1;}

 

Does anyone know why the flash animation is still appearing above the navigation? In IE it seems to show the very bottom of the nav, but thats it!

 

I should also point out that the page looks right in Dreamweaver, but just not in any browsers!

 

Any help would be great! thanks.

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.