Tab

Description

Allows for the creation of tabbed content when used with the Tab Group macro.

This macro is available in Server, Data Center and Cloud.

  • In Cloud, it is marked as Legacy macro as it is only compatible with Confluence Cloud Legacy Editor.

  • This macro is primarily used for migration purposes and is not available in the Macro browser to be directly added to a page.

  • For tabbed content in Confluence Cloud New Editor, use Tab macro instead.

Notes about migration

  • In Server/Data Center, it is used for migrating Card macros to Cloud.

  • Some legacy Macro parameters from Confluence Server are not supported yet. More details are available on our FAQ page. 

  • Server users migrating to Cloud will not lose any data.

  • Some server-version parameters are currently unsupported and are ignored by the macro. For example, Server users migrating to Cloud will lose some CSS and UI functions.

Server

Cloud

Server

Cloud

Parameters

Name

Required

Available In

Migratable to Cloud?

Default Value

Description

Title

 Yes

Server, Data Center, Cloud

Yes



The label for the tab.

Default

 Optional

Server, Data Center, Cloud

Yes



If true, this tab will be the default one shown when the page is first viewed.

ID

 Optional

Server, Data Center

No



The unique card ID. This is used to generate the tab history ID.

Hover Text

 Optional

Server, Data Center

No



Text to display when hovering over the tab.

CSS Class

 Optional

Server, Data Center

No



The custom CSS class for the Card. 

CSS Style

 Optional

Server, Data Center

No



Custom CSS style values. 

Next After

 Optional

Server, Data Center

No

0

  • The number of seconds the Card will stay visible before moving to the next one.

  • The default of 0 prevents automatic transitions.

Effect Type

 Optional

Server, Data Center

No

default

  • The effect to use when moving to this Card. 

  • Selection includes:

    • default

    • fade

    • slide

    • horizontal

Effect Duration

 Optional

Server, Data Center

No

 

  • The number of seconds the transition will take to complete, e.g.: 1.5 or 10.

Access Key

 Optional

Server, Data Center

No

 

  • The key that is hot linked to the specified card.

  • Only works in some browsers. Note that some characters may not work in some browsers due to conflicts with existing keyboard shortcuts:

Editor View

Macro Edit View

Â