Team:NCTU Formosa/source/head

From 2013.igem.org

(Difference between revisions)
Line 19: Line 19:
}
}
$(function() {
$(function() {
-
var long = false;
+
var long = false,
-
var dheight = $(document).height();
+
dheight = $(document).height(),
-
var wheight = $(window).height();
+
wheight = $(window).height();
if($('#toc').height()+100>wheight) { long=true; }
if($('#toc').height()+100>wheight) { long=true; }
-
 
     adjustStyle($(this).width());
     adjustStyle($(this).width());
     $(window).resize(function() {
     $(window).resize(function() {

Revision as of 13:56, 19 September 2013