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.

22 lines
446 B
Markdown

2 years ago
---
layout: page2
title: Pi-Star Dashboard (Live)
sidebar:
order: 6
---
<iframe src="https://pistar.nq4t.com" id="child-iframe"></iframe>
<script>
let iframe = document.querySelector("#child-iframe");
iframe.addEventListener('load', function() {
setInterval(function() {
iframe.style.height = iframe.contentDocument.body.scrollHeight + 'px';
iframe.style.width = iframe.contentDocument.body.scrollWidth + 'px';
}, 500);
});
</script>