Page History
Wiki Markup |
---|
{scrollbar:icons=false} |
Page info | ||||
---|---|---|---|---|
|
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.
This example starts with the Composition Setup macro, which is not visible on the completed page. To enter the Composition Setup macro
...
Code Block |
---|
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.
Composition Setup |
---|
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 hidden or shown. The first macro in the first panel , is the Toggle Cloak macro with the id TOC precedes . Next is the Cloak macro with the id TOC. The Cloak macro is also in the panel, and contains the Table of Contents macro. Thus the Table of Contents macro in the first panel is cloaked.In the second contents panel, the same Table of Contents macro is not cloaked. It is not possible to cloak a panel.
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
To enter the macros, type
- Type { and the first few characters
...
- .
- When the macro browser opens, select the macro from the list.
...
- In the macro dialog
...
- , enter the ID
...
- , TOC in the example, and select Save.
Refer to the ServiceRocket site for documentation of the Toggle Cloak
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
The markup for the cloaked contents is shown in the last section on this page.
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
following sections of this page are included to populate the table of contents macro.
First heading for the table of contents
Some text.
First subheading for the table of contents
Some text.
Second subheading for the table of contents
Some text.
Markup for the cloaked contents
The markup for the cloaked contents follows.
...
text
...
.
...