Team:Lyon-INSA/home
From 2012.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#frame").css("width","975px"); | $("#frame").css("width","975px"); | ||
+ | if ($(window).height()<800) | ||
$("#frame").css("height","600px"); | $("#frame").css("height","600px"); | ||
+ | else | ||
+ | $("#frame").css("height",$(window).height()); | ||
}); | }); | ||
$.getScript("https://static.igem.org/mediawiki/2012/5/52/Home.txt"); | $.getScript("https://static.igem.org/mediawiki/2012/5/52/Home.txt"); |
Revision as of 14:58, 23 July 2012