Difference between revisions of "Widget:ExpandAccordion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | ||
<script | <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> | ||
<script> | <script> | ||
jQuery(document).ready(function () { | jQuery(document).ready(function () { | ||
var anchor = window.location.hash; | var anchor = window.location.hash; | ||
jQuery(anchor).collapse('show'); | jQuery(anchor).collapse('show'); | ||
}); | }); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |