> > I have a single javascript file (*.js) that I want to include CF
> > variables with. I know how to set IIS up to allow CF Server to
> > process a specific file extension, but I don't neccessarily want
> > it to process all .js files.
>
> Why not leave the file as a .cfm file but put <CFCONTENT
> TYPE="application/x-javascript"> at the top?

That's the way we do it... works like a champ. When your stylesheets get
big, you really should link to them, rather than include them, so that
browsers can cache them and speed up all your pages. Works for us in
Netscape, too, vs. Steve's experience in the next post.

-ron



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to