Page 1 of 1

anchor not working

Posted: Sun Sep 16, 2007 7:06 pm
by toolman
Hi there,

I have tried to add a page anchor to some of my pages for users to jump to the top of the page, but it seems to link to the homepage and not to the top of teh page.

This is what I am usign:

Code: Select all

<a name="top"></a>

<a href="#top">Top</a>
Is this not possible with cmsms?

Re: anchor not working

Posted: Sun Sep 16, 2007 7:41 pm
by RonnyK
toolman,

the defaullt templates have "relational links" in the template, that uses:

Code: Select all

	 <div class="right49">
	 	<p>{anchor anchor='main' text='^ Top'}</p>
	 </div>
Ronny

Re: anchor not working

Posted: Sun Sep 16, 2007 7:51 pm
by KO
if you use {metadata} tag in your template try also {metadata showbase="false"}.

That has helped in some cases.

Br, K

Re: anchor not working

Posted: Sun Sep 16, 2007 9:48 pm
by toolman
Thanks :)