Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to have the TOC be expanded by default when the page loads?

Pete B
Contributor
November 18, 2015

This question is in reference to Atlassian Documentation: Table of Contents Macro

Some of our users have requested that we display our TOC automatically. I don't see an option for this in the TOC macro. Is there a way to do this in CSS or something?

2 answers

1 accepted

2 votes
Answer accepted
Milo Test
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 18, 2015

It is "expanded" automatically, but I assume you have it in an Expand macro. In that case, I encourage you to vote for this: https://jira.atlassian.com/browse/CONF-27077

Pete B
Contributor
January 4, 2016

True (that was a n00b mistake on my part). Voted!

3 votes
Precision Plugins
Contributor
January 2, 2016

Automatic Contents functionality has recently been added to the engineering essentials plugin. Space administrators can turn it on for individual spaces and a table of contents (on this page) will be displayed for the headings. It doesn't require the contents macro to be added to the page so keeps editing things a bit simpler and cleaner.

Pete B
Contributor
January 4, 2016

Good to know, thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events