You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB
Markdown

---
layout: page2
title: NQ4T's Pi-Star
sidebar: 1
order: 6
---
<div class="message">
I hope to add Allstar Node stuff soon</div>
<div class="iframe-parent">
<iframe id="pistar" name="pistar" frameborder="0" src="https://pistar.nq4t.com"></iframe></div>
<div class="iframe-parent">
<iframe id="allscan" name="allscan" frameborder="0" src="https://59408.nq4t.com/allscan"></iframe>
</div>
<script>
function resizeIframe(iframeId) {
var iframe = document.getElementById(iframeId);
var parent = iframe.parentNode;
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
parent.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
}
// Initial resizing when the page loads
window.addEventListener('load', function() {
resizeIframe('pistar');
resizeIframe('allscan');
});
// Resizing on window resize
window.addEventListener('resize', function() {
resizeIframe('pistar');
resizeIframe('allscan');
});
</script>