Quick and reliable ad-rotator

Share on Facebook1Share on Reddit0Tweet about this on TwitterShare on Google+0

In the course of my work, I’ve created and refined a simple ad rotator. It is built in JavaScript, and does not rely on any library, like jQuery, to function. ┬áIn my experience, it defeats ad-block, and loads easily on all mobile, tablet, and desktop browsers.

The rotator can be included multiple places on one page without any conflicts or collisions, so just drop-in where needed. Some coding is required to customize — basically copying and pasting your links and image urls, but nothing too heavy.

 

Share on Facebook1Share on Reddit0Tweet about this on TwitterShare on Google+0
  • Why are you including line 21 -> setting a variable never used?

    • mdjasper

      Hey, good catch — it was a copy & paste error.