Problem with Menu Sample 27
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
Problem with Menu Sample 27
I have been trying to get menu sample 27 working for the last 2 days. Do I need to place all the files on a server, because I tried getting the menu to work locally and failed miserably. Can you provide me some help plz?
The most common problem with trying to get a page to work both locally and on a server is that the local site is not set up exactly the same as the server is. Therefore, pathnames do not match and, typically, the JS calls to the menu code files fail. Hence - no menu.
You might try using full pathnames for the calls and see if that helps (assuming you've placed the menu code on the server).
You might try using full pathnames for the calls and see if that helps (assuming you've placed the menu code on the server).
John
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
Didn't work
I have tried just applying the right click menu locally and including all the js files required in the same directory as the page I am trying the script on. I have added the required code to the html page that I require the menu to appear on, and still nothing. Could it be that the menu sample 27 just doesn't work?
-
- Super Advanced
- Posts: 49
- Joined: Sat Aug 21, 2004 2:57 pm
Eureka!!!
In the end, I just copied the sample code that was provided on ur website into the menu_data.js and that fixed my problem. Thanks for your advice though its appreciated