Variante 1
Code zur Einbindung der Wasserampel in eigene HTML-Seite:
<object data="https://ampel.wbv-usingen.de/status/" width="350" height="500">
<embed src="https://ampel.wbv-usingen.de/status/" width="350" height="500">
Error: Embedded data could not be displayed.
</object>
Variante 2
Code zur Einbindung der Wasserampel in eigene HTML-Seite:
<iframe src="https://ampel.wbv-usingen.de/status/" name="wasserampel" id="wasserampel" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="500" width="400" onload="setIframeHeight();">
</iframe>
Variante 3
Code zur Einbindung der Wasserampel in eigene HTML-Seite:
<script>
function setIframeHeight() {
var iFrameID = document.getElementById('iframe');
if(iFrameID) {
iFrameID.height = "";
iFrameID.height = iFrameID.contentWindow.document.body.scrollHeight + "px";
}
}
</script>
<iframe src="https://ampel.wbv-usingen.de/status/" name="wasserampel" id="wasserampel" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="500" width="400" onload="setIframeHeight();">
</iframe>