PDA

View Full Version : Can SWFs in divs have zindex?



somnamblst
March 17th, 2007, 12:54 PM
I have

#player { position:absolute; top:0px; left:800px; z-index:100; }
#content { position:absolute; top:0px; left:0px; z-index:1; }

but the SWF in player is not displaying above the SWF in content

simplistik
March 17th, 2007, 02:00 PM
you need to add wmode: transparent to your swf

somnamblst
March 18th, 2007, 03:34 PM
thnx simplistik

I had thought of transparency but hadn't tried it. For whatever reason wmode=transparent also causes javascript drop down menus to deploy on top of transparent SWFs.

I have both files, player & masthead as transparent windowless, but the z-index of player has player on top of masthead. :P