Template:Team:Sheffield/NavigationBar
From 2014.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
if ($(document).scrollTop() > 0) { | if ($(document).scrollTop() > 0) { | ||
$("#navigationBar").addClass("scrolling"); | $("#navigationBar").addClass("scrolling"); | ||
- | |||
$("#teamLogo li a img").addClass("scrolling"); | $("#teamLogo 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"); | ||
- | |||
} | } | ||
}); | }); | ||
Line 152: | Line 148: | ||
color: black; | color: black; | ||
opacity: 0.9; | opacity: 0.9; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Revision as of 11:19, 15 October 2014