Remember if the js file is included lik this:
<Script language="Javascript" src="/src/dynapi.js"></script>
you have to wrap the include in a:
     <script language="JavaScript">
      <cfinclude template="/dd/src/dynapi.js">
    </script>
In the preceding instance the src directory is on the root of the site and the site 
has a coldfusion mapping of dd.

 Hope that helps.
 Frederic

Dave Hannum wrote:

> The only way I can think of would be to wrap it in a CFINCLUDE inside a .cfm
> page.
>
> Dave
>
> ----- Original Message -----
> From: "Steve Reich" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, April 06, 2001 1:16 PM
> 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

Reply via email to