[solved] base ref causing problems with page anchors?
Posted: Fri Jan 25, 2013 5:21 pm
Hi
I have a web page that has a FAQ list. Via the wysiwyg I make each question a link to an anchor further down the page where the answer is.
The problem: When I click on a question link the page jumps to the home page instead of the down the same page.
Why?
Looking at the output source code there is a base ref in the head with the url to the root of the home page. ie.
<base href="http://www.mydomain.co.uk/" />
If I save the source code as a static page and delete the above it fixes the problem.
How can I remove this from being code?
If I remove it will it cause problems else where?
Is there a better way to do this?
I'm using cmsms 1.11.4
All help greatly appreciated.
Steve
I have a web page that has a FAQ list. Via the wysiwyg I make each question a link to an anchor further down the page where the answer is.
The problem: When I click on a question link the page jumps to the home page instead of the down the same page.
Why?
Looking at the output source code there is a base ref in the head with the url to the root of the home page. ie.
<base href="http://www.mydomain.co.uk/" />
If I save the source code as a static page and delete the above it fixes the problem.
How can I remove this from being code?
If I remove it will it cause problems else where?
Is there a better way to do this?
I'm using cmsms 1.11.4
All help greatly appreciated.
Steve