Difference between revisions of "Template:AshesiGhana/NavBar"

Line 29: Line 29:
 
   var Logo = document.getElementById("Logo")
 
   var Logo = document.getElementById("Logo")
 
   if (document.body.scrollTop > 5 || document.documentElement.scrollTop > 5) {
 
   if (document.body.scrollTop > 5 || document.documentElement.scrollTop > 5) {
    Logo.style.width = '30px';
 
  } else {
 
 
     Logo.style.width = '60px';
 
     Logo.style.width = '60px';
 +
  } else {
 +
    Logo.style.width = '120px';
 
   }
 
   }
 
}
 
}
Line 299: Line 299:
 
</div>
 
</div>
 
     <div class="brand" class="pull-left" >  
 
     <div class="brand" class="pull-left" >  
       <a href="https://www.ashesi.edu.gh/" class="pull-left" ><img style="width:60px" id='Logo' src="https://static.igem.org/mediawiki/2017/5/58/T--AshesiGhana--logo3.png">
+
       <a href="https://www.ashesi.edu.gh/" class="pull-left" ><img style="width:120px" id='Logo' src="https://static.igem.org/mediawiki/2017/5/58/T--AshesiGhana--logo3.png">
 
Ashesi University College
 
Ashesi University College
 
     </a>
 
     </a>

Revision as of 10:08, 5 October 2017