Live demo for data-func=collapse


This element is shown and hidden with the checkbox above!
<div class="group">
    <label class="form-group">
        <input type="checkbox" data-func="collapse" name="Test" data-container=".group" data-body=".section" />
        Click to toggle visibility of the element below!
    </label>
    <div class="section alert alert-success">
        This element is shown and hidden with the checkbox above!
    </div>
</div>
No JS code used for this example

Output templates

Templates used for document and web page generation:

Friendly Name File Name Template