You could use something like...

background: url(../_hdrs/header.cfm);

and have header.cfm feed random images

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 18, 2006 4:09 PM
To: CF-Talk
Subject: Quick CF & CSS question.

I've got this line of code in a CSS file (default.css).

        background: url(../_hdrs/header1.jpg);

I'd like to change it to have a random image generated using something like
this

        background:
url(../_hdrs/header<cfoutput>#DayOfWeek(Now())#</cfoutput>.jpg);

How can I do this with a CSS file? Can this be done w/o changing the
extension to .cfm?

Thanks, Che




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250417
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to