Team:NCTU Formosa/source/head

From 2013.igem.org

(Difference between revisions)
Line 85: Line 85:
if($('#toc').height()+100>$(window).height()) { long=true; }
if($('#toc').height()+100>$(window).height()) { long=true; }
     $(document).scroll(function() {
     $(document).scroll(function() {
-
         if ($(document).scrollTop() > 5000) {
+
         if ($(document).scrollTop() > $(document).height()/2) {
             if (!away) {
             if (!away) {
if (long){
if (long){

Revision as of 12:52, 19 September 2013