typo3 bootstrap accordion - collapse the initial element -
this related typo3 bootstrap theme please.
i'd have elements of accordion closed @ page startup. top element is open here
in understand it's related in
in class
of statement
<div id="panel-425-0" class="panel-collapse collapse in">
but changing in source have side effects other locations i'like avoid.
so i'm looking solution closure css or javascript.
any guidance welcome.
here try this
so element id , re-set class attribute without 'in' class.
<script> document.getelementbyid('panel-425-0').setattribute('class','panel-collapse collapse'); </script>
Comments
Post a Comment