Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding Bookmarks to a page

Adding Bookmarks to a page

Locked

Views: 685

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Sep 2009, 11:57 AM
#1
johncrook avatar

johncrook

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Adding Bookmarks to a page

I have a downloaded contribution which provides an about_us page.

I have a content for the page which requires <a name> tags to work in the page content.

Such as an example:

<a href="index.php?main_page=about_us#section1">Section1</a>

<a name="#section1"></a>Section 1

which does not work.

The link:

<a href="index.php?main_page=about_us#top">Top</a>

does work.

Can anyone answer this problem, John Crook.

28 Sep 2009, 12:21 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Adding Bookmarks to a page

It's been a while since I've done that, but I think the 'name' anchor shouldn't have the '#', so
<a name="section1"></a>Section 1

28 Sep 2009, 4:00 PM
#3
johncrook avatar

johncrook

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: Adding Bookmarks to a page

Thank you stevesh, sorry for being so stupid, John.