Team:Lyon-INSA/home
From 2012.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("#frame").css("width",$(window). | + | $("#frame").css("width","975px"); |
+ | $("#content").css("overflow","hidden"); | ||
+ | if ($(window).height()<800) | ||
+ | $("#frame").css("height","600px"); | ||
+ | else | ||
$("#frame").css("height",$(window).height()-200); | $("#frame").css("height",$(window).height()-200); | ||
}); | }); | ||
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