Deck of Cards

Description

Allows for the creation of tabbed content in coordination with the  Card macro. Also works with the Composition Setup macro, if it is placed above the Deck of Cards macro on the page.

The Deck of Card macro must contain at least one Card macro within its body.

An example of tabbed content:

This macro is only available on the Server version. For the Cloud version, use the newer Tabs macro instead. If you would like to migrate your existing Card and Deck of Cards macros to Cloud, a migration tool and instructions are available here:

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

Name

Required

Migratable to Cloud?

Default Value

Description

ID

  • (/)

  • NO

 

The ID for the deck. Must be unique to this page.

Tabs Location

 

  • (X)

 

 

  • NO

 

top

Options are:

  • top

  • bottom

  • left

  • right

  • none

The left and right parameters are only available in Composition 5.11.0 and up.

Width

 

  • (X)

 

 

  • NO

 

 

  • The width the content will be constrained to (not including any tabs).

  • If not set, the tabs expand to display their content.

Height

 

  • (X)

 

 

  • NO

 

 

  • The height the content will be constrained to (not including any tabs).

  • If not set, the tabs expand to display their content.

History

 

  • (X)

 

 

  • NO

 

true

If enabled, the tab will update the page URL when switching tabs and each navigation between the tabs will be treated as an entry in the browser history.

CSS Class

 

  • (X)

 

 

  • NO

 

 

The custom CSS class the deck is decorated by.

Start Hidden

 

  • (X)

 

 

  • NO

 

true

If set to false, the cards will be initially visible on the page until setup is complete.

Loop Cards

 

  • (X)

 

 

  • NO

 

false

If true, the deck will loop back to the beginning from the last card and vice-versa.

Next After (in Seconds)

 

  • (X)

 

 

  • NO

 

never

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

  • By default the current slide will not transition until prompted by the user.

Effect Type

 

  • (X)

 

 

  • NO

 

none

The effect to use when moving to a new slide. May be:

  • fade

  • none

Effect Duration (in Seconds)

 

  • (X)

 

 

  • NO

 

1

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

Editor View

  • Not applicable.

Macro Edit View

 

Notes

  • Not applicable.

Tutorial Examples