Skip to main content
Inspiring
June 16, 2019
Answered

Back link to link to #search-target on that page?

  • June 16, 2019
  • 1 reply
  • 422 views

I am not sure if this is possible or not?

I am using a backlink as shown below

<li class="active-top-menu"><a HREF="javascript:javascript:history.go(-1)" class="dark-grey-panel">Back</a></li>

But is it possible to link it to

#search-target

So when you click the back button it goes to a certain part of the other page?

Any suggestions

Thanks

Tim

This topic has been closed for replies.
Correct answer Nancy OShea

Use a  link to the actual page URL and search ID.

<a href="some-page.html#search">Search Link</a>

History links are redundant because every browser already has that function built-in.

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
June 16, 2019

Use a  link to the actual page URL and search ID.

<a href="some-page.html#search">Search Link</a>

History links are redundant because every browser already has that function built-in.

Nancy O'Shea— Product User & Community Expert