Team:Lyon-INSA/home

From 2012.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 8: Line 8:
$(document).ready(function(){
$(document).ready(function(){
$("#frame").css("width","975px");
$("#frame").css("width","975px");
 +
$("#content").css("overflow","hidden");
 +
if ($(window).height()<800)
 +
$("#frame").css("height","600px");
 +
else
 +
$("#frame").css("height",$(window).height()-200);
});
});
$.getScript("https://static.igem.org/mediawiki/2012/5/52/Home.txt");
$.getScript("https://static.igem.org/mediawiki/2012/5/52/Home.txt");
Line 16: Line 21:
   </head>         
   </head>         
   <body>       
   <body>       
-
     <iframe id="frame" src="http://igem-insa.site88.net/site/home.html"  scrolling="no" style="height: auto; border:none"></iframe>  
+
     <iframe id="frame" src="http://igem-insa.site88.net/site/home.html"  scrolling="auto" style="border:none;overflow: -moz-scrollbars-vertical;overflow-x: hidden;overflow-y: scroll;"></iframe>  
   </body>
   </body>
</html>
</html>

Latest revision as of 15:28, 23 July 2012