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:
Enjoy, rep is appreciated
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






