Team:Lyon-INSA/home

From 2012.igem.org

(Difference between revisions)
 
(22 intermediate revisions not shown)
Line 6: Line 6:
<script>
<script>
-
$("#frame").css("width",$(window).width());
+
$(document).ready(function(){
-
$("#frame").css("height",$(window).height()-100);
+
$("#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");
$("#p-logo").find("img").attr("src","http://igem-insa.site88.net/site/images/pied_page2.png");
$("#p-logo").find("img").attr("src","http://igem-insa.site88.net/site/images/pied_page2.png");
Line 15: Line 21:
   </head>         
   </head>         
   <body>       
   <body>       
-
     <iframe id="frame" src="http://igem-insa.site88.net/site/home.html" width="1000px" scrolling="no" height="1000px" style="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