Log in

View Full Version : same menu for whole site



zeeshan
03-29-2011, 11:48 PM
Hi all,
i know its been discussed several times here. but i have another issue with using same menu in all the pages. i am using a .js file for menu all over the site. but when i click on a link which takes me to another page (which is under another folder), all the links stops working because of the way they are coded. for example
when i click link from home page
home -> page 1 (page 1 resides in www.site.com/core/page1.html)

now from page 1 all the links will be changed and will not work

page 1 (www.site.com/core/home.html)

whereas home.html resides in the root directory. all the pages will be linked under "/core/page2.html".

please help.
thank you

bluewalrus
03-29-2011, 11:58 PM
I think if you dont use the '/' it should work. So link them with 'core/page2.html' from the root or 'page2.html' from the 'core'.