The Tabs widget displays configurable tabs that trigger Workshop events to navigate throughout pages and overlays of a module.
The following outlines the configuration settings for the Tabs widget:
Tabs
Display & Formatting
Active color: * Set the tab color for the active tab.
Tab Height: Set a predefined section header height for the Tab widget.
Direction
The Tabs widget does not hold its own selection state. Instead, selection state is derived from events configured for the widget. Switch to tab and Switch to page events that lead to no layout state change will be used to determine the selected tab. A default selected tab or page may be configured by setting a string variable to the tab or page name in the Variable-based tab selection field of a tabbed section or in the Variable-based page selection field in the settings panel.
Note that adding a Tabs widget to a module will not result in the generation of Switch to tab or Switch to page events. See switch to tab and switch to page for more information on how to generate these events for use in a Tabs widget.
Events that do not change the layout state - that is, they lead to "no layout state change" - are layout events configured to switch to the selected tab or page that matches the current layout state. For example, a tab with a Switch to Tab A
event configured will show as selected if the current layout state has Tab A
selected.