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.

50 lines
1.4 KiB
Markdown

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