User:Efuchs

Revision as of 13:05, 24 October 2007 by fuchse (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hide an Object

Copy the examples below to show / hide objects.

The title attribute of the span tag must be the same as the id attribute of the div tag.


Example 1

Show/Hide Block
This is a Block
<span class="toggleblock" title="test">Show/Hide Block</span>

<div id="test"> This is a Block </div>


Example 2

+ / - displays status of block


Show/Hide Block [+]
This is a Block
<span class="toggleblock" title="test">Show/Hide Block [<font>+</font><font style="display:none;">–</font>]</span>

<div id="test2"> This is a Block </div>