master
Jay Moore/NQ4T 1 year ago
parent 292987496e
commit 270706e861

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

Loading…
Cancel
Save