Author Topic

Tore Åbodsvik

Thursday 06 November 2003 12:25:34 am

Comment13985

The javascript code which i am using is placed inside a .js file.
Which i have placed inside /javascripts folder under the plain folder.
Eg. /design/plain/javascript/

I have in the template used this way for trying to reach the .js file:
<SCRIPT SRC={"javascripts/script.js"|ezdesign} TYPE="text/javascript" LANGUAGE="JavaScript"/>

This does not work.

I have tried typing the full pathto the .js file. Which does not work.

I then tried to reach the .js file directly through the browser.
as typing:
http://scamp.tasy.no/design/plain/javascripts/gfs_construct.js

This will give me a kernel 20 error. And the site will show me the main pagelayout file.

What am i doing wrong here?

Regards.
Tore