• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xenOverlay obscured by advert despite huge z-index. Why?

Stuart Wright

Well-known member
#1
As you can see from the screen capture below, despite having a z-index of 2147483646, the overlay still appears under an advert.
I can't believe the advert has a higher z-index.
Is this a programming thing? Something to do with how the overlay layer works?

upload_2014-1-3_11-34-3.png
 

HWS

Well-known member
#4
This issue can only be solved by the advertiser who sends the Flash code.

Advertisers like to place their ads at top of everything and therefore intentionally send a certain command (wmode) in their Flash code to play the video of the ad at top of everything.

Google for example does not allow anything not even temporarily to be placed over their ads. This is why all Flash video ads by Google look like your example.
 
Last edited:

Mike Creuzer

Well-known member
#5
Hey Stu, thought I answered this question for ya a few months ago. The reason is, as @HWS says, due to to there essentially being no 'standard' for z-index values. People can use whatever number they want (afaik up to 32-bit signed, 2^31 - 1, aka a really big number :p) and so you never know what they are going to have.

If you bring this issue to Google's attention, the results wouldn't be good as they will say that your drop-downs should never show on top of ads, which to me isn't really fair but I didn't write their terms.