rollOrDie Posted September 20, 2008 Share Posted September 20, 2008 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. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 20, 2008 Share Posted September 20, 2008 I might be wrong, but I think that Flash can't be z-index'd over. Quote Link to comment Share on other sites More sharing options...
haku Posted September 21, 2008 Share Posted September 21, 2008 I think I tried in the past, and wasn't able to figure out a way to do it myself. Quote Link to comment Share on other sites More sharing options...
departedmind Posted September 21, 2008 Share Posted September 21, 2008 I think setting wmode to transparent for flash object will work Quote Link to comment Share on other sites More sharing options...
bronzemonkey Posted September 21, 2008 Share Posted September 21, 2008 I think setting wmode to transparent for flash object will work This is what you need to do Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.