Team:Lyon-INSA/home
From 2012.igem.org
(Difference between revisions)
(29 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
<script type="text/javascript" href="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | <script type="text/javascript" href="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | ||
- | <script>$.getScript("https://static.igem.org/mediawiki/2012/5/52/Home.txt");</script> | + | <script> |
+ | $(document).ready(function(){ | ||
+ | $("#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"); | ||
+ | $("#p-logo").find("img").attr("src","http://igem-insa.site88.net/site/images/pied_page2.png"); | ||
+ | |||
+ | </script> | ||
<head> | <head> | ||
</head> | </head> | ||
<body> | <body> | ||
- | <iframe src="http://igem-insa.site88.net/site/home.html" | + | <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