Team:NCTU Formosa/source/head

From 2013.igem.org

(Difference between revisions)
Line 22: Line 22:
     $(window).resize(function() {
     $(window).resize(function() {
         adjustStyle($(this).width());
         adjustStyle($(this).width());
-
dheight = $(document).height();
 
-
wheight = $(window).height();
 
-
if($('#toc').height()+100>wheight) { long=true; }
 
     });
     });
var lastId,
var lastId,
Line 103: Line 100:
         }
         }
     });
     });
 +
$(window).resize(function() {
 +
dheight = $(document).height();
 +
wheight = $(window).height();
 +
if($('#toc').height()+100>wheight) { long=true; }
 +
});
   var originalFontSize = $('.card').css('font-size');
   var originalFontSize = $('.card').css('font-size');
   $(".resetFont").click(function(){
   $(".resetFont").click(function(){

Revision as of 14:11, 19 September 2013