[ic] linking to external javascript file from IC template?
Stefan Hornburg Racke
interchange-users@interchange.redhat.com
Wed Apr 17 04:27:34 2002
Jason Kohles <jkohles@redhat.com> writes:
> 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'.
Nope. The include and file tags doesn't notify the user of not existing
files.
Ciao
Racke
--
Think of it !
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)