javascript thread: Defining a path to access .js files.
Are you asking for server-side including ? I ask so because your include statement is delimited by <% and %>. If it is, the answer will depend on what server you're using and you'd better ask your question to related mailing-list. This mailing-list is mostly client-side javascript techniques. > -----Original Message----- > From: naranek@h... [mailto:naranek@h...] > Sent: vendredi 14 mars 2003 14:31 > To: javascript > Subject: [javascript] Defining a path to access .js files. > > > Hello, > > I am trying to get many different html-files to read js files > from one > spesific folder elsewhere on the machine. > > Example: > > C:\javascript\header.js > > c:\webdomain\filter\welcome.html > > The welcome.hmtl should read the header.js file. I know it > works if I move > the javascript folder below or the js-file in the same > directory, but it > is an soulution I can't use. (Don't ask... :) ) > > I have tried this > <%include "header.js"%> > and adding the full path and virtual path, and I allways get: > SourceError 0001 : Unable to open source file "....." > > Any suggetions (also to rewrite the html file) are most welcome. > > Have a great day!
|





