Japhethkelly (Talk | contribs) |
Japhethkelly (Talk | contribs) |
||
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 = "New text!"; | ||
} else { | } else { | ||
Logo.style.width = '250px'; | Logo.style.width = '250px'; | ||
Line 301: | Line 302: | ||
<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"> | <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"> | ||
</a> | </a> | ||
− | <a href="https://www.ashesi.edu.gh/" class="pull-left" > | + | <a id="ashName" style = "transition: width 2s;" href="https://www.ashesi.edu.gh/" class="pull-left" > |
Ashesi University College | Ashesi University College | ||
</a> | </a> |
Revision as of 10:51, 10 October 2017