Team:Tongji
From 2014.igem.org
(Difference between revisions)
Yuiuiuiuiui (Talk | contribs) |
Yuiuiuiuiui (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
- | </ | + | <script> |
- | + | ||
- | + | $('head').empty(); | |
- | + | $('body').empty().removeClass().css('margin','0'); | |
- | + | ||
- | + | var iframe = $('<iframe src="http://yuiuiuiuiui.cloud66-162.78host.com" style="border: 0; width: 100%;"></iframe>').css('height',$(window).height()); | |
- | + | $('body').html(iframe); | |
- | + | ||
- | + | $(window).resize(function () { | |
- | + | iframe.css('height',$(window).height()); | |
- | + | }); | |
- | + | ||
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
</html> | </html> |
Revision as of 15:24, 13 August 2014