Banner Rotater | JavaScriptSource

Banner Rotater

JavaScriptSource Staff Dec 5, 2008


Use this script to rotate your banner ads. Just set the images, URLs and the delay time. Timers can be set at different intervals. Very easy to implement.


  • Created by: Scragar

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: bannerRotator.js


Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response


Don't know what I am doing wrong, see I thought I followed the simple instructions. Can you help me? Thanks phyl

Phyllis Ingram Aug 25, 2015

That is generally controlled by the user's browser.

Lee Jan 16, 2009

Tried everything I know to have links open in new window.[br /][br /]I give up.[br /][br /]What's the snippet code and where does it go?[br /][br /]Thanks.

M. R. Lawrence Dec 5, 2008