You can do this quite easily in JavaScript so long as you don't mind
having to wait for all the images to load when you first open the page.

I thjink you would use a timeout which reassigns the SRC attribute of the
<IMG> element every n seconds, looping over an array of the image names.

Nick

-----Original Message-----
From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 2:15 PM
To: CF-Talk
Subject: Refreshing images without refreshing page


I'm putting together an application for a client that includes banner ads.
They are interested in setting it up so that an ad rotates every 30 or 45
seconds on a page while a viewer is reading it. So that in the span of 5
minutes or so, a banner would rotate 8 or 9 times without any refresh of the
entire page.

Anyone come up with a good way to handle this type of thing?

Thanks,
Paul Sinclair


**********************************************************************
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**********************************************************************

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to