To generate income, or for other purposes, you may wish to rotate
sponsor banners on a given page. This script shows one way to increase the
logging "hit count" for your sponsors. If a visitor spends more than a
predetermined time on a given page, the sponsor banner is rotated in
place, and the text message is changed, as well. In addition, a changing
status line display is provided when the visitor rolls over the image or
message.
The sponsor display at page initiation is selected at random from your
sponsor list. (Hit Refresh Button to see how it works)
For this demonstration (below) three sponsors are used and the rotation is set very fast at
5 seconds. Your script engine script will write the time interval to your
specifications. Note also, banners must be put into the subdirectory specified below as 0.gif, 1.gif, 2.gif, etc.
Simply type Control-C or Apple-C to copy your script: