1.First step:
Make some nice banners (5/6..10/12 as you wish) and upload on the internet.
2.Second Step
copy the URL Address of the banners and paste them in notepad or any text editor. These URL address have to be inserted into the script that I am going to tell you.
3.third step
Find the code on your template HTML and Just below it paste the code.
var banner= new Array()
banner[0]="bannerURL0"
banner[1]="bannerURL1"
banner[2]="bannerURL2"
banner[3]="bannerURL3"
banner[5]="bannerURL5"
banner[6]="bannerURL6"
banner[7]="bannerURL7"
banner[8]="bannerURL8"
banner[9]="bannerURL9"
var random=Math.floor(10*Math.random());
document.write("
");
on the “banner url” use the different urls of your uploaded banner.
(You can customize the size of your header image according to your need, just define the height and width under #header code of your template to fit your banner.)
now save and preview.
Is it working? ENJOY.
Demo, visit merosandesh.com
Krishna Thapa