Zum Inhalt springen

Widget:Cusdis: Unterschied zwischen den Versionen

Aus Tech-Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<div id="cusdis_thread"
<div id="cusdis_container" style="width: 100%; min-height: 700px; border: 1px solid #eee; padding: 10px;">
  style="min-height: 500px; width: 100%; overflow: visible;"
   <div id="cusdis_thread"
   data-host="https://cusdis.com"
    data-host="https://cusdis.com"
  data-app-id="5c935e49-03ae-4bcd-8f0b-95eaa47e2045"
    data-app-id="5c935e49-03ae-4bcd-8f0b-95eaa47e2045"
  data-page-id=""
    data-page-id=""
  data-page-url=""
    data-page-url=""
  data-page-title=""
    data-page-title=""
></div>
  ></div>
</div>
 
<script>
  // Force height after a short delay to ensure it's loaded
  window.onload = function() {
    setTimeout(function() {
      var iframe = document.querySelector('#cusdis_thread iframe');
      if (iframe) {
        iframe.style.height = '700px';
        iframe.style.minHeight = '700px';
      }
    }, 2000); // 2 second delay
  };
</script>
<script async defer src="https://cusdis.com/js/cusdis.es.js"></script>
<script async defer src="https://cusdis.com/js/cusdis.es.js"></script>

Version vom 19. Februar 2026, 08:38 Uhr

<script>

 // Force height after a short delay to ensure it's loaded
 window.onload = function() {
   setTimeout(function() {
     var iframe = document.querySelector('#cusdis_thread iframe');
     if (iframe) {
       iframe.style.height = '700px';
       iframe.style.minHeight = '700px';
     }
   }, 2000); // 2 second delay
 };

</script> <script async defer src="https://cusdis.com/js/cusdis.es.js"></script>