> > 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.
>
>
> It's not a stylesheet. It's a javascript source file that I'm trying to
> include with CF variables....
Sorry, Steve. I meant javscript source file. Got confused because we use the
same technique for .js and .css.
> This works fine in IE and NS...
>
> <script language="javascript" src="myfile.js"></script>
>
> This works in IE but not in NS...
>
> <script language="javascript" src="myfile.cfm"></script>
>
> I'm thinking I need to find another approach to what I'm trying to do.
> Netscape seems to need the .js extension to reference as a valid source
> file.
Not true. Check out http://www.fuselets.com/cftips/ with Netscape, then take
a look at the <script> tag's source on that page... it's a .cfm file. Works
on all flavors of NS, even Mac. You just need to use the <cfcontent> tag to
set the headers correctly.
Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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