will chatgpt get it right

master
Jay Moore/NQ4T 11 months ago
parent 5a9ff61284
commit ebc6bc4379

@ -7,20 +7,26 @@ order: 6
<div class="message">
I hope to add Allstar Node stuff soon</div>
<iframe id="pistar" frameborder="0" src="https://pistar.nq4t.com" width="100%"></iframe>
<iframe id="allscan" frameborder="0" src="https://59408.nq4t.com/allscan" width="100%"></iframe>
<div class='iframe-parent'>
<iframe id="pistar" frameborder="0" src="https://pistar.nq4t.com" width="100%"</iframe>
</div>
<div class='iframe-parent'>
<iframe id="allscan" frameborder="0" src="https://59408.nq4t.com/allscan" width="100%"</iframe>
</div>
<script>
function resizeIframe() {
var iframe = document.getElementById('pistar');
iframe.style.height = window.innerHeight + 'px';
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
}
// Initial resizing when the page loads
window.addEventListener('load', resizeIframe);
window.addEventListener('load', function() {
var iframe = document.getElementById('pistar');
iframe.addEventListener('load', resizeIframe);
resizeIframe();
});
// Resizing on window resize
window.addEventListener('resize', resizeIframe);
@ -28,11 +34,15 @@ I hope to add Allstar Node stuff soon</div>
<script>
function resizeIframe() {
var iframe = document.getElementById('allscan');
iframe.style.height = window.innerHeight + 'px';
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
}
// Initial resizing when the page loads
window.addEventListener('load', resizeIframe);
window.addEventListener('load', function() {
var iframe = document.getElementById('allscan');
iframe.addEventListener('load', resizeIframe);
resizeIframe();
});
// Resizing on window resize
window.addEventListener('resize', resizeIframe);

Loading…
Cancel
Save