Background Image Swapper

This JavaScript automatically rotates through a set of background-images similar to a slideshow. Add as many background-images as you like. Great trick to animate your background. Easy configuration of swapping-speed and background-image.




Over 2000+ free Javascript
at JavaScriptBank.com Website
Configuration:

Step 1: Open your webpage. Paste the following code between the <head> and </head> tags of your webpage:




Step 2: Open your webpage. Go to to the top of the script and replace the filenames of our background-images with your own background-images (red code below):
var backgroundimage=new Array("bgimage1.jpg","bgimage2.jpg","bgimage3.jpg","bgimage4.jpg")
Add as many background-images as you like!

Step 3: Go to to the top of the script and configure the speed in seconds (red code below):
var swapspeed=2