ASDSO Dam Safety Toolbox

Template: WhatLinksHere: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
No edit summary
No edit summary
Line 34: Line 34:
       iframeWin.height = iframeWin.contentWindow.document.body.scrollHeight;
       iframeWin.height = iframeWin.contentWindow.document.body.scrollHeight;
     }
     }
(function() {
  if (window.location != window.parent.location) {
    window.document.addEventListener('click', window.parent.iframe_clicked);
  }
})();
function iframe_clicked(event) {
  console.log("wow, no kiddin!");
}
   </script>
   </script>
</html>
</html>

Revision as of 16:03, 7 July 2023

Usage