RE: ad rotator script
by "Micah R. Condon" <micahc(at)webdezyne.com>
|
| Date: |
Wed, 16 Jan 2002 21:00:43 -0700 |
| To: |
<hwg-techniques(at)mail.hwg.org> |
| In-Reply-To: |
baylogic |
| |
todo: View
Thread,
Original
|
|
instead of using a server push, try this:
<script>
// set interval to rotate ad every 45 seconds
setInterval(45000,rotateAd());
function rotateAd() {
document.images[0].src = http://somewhere.com/fetchAd.cgi;
}
</script>
-----Original Message-----
From: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Robert Clendaniel
Sent: Wednesday, January 16, 2002 6:05 PM
To: hwg-techniques(at)mail.hwg.org
Subject: ad rotator script
We have a banner ad rotator script on a site of ours, but it is
the sort which displays one ad per page visit; it does not cycle
the displays of images while the user views the page.
The client is now indicating they want something that will do
this - in other words, different banners will appear even if the
user does nothing but stare at the screen; perhaps using a
server-push kind of approach. Our server is running Apache on
FreeBSD Unix.
We need to retain the common format logging if possible; we
definitely need to have logging. Can anyone recommend something?
I much prefer the wise counsel of folks hereabouts to my aimless
poking about in the DHTML repositories.
Robert L. Clendaniel
BayLogic Internet Marketing Inc.
robert(at)baylogic.com
http://www.baylogic.com/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.