I think Sandy was saying that keep it anywhere but in the display portion of your html. so you break up Function from display.
just include either in your application.cfm or depending how you are doing your application a file that sets something like REQUEST.CSSFile regards Mark Drew On Tue, 14 Dec 2004 13:58:01 -0000, Martin Parry <[EMAIL PROTECTED]> wrote: > Why not just use... > > <link > href="/webs/020/css/standard_#lcase(monthAsString(month(now()))#.css" > rel="stylesheet" type="text/css"> > > Then create standard_january.css etc. > > Martin Parry > http://www.beetrootstreet.co.uk > > -----Original Message----- > From: Joe Rinehart [mailto:[EMAIL PROTECTED] > Sent: 14 December 2004 14: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 - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187532 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

