User:N0one/Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
''Sandbux''. | ''Sandbux''. | ||
<!-- | <!-- | ||
// | // Adds a custom toggle button that collapses/expands a target element, | ||
// the | // using the 'data-collapsetarget' attribute to identify the element by id. | ||
$(function () { | $(function () { | ||
$('.mw-collapsible-toggle[data-collapsetarget]').on('click', function () { | $('.mw-collapsible-toggle[data-collapsetarget]').on('click', function () { |
Revision as of 03:37, 18 April 2025
To User:N0one/Sandbox/template for template testing.
Sandbux.
This is the hidden content.
Toggle Box