Difference between revisions of "Team:Cambridge-JIC"
Line 56: | Line 56: | ||
lastsec = $("section:last-of-type").prev("section"); | lastsec = $("section:last-of-type").prev("section"); | ||
− | if($(window.height) > lastsec.offset().top + lastsec.height()-10) {$("#sidebar").hide()} else {$("#sidebar").show()} | + | if($(window.height) > lastsec.offset().top + lastsec.height()-10) {console.log("HIDE");$("#sidebar").hide()} else {$("#sidebar").show()} |
}).resize(); | }).resize(); |
Revision as of 14:48, 4 August 2015