Used to do this, but now our CMS is s publishing model so the links / CSS
are all written out as "normal" form ColdFusion.










"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Ian Skinner
To: CF-Talk
Sent: Tue Dec 05 21:30:15 2006
Subject: Fun with CF CSS Files.

An Interesting Experiment:

A_CSS_File.cfm
--------------
<cfset aColor="00FF00">

<cfoutput>
<cfcontent type="text/css" reset="yes">
 /* CSS Content that will be processed through ColdFusion first. */

h1 {
  color: ###aColor#;
}

</cfoutput>

A_CFML_FILE.cfm
---------------
<html>
<head>
  <title>Fun with CSS & CF</title>
  <link rel="stylesheet" href="A_Css_File.cfm" media="all" />
</head>

<body>
  <h1>Fun with CSS & CF<h1>
</body>
</html>

Has anybody every tried this?  I was just playing and gave it a try.  It was
surprisingly straight forward and I think I see some real potential.  The
only real issue I've experienced is that Dreamweaver has NO idea how to
color code or popup help a css file with a cfm extension.




--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to