Log in

View Full Version : same menu for whole site - new problem



zeeshan
03-29-2011, 02:58 AM
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