1. 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?

Discussion in 'Troubleshooting and Problems' started by Stuart Wright, Jan 3, 2014.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    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?

  2. RoldanLT

    RoldanLT Well-Known Member

    I think @Audentio can answer that.
    The default .xenOverlay class doesn't have that z-index value.
  3. Stuart Wright

    Stuart Wright Well-Known Member

    No, I added it in an attempt to solve this issue.
  4. HWS

    HWS Well-Known Member

    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: Jan 3, 2014
    Dan likes this.
  5. Mike Creuzer

    Mike Creuzer Well-Known Member

    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.

Share This Page