View Full Version : Z-Index problem?
Abus
April 4th, 2005, 02:22 AM
In a web page i used pull down menu.menus are javascript and i put them in divisions.But when i put a flash under them the flash overcomes the menu although i put the z-index's correctly,How can i solve this probem?
G
April 4th, 2005, 06:45 AM
post your code.
λ
April 4th, 2005, 06:53 AM
I think Flash always comes top of the stack, and there's nothing you can do about it iirc.. :(
G
April 4th, 2005, 08:30 AM
^^^ yeh but I'm pretty sure you can use some JS in conjunction with CSS to get over that. Can't find a tutorial for it though.
Also maybe you should look at DHTML for this.
Abus
April 4th, 2005, 10:12 AM
^^^ yeh but I'm pretty sure you can use some JS in conjunction with CSS to get over that. Can't find a tutorial for it though.
Also maybe you should look at DHTML for this.
with CSS you mean Style Index's right?I use them and i am sure that i use it correctly.But flash overcomes everything.I am just stuck.Searching the net 4 tutorials.And hoping a solution to exist from kirupa?
simplistik
April 4th, 2005, 10:18 AM
Umm... well... z-indexing ONLY works with absolute positioning. If you're not using absolute it will by default be over the HTML. I could be wrong, but it doesn't sound like you aren't using absoulte positioning.
G
April 4th, 2005, 12:29 PM
I'm pretty sure absolute positioning doesn't make a difference. Just in case:
div#test {
position: absolute;
top: 10px;
left: 10px;
width: 300px;
border: 1px solid #CCCCCC;
background-color: #EFEFEF;
z-index: 10;
}
I'm not at home at the moment so I don't know if it will work but thats the basic outline of a div/layer that uses z-indexing - still I'm pretty sure that the flash movie will shine through this.
simplistik
April 5th, 2005, 03:05 PM
HAS to be absolute, don't have to take my word for it... but you have to take W3s :P:
http://www.w3schools.com/css/pr_pos_z-index.asp
you can get the html to appear over the flash w/ z-indexing if you use
<param name="wmode" value="transparent">
and
wmode="transparent"
on your flash movie. that'll do the trick ;)
simplistik
April 5th, 2005, 03:15 PM
Oh actually... sorry to post in two post but I just wanted you to see it... you can get the html to appear over the flash w/ z-indexing if you use
<param name="wmode" value="transparent">
and
wmode="transparent"
on your flash movie. that'll do the trick ;)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.