Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I want to include a simple #top named anchor in the template with a link at the bottom of the page to return users to the top of the page. Some of the product pages are quite long and I want to make it easy to jump to the top.

 

I added my #top anchor: <a name="top">

 

and

 

my link at the bottom: a href="#top"><img src="/images2/topOfpage.gif" alt="Return to the top of the page" width="200" height="10" border="0"></a>

 

However, on the site when you click on the link it takes you to the TOP of the store home page NOT the top of the page you are viewing.

 

Example page: http://keywestnut.server267.com/catalog/index.php?cPath=27

 

Is there a way to implement this successfully so that the link takes you to the top of the page you are viewing?

 

thanks. Karen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...