Vorlage:Buchbox: Unterschied zwischen den Versionen

Aus WikiToYes
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:
      
      
     <!-- TOC als gekürzte Liste mit "Mehr"-Button -->
     <!-- TOC als gekürzte Liste mit "Mehr"-Button -->
    <div style="margin-top:5px; background:none;">
  <div>
      <div id="compact-toc" style="display:block; max-height:calc(400px - 30px); overflow:hidden;">
  <button class="btn btn-sm btn-outline-secondary mb-2" type="button" data-bs-toggle="collapse" data-bs-target="#toc-box">
        __TOC__
    Inhaltsverzeichnis anzeigen / ausblenden
      </div>
  </button>
      <button
 
        type="button"  
  <div id="toc-box" class="collapse show" style="max-height:400px; overflow-y:auto;">
        onclick="document.getElementById('compact-toc').style.maxHeight='none';this.style.display='none';"  
    <div class="small">
        style="background:none; border:1px solid #ccc; padding:2px 8px; margin-top:3px; cursor:pointer;"
       __TOC__
      >
        Mehr anzeigen ▼
       </button>
     </div>
     </div>
   </div>
   </div>
</div>
</div>


<!-- Horizontale Trennlinie -->
<!-- Horizontale Trennlinie -->
<hr style="margin:3px 0; height:1px; background:#ddd; border:none;">
<hr style="margin:3px 0; height:1px; background:#ddd; border:none;">

Version vom 16. Juli 2025, 09:45 Uhr

   
     Standort:HandbuchVersion: 2.3
 <button class="btn btn-sm btn-outline-secondary mb-2" type="button" data-bs-toggle="collapse" data-bs-target="#toc-box">
   Inhaltsverzeichnis anzeigen / ausblenden
 </button>