Multiple macros are available to show and hide blocks of content. For example, if you want to provide a transcript with a video, you can use one of these macros to hide the transcript. Readers who want to read the transcript can click the link to expand the text.
You can use the Expand macro to show and hide blocks of content.
At the place on the page where you want the Expand macro to appear, type as much of the following as needed to open the macro browser.
{expand |
For an example of the Expand macro in use, refer to Video of Downloading a Collection via the GUI.
The Cloak macro may be used in conjunction with the Toggle Cloak macro to show and hide blocks of content. Both must be preceded by the Composition Setup macro.
To enter the Composition Setup macro
In this example the parameters are
cloak.toggle.type = text cloak.toggle.open=[show] cloak.toggle.close=[hide] |
The Composition Setup macro follows. It is not visible on the completed page.
cloak.toggle.type = text cloak.toggle.open=[show] cloak.toggle.close=[hide] |
In this example, a panel encloses a table of contents which may be shown or hidden. The first macro in the panel is the Toggle Cloak macro with the id TOC. Next is the Cloak macro with the id TOC. The Cloak macro contains the Table of Contents macro. Thus the Table of Contents macro is cloaked.
To enter the macros
Refer to the ServiceRocket site for documentation of the Toggle Cloak and Cloak macros.