Board Logo

changing source file folders
jd_boss_hogg - 1/31/2008 at 09:40 AM

Hi,

I'm uysing Gold, and have succesful menu's on all pages of my web - except one.

I have a sub folder from the main root called 'tracking', and have a few pages in this folder that i wish to have menu's on. I've tried canging the source files to "../menu_files/menu.js' but this doesn't work.

If i just copy the whole menu folder to become a sub folder (of my sub folder) , then it works well for the pages within that folder but can't find the pages that are in the root.

How can i get this working?

thansk for any replies !


tigra - 1/31/2008 at 03:10 PM

you'll need to change the path inside menu.js file from relative to absolute.

var TMenu_path_to_files='http://www.yoursite.com/menu_files/';

instead of

var TMenu_path_to_files='menu_files/';


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/