Difference between revisions of "Template:AshesiGhana/NavBar"

Line 30: Line 30:
 
   if (document.body.scrollTop > 5 || document.documentElement.scrollTop > 5) {
 
   if (document.body.scrollTop > 5 || document.documentElement.scrollTop > 5) {
 
     Logo.style.width = '60px';
 
     Logo.style.width = '60px';
     document.getElementById("ashName").innerHTML = "Ashesi University <br> College";
+
     document.getElementById("ashName").innerHTML = "Ashesi University College";
 
   } else {
 
   } else {
 
     Logo.style.width = '250px';
 
     Logo.style.width = '250px';
Line 301: Line 301:
 
</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: 250px; transition: width 2s;" id='Logo' src="https://static.igem.org/mediawiki/2017/5/58/T--AshesiGhana--logo3.png"><div style="float: right;">
+
       <a href="https://www.ashesi.edu.gh/" class="pull-left" ><img style = "width: 250px; transition: width 2s;" id='Logo' src="https://static.igem.org/mediawiki/2017/5/58/T--AshesiGhana--logo3.png"><div id="ashName" style="float: right;">
 
     Ashesi University <br> College</div>
 
     Ashesi University <br> College</div>
 
     </a>
 
     </a>

Revision as of 11:16, 10 October 2017