JavaScript Random Background Image


A script that displays a random background image each time the web page is reloaded, out of three.

Script Demo:




Demo


JavaScript Code:


Insert this code into <head> tags


Insert this code into <body> tags


Instruction:


Change the following text:

  • "BACKGOUND IMAGE1" - Image URL (http://www.website.com/image213.gif).
Webmaster » Web Programming » JavaScript » Image Effects » Random Background


 Related Links:

Home | Sitemap | Bookmark This Page
Sponsored Links