This commit is contained in:
2025-05-06 23:20:55 +02:00
parent 7247a2a928
commit acfa4e1cd2
+16 -1
View File
@@ -93,7 +93,22 @@ Minutes written by {{Felix}}
## 12/05/2025
<div class="plot">
<iframe frameborder="0" scrolling="no" width="100%" height="100%" style="height:100%; width:100%; border:none;" src="files/plot20250512.html"></iframe>
<iframe frameborder="0" scrolling="no" width="100%" height="100%" style="height:100%; width:100%; border:none;" src="files/plot20250512.html" id="Iframe"></iframe>
<script>
// Selecting the iframe element
var frame = document.getElementById("Iframe");
// Adjusting the iframe height onload event
frame.onload = function() {
// set the height of the iframe as
// the height of the iframe content
frame.style.height = frame.contentWindow.document.body.scrollHeight + 'px';
// set the width of the iframe as the
// width of the iframe content
frame.style.width = frame.contentWindow.document.body.scrollWidth + 'px';
}
</script>
</div>
## 14/04/2025