Jump to content

When I hyperlink to my anchorlinks, the action only works for a moment before the page refreshes... help!

Recommended Posts

Hi All!!

I am having trouble getting my anchor links to function properly. I am building a one page site with a picture reel up top and corresponding sections below (about 5 pictures/sections). I want users to be able to click on each picture, then have that picture hyperlink to an anchorlink below. 

Right now, I have it all set up. But when you click the picture up top, you are taken to the corresponding anchorlink for just a second or two before the website refreshes and you are back to where you started... why is this happening??

The code I am using is this:

Anchor-link: 

<p id="jamie">

Corresponding Hyperlink:

[DOMAIN]/home/#jamie

Link to comment
  • Replies 1
  • Views 174
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.