NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Cloak macro may be used in conjunction with the Toggle -cloak Cloak macro to show and hide blocks of content. It Both must be preceded by the Composition Setup macro.

...

In this example, in the first panel, the Toggle Cloak macro with the id TOC precedes the Cloak macro with the id TOC and the . 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.

...

Composition Setup
cloak.toggle.type = text
cloak.toggle.open=[show]
cloak.toggle.close=[hide]
Panel
titleContents

Toggle Cloak
idTOC

...

Contents
Panel
title

Cloak
idTOC
42
Panel
titleContents
Table of Contents
maxLevel4
minLevel2

...