Dynadot — .com Registration $8.99

Free banner rotation script

Spaceship Spaceship
Watch

pipsta

Account Closed
Impact
1
Hi people, i found this script on the internet today while browsing,

Its a banner rotation script, its free but you MUST leave the copyright intact...

Its not my code and im not any good with javascript really so dont pm me with question :)

The code:

<br><div style="text-align: center"><SCRIPT language=JavaScript>
/*
+---------------------------------------------------------+
| Ad Simple Copyright www.YugDesign.com |
+---------------------------------------------------------+
| This program may be used and hosted free of charge by |
|anyone for personal purpose as long as this copyright |
|notice remains intact. |
+---------------------------------------------------------+
*/

var img_width = "468";
var img_height = "60";
var img_title = "Visit Our Sponsors - Click Here";


var ad=new Array()
//insert here your images src
ad[0]='IMAGE LINK HERE';
ad[1]='IMAGE LINK HERE';
ad[2]='IMAGE LINK HERE';
ad[3]='IMAGE LINK HERE';
ad[4]='IMAGE LINK HERE';

var links=new Array()
//insert here your links
links[0]='LINK TO 1ST SITE';
links[1]='LINK TO 2ND SITE';
links[2]='LINK TO 3RD SITE';
links[3]='LINK TO 4TH SITE';
links[4]='LINK TO 5TH SITE';

var xy=Math.floor(Math.random()*ad.length);
document.write('<a href="'+links[xy]+'" target="_blank"><img src="'+ad[xy]+'" width="'+img_width+'" height="'+img_height+'" alt="'+img_title+'"></a>');
</SCRIPT>

Enjoy, rep is appreciated :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I use that script.. it don't rotate very well meaning its don't make sure all banners were showed the same amount of time

but over all a good script :)
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back