Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 17: | Line 17: | ||
var iframeWin = document.getElementById("iframeWin"); | var iframeWin = document.getElementById("iframeWin"); | ||
// Set iframe height | // Set iframe height | ||
iframeWin.height = iframeWin.contentWindow.document.body.scrollHeight; | |||
var content = (iframeWin.contentWindow || iframeWin.contentDocument); | var content = (iframeWin.contentWindow || iframeWin.contentDocument); | ||
if (content.document)content = content.document; | if (content.document)content = content.document; |
Revision as of 15:37, 7 July 2023
Usage