Tab (for migration only)

Tab (for migration only)

This macro is used for migrating content in Card macros. It creates tabbed content when used with the Tab Group macro. It is primarily used for migration purposes and is not available in the macro browser to be directly added to a page.

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

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

  • For tabbed content in Confluence Cloud’s new editor, use the Tabs macro instead.

Notes about migration

  • In Data Center, it is used for migrating Card macros to cloud.

  • Data Center users migrating to the Cloud will not lose data.

  • Some Data Center parameters are currently unsupported in Cloud and are ignored by the macro. For example, Data Center users migrating to Cloud will lose some CSS and UI functions. For details, refer to FAQ on the migration from Composition Data Center.

Data Center

Cloud

Data Center

Cloud

Parameters

Name

Required

Available in

Migratable to cloud?

Default value

Description

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. Can be:

  • default

  • fade

  • slide

  • horizontal

Effect Duration

 Optional

Server, Data Center

No

 

The number of seconds the transition will take to complete, for example, 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:

Browser

Keyboard Shortcut

Firefox 2

Alt + Shift + <character>

Safari 3

Alt + <character>

Safari 4

Alt + Cmd + <character>

Chrome

Ctrl + <character>

Internet Explorer 6 and 7

N/A

Editor view

Macro edit view