It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to add tabs in confluence page


I am trying to add horizontal tabs within confluence page but am unable to find a macro that can help with that. Any suggestions? 

4 answers

2 votes

Have a look in the marketplace for Navitabs and Composition - both of those add-ons can do it.

They are both paid tools. Is there anything that I can use without paying? 

Not that I'm aware of.

I'm not sure why people don't know about it, but the Spectrum Formatting Macros add-on has tabs and is free.

Thanks a lot. I am going to try this today. 

The Spectrum Formatting Macros app has since changed to a paid model, but the HTML Elements also supports Tabs and is still free.

You can "cheat" with a "dummy tab" mechanism ...

you can consider a tab is just another page

so create a page with a title like "header tabs"  set Restrictions so that everyone can view but only you can edit

Insert an <<Excerpt>> macro

in the <<Excerpt>> place a one-line table with a cell for each "tab"

Now create a page for each "tab"

at the top of each page use the <<Excerpt Include>> macro

Go back to your "header tabs" page

now make the text in each cell a link to the respective pages

.... that is what I have done here ...

a bit of fiddling ... but it works like a tab and it is free to do smile

Dear Rodney, 

Is there guidance as you described above, because I try but it still failed? Thank you.

Rodney's trick does get you quite close.  I think the question here is what you've done that is not working (as this guide does work for me)

Great idea but i am kind of stuck at the 4th step 

when I create a new page and select <<Excerpt include>> macro it takes me to point it to Page containing the excerpt. I am unable to find that page even though the header page is set to view by all. Any suggestions? 



image2016-6-24 17:2:5.png

Dear Support Team, 

We put it in the page content as shown as below: it is not like the result. Please kindly help us about the question, thank you.

tab applicaton.jpg

Adaptavista has a paid tabs macro. The rendering in the current browsers I have access to is not as a tab, but more of an indicator on a horizontal rule. The package includes a Horizontal Navigation Bar which looks identical (except it doesn't have the horizontal/vertical config), maybe there is some issue in my env. 

Note that the TOC macro doesn't seem to work across the tab "pages" (use TOC Zone within the Tabs Page macro, works fine) and I'm not real thrilled with how the menu wraps when you shrink your browser window. Otherwise it works pretty well, keeps all the content on a single page and it's quick to move between the sections vs. opening new pages which can be slower.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

What's New in Confluence Cloud – November 2019 Edition

Hey community! This month we’re excited to share brand new features to help you make your mark on Confluence. If you haven’t already, check out our updates from October and September too! Expre...

43,437 views 81 68
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you