Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary Tag: Reverted |
||
Line 21: | Line 21: | ||
if (content.document)content = content.document; | if (content.document)content = content.document; | ||
// Adjust padding/margin | // Adjust padding/margin | ||
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"; | ||
// Hide header, heading, back link, special messages, form, filters, and footer | // Hide header, heading, back link, special messages, form, filters, and footer | ||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; | ||
Line 43: | Line 43: | ||
} | } | ||
</script> | </script> | ||
<style> | |||
body.mw-special-Whatlinkshere ul { list-style: decimal } | |||
body.mw-special-Whatlinkshere #maincontentwrapper { | |||
margin-left:0px; | |||
padding-left: 0px; | |||
} | |||
</style> | |||
</html> | </html> |
Revision as of 18:27, 10 July 2023
Usage