GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   banner rotator script (https://gfy.com/showthread.php?t=87463)

fozz 11-10-2002 07:47 PM

banner rotator script
 
Any suggestions where I can pick up a shareware/free banner script that doesn't require shtml? All of my pages are html so if you can help in anyway, I will greatly appreciate it.

It's bad enough that my Lions got fucking destroyed by the Packers, I don't want to have to configure my site again.

Thanks.

Vox 11-10-2002 07:54 PM

Here's a simple javascript, you can rotate as many banners as you want.

PHP Code:


<SCRIPT LANGUAGE="JavaScript">

<!-- 
This script and many more are available free online at -->
<!-- 
The JavaScript Source!! [url]http://javascript.internet.com[/url] -->

<!-- Begin
var how_many_ads 9;
var 
now = new Date()
var 
sec now.getSeconds()
var 
ad sec how_many_ads;
ad +=1;
if (
ad==1) {
txt="Click here to see my free pics ";
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/ryan.jpg";
width="240";
height="360";
}
if (
ad==2) {
txt="Click here to see my free pics ";
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/kaithlyn.jpg";
width="240";
height="360";
}
if (
ad==3) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/yvette.jpg";
width="240";
height="360";
}
if (
ad==4) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/connie.jpg";
width="240";
height="360";
}
if (
ad==5) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/tyra.jpg";
width="240";
height="360";
}
if (
ad==6) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/amber.jpg";
width="240";
height="360";
}
if (
ad==7) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/aimee.jpg";
width="240";
height="360";
}
if (
ad==8) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/darby.jpg";
width="240";
height="360";
}
if (
ad==9) {
txt="Click here to see my free pics "
url="http://ctc.amateurpages.com/cgi-bin/ctc/ctc.cgi?60708232";
alt="amateurpages.com";
banner="img2/dawn.jpg";
width="240";
height="360";
}
document.write('<center>');
document.write('<a href=\"' url '\" target=\"_top\">');
document.write('<img src=\"' banner '\" width=')
document.write(width ' height=' height ' ');
document.write('alt=\"' alt '\" border=0><br>');
document.write('<big>' txt '</big></a>');
document.write('</center>');
// End -->
</SCRIPT> 


darksoul 11-10-2002 09:41 PM

AddHandler server-parsed .html

darksoul 11-10-2002 09:49 PM

Here's a simple one in perl

#!/usr/bin/perl

open(IN,"banners.txt");

srand;
rand($.) < 1 && ($url = $_ ) while <IN>;

close(IN);
print "Content-type: text/html\n\n";
print $url;

iwantchixx 11-10-2002 10:13 PM

type this url in yoru brouser, clickign wont work

http://perfectteenpics.picturetrades.com/script.txt

then just view source

marty 11-10-2002 11:03 PM

ICQ me if you're looking for a time rotator script that can have as many as 60 banners including Flash


All times are GMT -7. The time now is 11:12 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123