[Javascript] Reaching out to external JS file.

Thierry Lavall=?ISO-8859-1?B?6Q==?=e thierry at 8p-design.com
Fri Oct 3 15:30:21 CDT 2003


Hi!
I am importing a myscript.js file within a file. I use:
<csscriptdict import>
<script type="text/javascript" src="../myscript.js "></script>
</csscriptdict>

This script references another file like this:
document.write("<link href='IE.css' rel='stylesheet' media='screen'>")

Unfortunately this myscript.js file is to be called from other pages within
the site and their hierarchy levels differ.

Is it possible to make sure the links are right?
I tried putting direct URLs for the src and href, but it does not seem to
work better.

What am I missing?
thanks!
-- 
Thierry 




More information about the Javascript mailing list