I have the code used here for you, and no you dont need MhW's permission, I am sure there is the same code somewhere else
๐
Code:
<script type="text/javascript">
<!-- Begin
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
function rnd() {
rnd.seed = (rnd.seed*9301+49297) % 233280;
return rnd.seed/(233280.0);
};
function rand(number) {
var result = Math.ceil(rnd()*number);
if (!result)result++;
return result
};
var ad_cnt1 = 10;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="1";
}
if (ad1==2) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="2";
}
if (ad1==3) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="3";
}
if (ad1==4) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="5";
}
if (ad1==5) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="5";
}
if (ad1==6) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="6";
}
if (ad1==7) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="7";
}
if (ad1==8) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="8";
}
if (ad1==9) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="9";
}
if (ad1==10) {
link1="LINK HERE";
adBanner1="PIC LINK HERE";
width1="WIDTH GOES HERE";
height1="HEIGHT GOES HERE";
alt1="10";
}
document.write('<script type="text/javascript" src="http://www.forumpromotion.net/banners/banner.js"></scr'+'ipt>');
// End -->
</script>
The only part you should edit are the lines of code that have wdith, height, link and pic link. To add more banners to the rotation, you can pretty much see the pattern. Put this script under </head> in overall_header.html