Why wont my "Table of Contents" work when linking within the page?

Christopher Simonian December 1, 2015

Hey guys, sorry to bother but I'm a bit stumped on this issue I'm having with the table of contents. 

 

Basically I have a list of things on a doc page...I brought in a very basic default "table of contents" that links to certain headers within the page. 

The table was working great at first but now when I'm on the page and I click on a link in my table of contents, it still properly changes the link in the address bar, but it no longer jumps down to the portion of the page. If I take that link and open it on a new tab or browser, it jumps to the right section.

Is this a known bug or am I doing something wrong?

5 answers

0 votes
Sondra Menthers September 10, 2018

I am having hte same issue but not on all pages just on long pages linking to another page works but not jumping to the section of the page I want, same problem with TOC and Anchors

https://confluence.riotgames.com/display/ops/Riot+Games+Data+Center+Locations#RiotGamesDataCenterLocations-ComputeDataCenters

0 votes
Deleted user May 12, 2018

Hi @Christopher Simonian,

Are you using Confluence Server?

Thanks

0 votes
Ben Kelley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2015

When I have seen this before it was generally to do with how the browser handles intra-page anchors, where the anchor text contains certain characters.

e.g.

If you have a section heading called "Overview", it will generally work well in all browsers.

If you have a section heading called "Questions?" the "?" will make it into the anchor text. On Windows (for example) this won't work in Firefox, but it will work fine in IE.

0 votes
Christopher Simonian December 1, 2015

Hey Darren, 

Thanks for the quick response. I have tried removing the table,adding in new ones, cleared browser cache and I deleted a few of the headers to no avail.

I've checked on Chrome and Firefox and I had my coworkers try it on their computers...they are getting the same thing.

I thought the issue was on only on my particular page but I just looked at our existing pages from the beginning of the year and those seem to be having the same issue too?

If you want to take a look, the following link will take you to one of our pubnlic pages...just click ona table of contents and youll see that it wont jump down unless you open that link on a new tab or hit the refresh button after clicking on the table of contents link: https://finproducts.atlassian.net/wiki/display/FINStack/FIN+Watcher

 

 

 

 

 

 

Hey Darren, I will have an admin check that link you sent me tomorrow...What should we be looking for? 

Also, what are some conflicting addons? we haven't added any recently..definitely not within the time frame that these links stopped working. 

 

sorry if you dont see this. It wont let me comment or answer anymore since Im under 3 points? I can only do it once every 24 hours apparently.

darrenpegg
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.
December 1, 2015

No problem at all.. Cloud Confluence also, gimme a sec.. taking a peek now buddy

darrenpegg
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.
December 1, 2015

https://finproducts.atlassian.net/wiki/display/FINStack takes me to the page, the extra bit on you login forces me to want to log in :-) Checking now...

darrenpegg
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.
December 1, 2015

url*

darrenpegg
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.
December 1, 2015

Hmmm.. I see what you mean.. Gimme a sec, I have a test cloud instance.. Will test..

darrenpegg
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.
December 1, 2015

Have you tried a re-index, the one that locks the instance? Looking at mine, same version is working fine.. So it's possible you have a conflicting addon, or have some code in the header here: https://finproducts.atlassian.net/wiki/admin/custompagecontent.action

darrenpegg
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.
December 1, 2015

darrenDOTpeggATodonus.co.uk ;-)

Christopher Simonian December 4, 2015

Hey Darren, What code should I be looking for in the header section? I just got access to someone with an admin account for our Jira docs. It still isn't working..and we haven't added any addons..especially not since the time when the table of contents linking already worked.

0 votes
darrenpegg
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.
December 1, 2015

Hey buddy, Does this happen on a different page? Have you tried different browsers? Have you tried deleting and redoing the headers and remove/add the table of contents macro? Darren

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events