Team:St Pauls London
From 2014hs.igem.org
(Difference between revisions)
Joetheolevin (Talk | contribs) |
Joetheolevin (Talk | contribs) |
||
(6 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
$('head').empty(); | $('head').empty(); | ||
- | $('body').empty().removeClass(); | + | $('body').empty().removeClass().css('margin','0'); |
- | var iframe = $('<iframe src="http://igem.lucaciraolo.com" style="border: 0; width: 100%; | + | var iframe = $('<iframe src="http://igem.lucaciraolo.com" style="border: 0; width: 100%;"></iframe>').css('height',$(window).height()); |
$('body').html(iframe); | $('body').html(iframe); | ||
- | + | ||
+ | $(window).resize(function () { | ||
+ | iframe.css('height',$(window).height()); | ||
+ | }); | ||
+ | |||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 22:02, 12 May 2014