Difference between revisions of "Furniture National Center of Expertise (FNCOE)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
__NOTOC__ | __NOTOC__ | ||
+ | __NONEWSECTIONLINK__ | ||
+ | __NOEDITSECTION__ | ||
{| width="100%" cellpadding="10" cellspacing="10px" | {| width="100%" cellpadding="10" cellspacing="10px" | ||
Line 31: | Line 33: | ||
:Questions or comments? | :Questions or comments? | ||
− | <div class=" | + | <div class="collapsiblemenu"> |
− | <div class=" | + | <div class="collapsibletab c1">title</div> |
− | + | <div class="contentcollapsibletab">paragraph</div> | |
− | |||
− | </div> | ||
===Test 3=== | ===Test 3=== | ||
Line 52: | Line 52: | ||
|} | |} | ||
+ | |||
+ | //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> |
Revision as of 08:42, 17 September 2024
Furniture National Center of Expertise (FNCOE) Français - English
//TABS collapse $(".collapsibletab").append("+ ");
$(".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> |