Team:St Pauls London

From 2014hs.igem.org

(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 2: Line 2:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
<script>
-
   $('html').empty();
+
 
 +
   $('head').empty();
 +
  $('body').empty().removeClass().css('margin','0');
    
    
-
+
   var iframe = $('<iframe src="http://igem.lucaciraolo.com" style="border: 0; width: 100%;"></iframe>').css('height',$(window).height());
-
   $('html').html('<iframe src="http://igem.lucaciraolo.com" width="100%" height="100%"></iframe>');
+
   $('body').html(iframe);
-
   $('html').html($('iframe').html());
+
 
 +
  $(window).resize(function () {
 +
    iframe.css('height',$(window).height());
 +
  });
 +
 
</script>
</script>
</html>
</html>

Latest revision as of 22:02, 12 May 2014