Switcher documentation
Switcher switches the visibility of two elements when a link is activated, making one visible and the other invisible. This can be used to show or hide areas of a page.
Example
Switch the visibility of the two elements Element 1 Element 2
<p><a class="switcher targetEl1-switcher1 targetEl2-switcher2" href="?show=switcher1#switcher">Switch the visibility of the two elements</a> <span id="switcher1">Element 1</span> <span id="switcher2" class="hider">Element 2</span></p>
Settings
Valid elements
a elements (links)
Classname
switcher
Attributes
None
CSS parameters (what's this?)
targetEl1(required)- Must be set as the
idof the first element you wish to switch the visibility of. targelEl2(required)- Must be set as the
idof the second element you wish to switch the visibility of.