Line 32: |
Line 32: |
| :Special initiatives | | :Special initiatives |
| :Questions or comments? | | :Questions or comments? |
− |
| |
− | <div class="collapsiblemenu">
| |
− | <div class="collapsibletab c1">title</div>
| |
− | <div class="contentcollapsibletab">paragraph</div>
| |
| | | |
| ===Test 3=== | | ===Test 3=== |
Line 52: |
Line 48: |
| | | |
| |} | | |} |
− | <script>
| |
− | //TABS collapse
| |
− | $(".collapsibletab").append("<div class='cshow'>+</div>");
| |
− |
| |
− | $(".collapsibletab").click(function() {
| |
− | $(this).addClass( "active" );
| |
− | if($(this).next().is(':visible')){
| |
− | $(this).find(".cshow").html("+");
| |
− | $(this).next().slideUp('slow');
| |
− | }
| |
− | else
| |
− | {
| |
− | $(this).find(".cshow").html("-");
| |
− | $(this).next().slideDown('slow');
| |
− | }
| |
− | });
| |
− |
| |
− | </script>
| |