[ic] linking to external javascript file from IC template?

Jason Kohles interchange-users@interchange.redhat.com
Tue Apr 16 14:58:01 2002


On Tue, 2002-04-16 at 14:27, Aaron Hazelton wrote:
> > You can do it via IC's include:
> > [include file="/path/to/yourjavascript.js"]
> > 
> Sounds great, but im getting it right I guess.  Im not even getting any
> errors and its not even trying to build.
> 
> I tried:
> 
> [include file="http://hazenet.net/images/menu.html"]
> (which has the <script> info in it)
> <and>
> 
> [include file="http://hazenet.net/images/ff2.js"]
> (which is the js file) 
> 
> Is that what you meant, ryan?

You must specify a file, a url is not a file.  The error you should be
seeing in the logs somewhere is 'http://hazenet.net/images/menu.html: no
such file or directory'.

-- 
Jason Kohles                                 jkohles@redhat.com
Senior System Architect
Red Hat Professional Consulting              http://www.redhat.com/