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

XF 1.4 Rotating banners in sidebar.

Discussion in 'XenForo Questions and Support' started by Okenyon, Aug 11, 2015.

  1. Okenyon

    Okenyon Active Member

    Hey guys, I have a banner in my sidebar however i'd like to rotate it on refresh, 50/50 is fine.

    Could anyone show me some simple HTML code I can use to do this please?
  2. Jeremy

    Jeremy Well-Known Member

    HTML doesn't have the capabilities to do what you ask. It will require some PHP or custom JavaScript coding to accomplish.
  3. Okenyon

    Okenyon Active Member

    Ok then is it possible to do with PHP within a sidebar widget? IF so what would the code be please?

Share This Page