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

javascript in demo

Discussion in 'XenForo Pre-Sales Questions' started by moonfox, Aug 11, 2015.

  1. moonfox

    moonfox Member

    Is javascript disabled in demo? I am trying to test openx adserver call via javascript in sidebar template.

    Plain text and html is displaying fine.
  2. Jake B.

    Jake B. Well-Known Member

    Are you just inserting the code into the template? AFAIK nothing is disabled (other than installing add-ons/styles of course)
  3. moonfox

    moonfox Member

    Yes I am inserting into template after hook.

    It may be the code needs to be on same domain. It's been so long since I set it up.
    Last edited: Aug 11, 2015
  4. Claudio

    Claudio Well-Known Member

    Are you sure you don't have any extension blocking popups and ads? :cautious:
  5. Mike

    Mike XenForo Developer Staff Member

    There isn't any reason for something like that to be disabled. It's certainly possible that the ad code won't serve ads if you try to load them from a page outside of the allowed domain.
    moonfox likes this.
  6. moonfox

    moonfox Member

    I'm going with this since I tried it on another site of mine on another domain and it didn't work there either.

Share This Page