ASDSO Dam Safety Toolbox

Template: WhatLinksHere: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
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 & footer
       // Hide header, heading, back link and footer
       console.log(content.body.getElementById("mw-content-text"));
       var linksDiv = iframeWin.contentWindow.document.getElementById('mw-content-text');
       console.log(content.body.getElementById("mw-content-text").getElementsByTagName("fieldset"));
       linksDiv.getElementsByTagName("fieldset").style.display = "none";
      // linksDiv.getElementsByTagName("fieldset");


       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