HTML & CSS
Check out this page:
In it you'll see flash player that I'm resizing. When you click the "lights out" option underneath th video player (to the right underneath it), IE8 and FF and Chrome all do great. The video expands, a black covers the browser window and some extra parts of the site, and you can still see the video player. (you can push the light bulb in upper right corner to go back to normal viewing)
I know ie7 has a z-index bug, and it's obviously not listening to the z-index of 5000 that the div has that's holding the player. How can I get ie7 to respond like the other browsers?
Hi, first lemme say, that page is a nightmare to debug. I almost cried when I saw the massive inline styles .
The outer parent needs the z-index applied
However that will show the entire rest of the page so you may wanna rethink the structure. I'm afraid to even touch the code because someone can get lost very easily on all the messy code you have.
lol. Yeah, I got a ton of sh*t going on. Doing the z-index causes an appearance, but the whole body.
The idea of the black background is to "lights out" everything, so it mimics flash fullscreen, but doesn't use all the flash fullscreen resources; enabling slower computers to enjoy bigger video.
Since the java appends it to body, it means it is practically the last element on the page, and ie7 and earlier versions automatically give z-index priority to elements that come last; unless each and every element has a z-index given to it.
In ie7, the flash can't even expand out of left column -- though I have overflow: visible -- without the right column getting a lower z-index. I've tried changing the z-index on each, but then it causes the black to cover everything up in all other browsers too.
I might just disable the expand function (maybe a java alert) if the user is running any IE version but 8.x
You need to renest the <object> outside of the .mainbg div. Since the outer parent needs it you need to get the object outa there. Or else everything in there will be on top :).
I have to run to bed now since I'm already gonna get no sleep for tomorrows busy day, but hopefully someone else can chip in if you haven't gotten this solved