Changes

Jump to navigation Jump to search
Add ReplaceHeader function
Line 6: Line 6:  
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'  
 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'  
 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 +
 +
ReplaceHeader();
 +
 +
function ReplaceHeader()
 +
{    alert("ReplaceHeader")
 +
  var Hdr = document.getElementById("hiddenHdg")
 +
  if (Hdr)
 +
  {
 +
    var H1=document.getElementById("top");
 +
    if (H1)
 +
    {
 +
      H1=H1.nextSibling;
 +
      if (H1) and (H1.nodeName == "H1")
 +
      {
 +
      H1.parentNode.replaceChild(H1,Hdr);
 +
      Hdr.style.visibility="visible"
 +
      }
 +
    }
 +
  }
 +
}
    
//popupUseQueryInterface=false;
 
//popupUseQueryInterface=false;
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu