bannersystem
hej,jeg skal lige have rettet lidt på dette script så der kun vises ET banner ad gangen:
<SCRIPT>
banner = new Array();
bannerImg = new Array();
bannerUrl = new Array();
bannerImg[0] = "banner01.gif";
bannerUrl[0] = "http://HereGoesURL1";
bannerImg[1] = "banner02.gif";
bannerUrl[1] = "http://HereGoesURL2";
bannerImg[2] = "banner03.gif";
bannerUrl[2] = "http://HereGoesURL3";
bannerImg[3] = "banner04.gif";
bannerUrl[3] = "http://HereGoesURL4";
function changeBanner(bnum) {
nummer = Math.floor(Math.random()*bannerImg.length);
document[("banner"+bnum)].src = bannerImg[nummer];
banner[bnum] = bannerUrl[nummer]
setTimeout('changeBanner('+bnum+')',30000);
}
function clickBanner(bnum) {
document.location.href = banner[bnum];
}
</SCRIPT>
/nof