no header here
// Collapsible - Templates/Container/CollapsibleContainer.html function t3sbCollapsible(fixedNavbar, navbarHeight) { if ( window.location.hash ) { var idArr = window.location.hash.split('#c'), accordionButton = document.getElementById('c'+idArr[1]); if (accordionButton !== null && accordionButton !== '') { var targetElement = document.getElementById('collapse-'+idArr[1]), collapseTrigger = new bootstrap.Collapse(targetElement), offsetSize = accordionButton.clientHeight; collapseTrigger.show(); if ( fixedNavbar ) { offsetSize += navbarHeight; } var scrollTo = Math.round(t3sbOffsetTop(accordionButton)-offsetSize); window.scroll({ top: scrollTo, behavior: 'smooth' }); } } else { document.querySelectorAll('.accordion').forEach( acc => { var collapse = document.getElementById(acc.id); collapse.addEventListener('shown.bs.collapse', function (e) { if ( e.target) { var offsetSize = e.target.parentNode.querySelector('.accordion-button').clientHeight; if ( fixedNavbar ) { offsetSize += navbarHeight; } var scrollTo = Math.round(t3sbOffsetTop(e.target.parentNode)-offsetSize); window.scroll({ top: scrollTo, behavior: 'smooth' }); } }); }); } }
// Collapsible - CollapsibleContainer.html var collapse = document.querySelectorAll('.accordion .collapse'); if ( collapse.length ) { t3sbCollapsible(fixedNavbar, navbarHeight); }
f:format.raw()}{styleAttr -> f:format.raw()}>
Collapsible Container (uid = {data.uid}) has no content!