Created
March 6, 2025 21:49
-
-
Save jpblancoder/cb4873ec552e52ff35f9038c05b79005 to your computer and use it in GitHub Desktop.
Revisions
-
jpblancoder renamed this gist
Mar 6, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jpblancoder created this gist
Mar 6, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ <html lang="en-CA"> <head></head> <body> <div>Your regional map widget here</div> <script> (function() { function handleResize() { if (window.parent !== window) { window.parent.postMessage({ type: "@fusion/pageSize", payload: { height: document.body?.scrollHeight, width: document.body?.scrollWidth, }, }, "*"); } } window.addEventListener("DOMContentLoaded", handleResize); window.addEventListener("load", handleResize); window.addEventListener("resize", handleResize); })(); </script> </body> </html>