Template:CodeTest: Difference between revisions
Template page
(Created page with "<html> <style type="text/css"> .codeTestWindow{border:0px; width:100%; height:400px; border-radius:10px;} </style> <script> window.addEventListener( "message", (event) => { var iframes = document.getElementsByTagName('IFRAME'); let frame = undefined; for (var i = 0, iframe, win; i < iframes.length; i++) { iframe = iframes[i]; win = iframe.contentWindow || iframe.contentDocument.defaultView; if (win === e...") |
No edit summary |
||
Line 4: | Line 4: | ||
</style> | </style> | ||
<script> | <script> | ||
if(window.CodeTestSupportScriptsLoaded === undefined){ | |||
window.addEventListener( | window.addEventListener( | ||
"message", | "message", | ||
Line 26: | Line 27: | ||
false, | false, | ||
); | ); | ||
} | |||
window.CodeTestSupportScriptsLoaded = true; | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 20:34, 19 January 2025