I believe that if you <cfinclude> the .js file, CF automatically parses it,
even though it isn't a .cfm file.
In other words, <cfinclude template="myjsfile.js"> will process
'myjsfile.js' as if it were a .cfm file.
Jason
----- Original Message -----
From: "Steve Reich" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 10:16 AM
Subject: CF Server parsing .js files...
> 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. My
> question is....
>
> Is there any command I can use to only process the single file or if I
want
> CF Server to process one, it has to do them all?
>
> <CF_ProcessThisJSFileOnly>
>
> ..js file contents.....
>
> </CF_ProcessThisJSFileOnly>
>
> Anything like that? I know I'm reaching here and am pretty positive I
can't
> do this, but I thought I'd ask anyway...
>
> Thanks,
> Steve
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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