JavaScript Random Banner Script


JavaScript that will load a random banner with the corresponding link. It allows you to show your customers unlimited and automatic change of the banner ads on your site.

Script Demo:




Demo


JavaScript Code:


Insert this code into <head> tags


Insert this code into <body> tags


Instruction:


Change the following text:

  • img0="IMAGE-URL1"; - Image URL channels.
  • lnk0="http://WWW.WEBSITE1.com"; - Target website URL.
  • alt0="ALTERNATIVE TEXT1"; - Alternative text to show if image can't be displayed.
  • len=3; - The number of banner ads.
Webmaster » Web Programming » JavaScript » Image Effects » Random Banner Script


 Related Links:

Home | Sitemap | Bookmark This Page
Sponsored Links