ASDSO Dam Safety Toolbox

Template: WhatLinksHere: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
No edit summary
Tag: Manual revert
No edit summary
Line 33: Line 33:
       iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("p")[1].style.display = "none";
       iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("p")[1].style.display = "none";
       content.body.getElementsByTagName("footer")[0].style.display = "none";
       content.body.getElementsByTagName("footer")[0].style.display = "none";
      // Add parent to links
      var anchers = iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("a");
      for (var i=0; i<anchors.length; i++){
        anchors[i].setAttribute('target', '_parent');
      }
       // Show
       // Show
       document.getElementById('iframeDiv').style.display="block";
       document.getElementById('iframeDiv').style.display="block";

Revision as of 18:39, 10 July 2023

Usage