Difference between revisions of "Collapsible elements"
Line 17: | Line 17: | ||
</div> | </div> | ||
==Method 3== | ==Method 3== | ||
− | <div class="NavFrame | + | <div class="NavFrame"> |
− | <div class="NavHead">'''Navigation table'''</div> | + | <div class="NavHead collapsible">'''Navigation table'''</div> |
<div class="NavContent" style="display: none;"> | <div class="NavContent" style="display: none;"> | ||
Let's say you want to make a navigation table at the bottom of the page that looks like you can find on this page...<ref>[https://en.wikipedia.org/wiki/Timeline_of_the_Unification_Church Wikipedia: Timeline of the Unification Church]</ref> | Let's say you want to make a navigation table at the bottom of the page that looks like you can find on this page...<ref>[https://en.wikipedia.org/wiki/Timeline_of_the_Unification_Church Wikipedia: Timeline of the Unification Church]</ref> |
Revision as of 08:22, 1 July 2015
Method 1
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
Method 2
<div class="toccolours mw-collapsible" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.