Template:Navbox Example.: Difference between revisions

From Funkinchan
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
$(document).ready(function() {
{| class="mw-collapsible mw-collapsed wikitable"
    $(".navbox-header").click(function() {
|+ style="white-space:nowrap; border:1px solid; padding:3px;" | The caption remains visible.  
        $(this).next(".navbox-content").slideToggle();
|-
    });
! Text !! More text
});
|-
| This  content || is hidden
|-
| at first || load time
|}

Revision as of 02:29, 3 October 2023

The caption remains visible.
Text More text
This content is hidden
at first load time