User:Efuchs
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
example | code |
---|---|
Show/Hide Block This is a Block
|
<span class="toggleblock" title="test">Show/Hide Block</span>
|
Example 2
+ / - displays status of block
example | code |
---|---|
Show/Hide Block [+–] This is a Block
|
<span class="toggleblock" title="test">Show/Hide Block [<font>+</font><font style="display:none;">–</font>]</span>
|