iframe test
This commit is contained in:
@@ -36,12 +36,22 @@
|
||||
allowedTypes.includes(gebaeudetyp) && (leerStand === "bis 30") && (heizungsAlter === ">= 3");
|
||||
}
|
||||
|
||||
if ((gebaeudetyp || anlass || einheiten || sanierungsstatus || baujahr || heizungsAlter || leerStand) && window.parent) {
|
||||
window.parent.postMessage("", "*")
|
||||
}
|
||||
// if ((gebaeudetyp || anlass || einheiten || sanierungsstatus || baujahr || heizungsAlter || leerStand) && window.parent) {
|
||||
// window.parent.postMessage("", "*")
|
||||
// }
|
||||
}
|
||||
|
||||
function sendHeight() {
|
||||
const height = document.documentElement.scrollHeight;
|
||||
window.parent.postMessage(height, "https://online-energieausweis.org");
|
||||
}
|
||||
|
||||
window.addEventListener("load", sendHeight);
|
||||
window.addEventListener("resize", sendHeight);
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div id="OEA_widget">
|
||||
<input id="recode" type="hidden" value="widgetvorlage" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user