Template:Team:Sheffield/NavigationBar

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
        $("#navigationBar").addClass("scrolling");
        $("#navigationBar").addClass("scrolling");
        $("#teamLogo li a img").addClass("scrolling");
        $("#teamLogo li a img").addClass("scrolling");
 +
        $("#shefUniLogo li a img").addClass("scrolling");
    } else {
    } else {
        $("#navigationBar").removeClass("scrolling");
        $("#navigationBar").removeClass("scrolling");
        $("#teamLogo li a img").removeClass("scrolling");
        $("#teamLogo li a img").removeClass("scrolling");
 +
        $("#shefUniLogo li a img").addClass("scrolling");
    }
    }
});
});
Line 175: Line 177:
}
}
-
#teamLogo {
+
#teamLogo, #shefUniLogo {
float: left;
float: left;
margin-right: auto;
margin-right: auto;
}
}
-
#teamLogo li a img {
+
#teamLogo li a img, #shefUniLogo li a img {
height: 80px;
height: 80px;
-webkit-transition: height 0.25s linear;
-webkit-transition: height 0.25s linear;
Line 189: Line 191:
#teamLogo li a img.scrolling {
#teamLogo li a img.scrolling {
 +
height: 40px;
 +
}
 +
 +
#shefUniLogo li a img.scrolling {
height: 40px;
height: 40px;
}
}
Line 309: Line 315:
<li class="menuText"><a href="https://2014.igem.org/Team:Sheffield/tmp">Home</a></li>
<li class="menuText"><a href="https://2014.igem.org/Team:Sheffield/tmp">Home</a></li>
<span id="teamLogo"><li><a href="https://2014.igem.org/Team:Sheffield/tmp"><img src="https://static.igem.org/mediawiki/2014/d/da/TeamLogo.png"></a></li></span>
<span id="teamLogo"><li><a href="https://2014.igem.org/Team:Sheffield/tmp"><img src="https://static.igem.org/mediawiki/2014/d/da/TeamLogo.png"></a></li></span>
 +
<span id="shefUniLogo"><li><a href="https://2014.igem.org/Team:Sheffield/tmp"><img src="https://static.igem.org/mediawiki/2014/b/bd/UoSLogo.gif"></a></li></span>
</ul>
</ul>
</div>
</div>
</body>
</body>
</html>
</html>

Revision as of 11:31, 15 October 2014