Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('contentSub').style.display = "none"; | iframeWin.contentWindow.document.getElementById('contentSub').style.display = "none"; | ||
iframeWin.contentWindow.document.getElementsByClassName('usermessage').style.display = "none"; | iframeWin.contentWindow.document.getElementsByClassName('usermessage')[0].style.display = "none"; | ||
// content.body.getElementsByClassName("usermessage").style.display = "none"; | // content.body.getElementsByClassName("usermessage").style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | ||
Line 33: | Line 33: | ||
content.body.getElementsByTagName("footer")[0].style.display = "none"; | content.body.getElementsByTagName("footer")[0].style.display = "none"; | ||
// Show | // Show | ||
iframeWin.style.display="block"; | iframeWin.style.display="block"; | ||
}); | }); |
Revision as of 17:54, 10 July 2023
Usage
What links here
What links here