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.paddingLeft = "0px"; | iframeWin.contentWindow.document.getElementById('maincontentwrapper').style.paddingLeft = "0px"; | ||
// Hide header, heading, back link | // Hide header, heading, back link and footer | ||
var linksDiv = iframeWin.contentWindow.document.getElementById('mw-content-text'); | |||
linksDiv.getElementsByTagName("fieldset").style.display = "none"; | |||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; |
Revision as of 14:06, 10 July 2023
Usage