If you really want to have it in Application.cfm you can also use
cfhtmlhead (that way you are not outputting direct display code, but
rather queuing some display code).

/H.


--
Hugo Ahlenius

-------------------------------------------------------------
Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
Project Officer                Phone:            +46 8 230460
UNEP GRID-Arendal              Fax:              +46 8 230441
Stockholm Office               Mobile:         +46 733 467111
                               WWW:       http://www.grida.no
------------------------------------------------------------- 






| -----Original Message-----
| From: Joe Rinehart [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, December 14, 2004 15:02
| To: CF-Talk
| Subject: Re: CSS filename in Application.cfm
|
| Hey Stuart,
|
| This'd live best on myPage.cfm - it's usually not a good idea
| to put anything that actually creates output into your
| application.cfm.  One basic reason is that Murphy's law
| states that there will eventually be some page where you
| don't want to use it.
|
| -joe
|
|
| On Tue, 14 Dec 2004 08:53:12 -0500, Stuart Kidd
| <[EMAIL PROTECTED]> wrote:
| > Hi guys,
| >
| > I would like my site to use a particular stylesheet
| depending on the month.
| >
| > Would it be better to do this in the Application.cfm or on
| the actual .cfm page.
| >
| > My code is not tested and there could be an error, i don't use
| >
| > Application.cfm
| > <cfset thisEdition = #DatePart("m", UKTodayDate)#>
| >
| > myPage.cfm
| > <link href="/webs/020/css/standard_#thisEdition#.css"
| rel="stylesheet"
| > type="text/css">
| >
| > OR
| >
| > Everything on myPage.cfm?
| >
| > Thanks,
| >
| > Saturday
| >
| >
|
| 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187549
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to