Just put that line in your CFM file.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 3: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:250328
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