[ic] How to access another directory from /pages?

Olaf Kolling interchange-users@icdevgroup.org
Wed Sep 11 16:45:00 2002


Hello,

IU> However, if I put the *.js files into another directory, say ../js
IU> (where /pages is the current directory), how should I call these js 
IU> files from my html files in /pages ?  I tried the following, but both 
IU>  failed:

IU> <script language="JavaScript" src="js/menu.js"></script>
IU> <script language="JavaScript" src="../js/menu.js"></script>

you should put them in your normal html-space like the images.

Then you could call them with SRC="/js-path/script.js".
If you want to be mor flexible define a new variable __THEME_JS_DIR__


Bye
  Olaf

--

********************************************************************
                       W³Welt Web-Entwicklung
--------------------------------------------------------------------
Olaf Kolling                            eMail: kolling@w3welt.de
Mörikestraße 67                 Tel.: +49 711 96666-200
70199 Stuttgart                           Fax: +49 711 96666-201
********************************************************************