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

Rotating headers ads?

Discussion in 'Styling and Customization Questions' started by Neil E., Dec 9, 2012.

  1. Neil E.

    Neil E. Active Member

    Have a look at this test site http://www.odsc.on.ca/.xenforo/index.php
    I've installed the bd rotating ads 1.62 addon and I'm not getting very good results.
    I have 17 ads set to show one at a time, but sometimes they repeat instead of being random.
    Also they will go blank once in a while. The worst part is that the header occasionally flashes default XF blue on a page load.
    The HTML and CSS are in post #85

    Are there any better ways to create a simple rotating ad?

    Other suggestions?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. Neil E.

    Neil E. Active Member

    Thanks for pointing me to right tool for the job. I got it set up and working with only a bit of head scratching.

    No link in the last one yet (sponsor site is not finished).
    The target=_blank worked great for opening the link in a new window.
    I uninstalled that addon.

    One funky thing still occurs; that's the header background flashing default XF blue on a page load (random event).
    I doubt this has anything to do with your code as it also happened with the addon. My guess is that EXTRA is not
    quite right and somehow the default color does not get intercepted as quickly as it should. Must be a specificity conflict
    although it only flashes blue for about 100ms.
  4. Neil E.

    Neil E. Active Member

    Adding some background color CSS to #headerMover #headerProxy looks to have corrected the color flash.
    Jake Bunce likes this.

Share This Page