Team:Lyon-INSA/home
From 2012.igem.org
(Difference between revisions)
(20 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("#frame").css("width",$(window). | + | $("#frame").css("width","975px"); |
- | $("#frame").css("height",$(window).height()); | + | $("#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 17: | Line 21: | ||
</head> | </head> | ||
<body> | <body> | ||
- | <iframe id="frame" src="http://igem-insa.site88.net/site/home.html" scrolling=" | + | <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