Wouldn't it be easier to name the images with the day ( 20010427.gif)
and then call them as src=/images/#dateformat(now(),'yyyymmdd')#.gif?

D
*************
Diana Nichols
Webmistress
http://www.lavenderthreads.com
770.434.7374

"One man's magic is another man's engineering." ---Lazarus Long


-----Original Message-----
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 10:53 AM
To: CF-Talk
Subject: Daily Image on Static Pages


All of my pages on the site are static.
I'm trying to change an image daily on a certain place on the navigation
bar with a CF schedule (by assigning a diffrent image to the same
name, every day).
Apparently, only people who hit REFRESH (or Ctrl+shift Refresh)
can see the diffrence, because the image is with the same name,
and close size...

what is the best way, if any, to make this image change, without
caching itself? (only itself, not the whole document..)

maybe by using something like this:
<img src=dailyimg.cfm>

and in the dailyimg.cfm put: CFOBJECT img src=/images/2105.gif?


--
Thanks,

Michael.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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