I have an existing site that makes use of javascript and some asp.
Currently trying to figure out how to move the menu file and its graphics to directory outside of the $DocumentRoot and still get the references in the Javascript mouseovers etc to find the graphics. Previously this menu was built in to each page so that it would reference the graphics properly from subdirectories.
Example: index file in $DocumentRoot has an "include" for menu file containing the menu layout and javascript mouseovers, etc which is outside the $DocumentRoot directory (actually in /www/includes/T/ )... all pages show the menu but no graphics as the path to the graphics is incorrect. I tried defining a variable called $graphic that contained the true path to the graphic but that didn't work - probably due to incorrect coding in the javascript section as I'm not very good at either js or php yet... I've spent two days searching for clues on how to do this (on several php sites) and read everything I can to come up to speed but to no avail. I could sure do with some help about now....
I expect the probelm to get worse when I try to include the menu in the subdirectories which will place a further level into the scheme of things... anyone point me in the right direction or provide a URL that might help?
Ian