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

Controlling the position of a popup (help)

Discussion in 'XenForo Questions and Support' started by TNCclubman, Feb 7, 2011.

  1. TNCclubman

    TNCclubman Well-Known Member

    Here's the CSS for a fade in popup (in a layer). My problem is that flash banners are showing up through the popup and affecting the readability of the graphic on that popup. Basically the popup is coming in right in the center of the page. If I can get the popup to come up on the left of the browser window, it will avoid the flash banner.

    Or is there a code I can add to the window to not allow flash content to show through?

    Code:
    #fa {
        background: #000;
        text-align: center;
        font-family: Arial,sans-serif;
        padding: 10px;
        width: 800px;
        border: 2px solid #666;
        position: absolute;
        margin: 0 auto;
        top: 50px;
        display: none;
        opacity: 0;
        KHTMLOpacity: 0;
        filter: alpha(opacity=0);
        -moz-opacity: 0;
        z-index: 1000;
    }
    
    #fa a {
        text-decoration: none;
        border: none;
        font-size: 9px;
        color: #333;
    }
    
    #fa img {
        border: none;
    }
    
    #fa .fa_close {
        position: absolute;
        top: 5px;
        right: 5px;
    }
    
    #fa.show {
        display: block;
    
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. TNCclubman

    TNCclubman Well-Known Member

    <param name="wmode" value="transparent">
     
  4. TNCclubman

    TNCclubman Well-Known Member

    Is this something I can add into the ad delivery system, or is this something the creator of the flash banners have to do before they send me the ready made flash banner?
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can add it directly to the embed code:

    http://kb2.adobe.com/cps/142/tn_14201.html

     
  6. TNCclubman

    TNCclubman Well-Known Member

    that only works if Im adding a static flash movie in the page via html. But what about if Im using an ad delivery script to deliver the flash ads? There is no way to add that.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    If you have control over the script then you should be able to modify the output. Otherwise I don't know how you would implement this.
     

Share This Page