Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:32
How to set the menu to work with different folders?
Poster: efrat
Dated: Thursday July 11 2002 - 16:30:46 BST
Hi all,
When I place the menu in a different folder (under the main one), and set the JS files to the home folder (i.e. - ../menu_array1.js).
In the page I don't see the images, I get an "error on page" message and of course all the links don't work.
Where am I going wrong? or is the script only works in the one folder, where the JS scripts are?
Thank you.
Efrat.
Poster: Andy
Dated: Friday July 12 2002 - 11:57:23 BST
Hi,
This is down to your location of files.
You need to tell the menu where the files really are.
It's sometimes best to use /menu_array1.js instead of ../menu_array1.js because your location will change depending on what directory level you are in.
Cheers
Andy
Poster: efrat
Dated: Friday July 12 2002 - 16:03:46 BST
Thank you. but unfortunately this didn't work as well, I still have the same problems.
I even tried giving it the absolute root (http://...).
Thanks again.
Efrat.