Difference between revisions of "Template:WPI Worcester"

Line 272: Line 272:
  
 
<script>
 
<script>
function detectSize(){
+
function pageSetup(){
 
   toggleButton = document.getElementById("menu_toggle_button");
 
   toggleButton = document.getElementById("menu_toggle_button");
 
   if (window.matchMedia("(max-width: 940px)").matches){
 
   if (window.matchMedia("(max-width: 940px)").matches){
Line 280: Line 280:
 
       toggleMenu();
 
       toggleMenu();
 
   }
 
   }
 +
 +
  $("#main_content")find("a").removeClass('external');
 
}
 
}
  
Line 315: Line 317:
  
  
<body onload="detectSize()">
+
<body onload="pageSetup()">
 
<div id="header">
 
<div id="header">
 
   <a id="header_link" href="https://2018.igem.org/Team:WPI_Worcester"><img id="header_logo" src="https://static.igem.org/mediawiki/2018/e/ed/T--WPI_Worcester--logo.svg"/>
 
   <a id="header_link" href="https://2018.igem.org/Team:WPI_Worcester"><img id="header_logo" src="https://static.igem.org/mediawiki/2018/e/ed/T--WPI_Worcester--logo.svg"/>

Revision as of 01:48, 16 October 2018