[Javascript] Includes and relative paths? -- followup
databarn
databarn at airmail.net
Tue Jul 3 10:47:33 CDT 2001
Sorry, I wasn't clear. I understand the include file positioning vis-a-vis 'file' and 'virtual'.
The include files are javascript menu constructors. The "path" I'm talking about is the link in a menu item references. For example,
new menuItem('Home','code/js/default.asp');
where Home is the menu label, and "code/js/default.asp" is the path relative to the web root.
Now, if I include that menu on a page that is at "code/asp/calendar/weekly", what will happen? I'm having all sorts of grief trying to use one central set of includes as a project wide menu system, so I'm trying to find some kind of JS documentation that will clarify how JS 'sees' these links.
Make a good day . . .
. . . barn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are close enough to read this, I am close enough to slam on my brakes and sue you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________
From: Rees, Mark (TWIi London) [mrees at twii.net]
To: javascript at LaTech.edu
Subject: RE: [Javascript] Includes and relative paths? -- followup
Time: 7/3/2001 at 6:01AM
Hello
Are you talking about the #include directive? if so, you can either write
More information about the Javascript
mailing list