Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
iframeWin.contentWindow.document.getElementById('maincontentwrapper').style.marginLeft = "0px"; | iframeWin.contentWindow.document.getElementById('maincontentwrapper').style.marginLeft = "0px"; | ||
iframeWin.contentWindow.document.getElementById('maincontentwrapper').style.paddingLeft = "0px"; | iframeWin.contentWindow.document.getElementById('maincontentwrapper').style.paddingLeft = "0px"; | ||
console.log(iframe.contentWindow.document.body.scrollWidth); | |||
console.log(iframe.contentWindow.document.body.scrollHeight); | |||
// Hide header, heading, back link & footer | // Hide header, heading, back link & footer | ||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; |
Revision as of 13:32, 7 July 2023
Usage