Of course the easiest way to use these banners is to simply link to the url of an existing randomiser.
Chris Airriess has set up a randomiser that people can link to if they like.
Here's the html:
<a href="http://www.linux.org/" target=main> <img src="http://www.adrcomp.com/banners/linuxban.cgi" alt="Linux Rocks!" border=0></a>
A banner randomiser written in Javascript can be included in any web page, and the client (ie. the user's web browser) randomly chooses the banner to use.
Thanks to Darren Chamberlain for the following Javascript, which displays different banners depending on the time of day.
<SCRIPT LANGUAGE="JavaScript"> <!-- var timeNow=new Date(); var now=timeNow.getMinutes(); var banner; if(now<=11) banner="FreePower1.gif"; else if(now<=22) banner="Multi.gif"; else if(now<=32) banner="FreeSex.gif"; else if(now<=43) banner="Speed.gif"; else if(now<=53) banner="Future.gif"; else banner="Soul.gif"; var LinuxURL="http://www.vergenet.net/~conrad/banners/images/"+banner; document.write("<A href='http://www.vergenet.net/~conrad/banners/'>"); document.write("<IMG src="+LinuxURL+" width=468 height=60 border=0 hspace=5 vspace=5>"); document.write("</A>"); //--> </SCRIPT>
Pascal Tilgner has created a randomizer script. The script and some details on using it are available at:
The following information relates to using my older randomizer script. The difference is that Pascal's will randomly serve any banners in a given directory, whereas mine will serve only banners specified in a configuration file.
This is a fragment of html I use to access a cgi script which displays a random banner.
<a href="http://www.vergenet.net/~conrad/banners/"> <img src="http://cgi.cse.unsw.edu.au/cgi-bin/cgiwrap/conradp/banners/random_banner.pl" alt="Linux (Random Logo)" border=0> </a>Source code for setting up your own cgi randomiser is available at:
K's Place | Linux Stuff | Code
Maintained by conrad@vergenet.net. Last modified Thu Aug 3 2000 Developed on Linux.