How to create anchor at the same page?

罗潇艳 November 27, 2024

How to create an anchor to quickly navigate from point A to point B on the same page, similar to a table of contents, without refreshing the page (because refreshing the page is really slow).

2 answers

3 votes
Lucas Knorr
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2024

Hi @罗潇艳

the guide to create anchors for items on the same page can be found here: https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/

But unfortunately, In this case I don't think its possible to avoid reloading the page. If anchors are used, the page is also reloaded and then navigates to the destination, when hitting the anchor link.

罗潇艳 November 27, 2024

Thank you Lucas! I solved it after trying several times. I followed the link format used in the Wiki's table of contents and changed the content after the "#" to the anchor name for custom page navigation. 😊

2 votes
Fiona Pratt _Sourcesense_ November 27, 2024

Hello, you could try using Heading links 

  • Hover over the heading. A link icon (🔗) will appear.
  • Right-click the link icon and choose "Copy Link."
  • Paste this link
  • while still in edit page mode, click the link and select "edit link", you can then adjust the text that appears.

Once published this will navigate to linked areas without a page refresh, and you can add as many as these as you need. 

罗潇艳 November 27, 2024

Thank you Fiona! I solved it after trying several times. I followed the link format used in the Wiki's table of contents and changed the content after the "#" to the anchor name for custom page navigation. 😊

Fiona Pratt _Sourcesense_ November 28, 2024

Great stuff, glad you managed to find a solution that works :)

Like 罗潇艳 likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events