Team:Shenzhen BGIC ATCG/temp/menu.html
From 2013.igem.org
(Difference between revisions)
Line 34: | Line 34: | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
var scroH = $(this).scrollTop(); | var scroH = $(this).scrollTop(); | ||
- | var screenH = window.innerHeight * 0. | + | var screenH = window.innerHeight * 0.5; |
if(scroH>=board9_top - screenH){ | if(scroH>=board9_top - screenH){ | ||
set_cur("#navleftsub9"); | set_cur("#navleftsub9"); |
Revision as of 17:40, 15 September 2013