Difference between revisions of "Team:Oxford"

Line 20: Line 20:
 
<img id="start-screen" src = "https://static.igem.org/mediawiki/2017/c/c8/T--oxford--home--background.jpeg" style = "display: none">
 
<img id="start-screen" src = "https://static.igem.org/mediawiki/2017/c/c8/T--oxford--home--background.jpeg" style = "display: none">
  
 +
<div class="container-fluid">
 +
<div style="margin-top: 100px"></div>
 +
<h1 class="text-center"><i>See. cruzi</i></h1> 
 
<div id="wrapper" role="wrapper">
 
<div id="wrapper" role="wrapper">
 
<canvas id="main" width="960" height="540" style="display: block; background-color: #f7eff0;"></canvas>
 
<canvas id="main" width="960" height="540" style="display: block; background-color: #f7eff0;"></canvas>
 
</div>
 
</div>
 
+
</div>
  
  
Line 96: Line 99:
 
         window.addEventListener('resize',function(e){
 
         window.addEventListener('resize',function(e){
 
             //$("#main").outerHeight($(window).height()-$("#main").offset().top- Math.abs($("#main").outerHeight(true) - $("#main").outerHeight()));
 
             //$("#main").outerHeight($(window).height()-$("#main").offset().top- Math.abs($("#main").outerHeight(true) - $("#main").outerHeight()));
 +
            console.log(main.width);
 
             $("#main").outerHeight(main.width*9/16)
 
             $("#main").outerHeight(main.width*9/16)
 +
            console.log(main.height);
  
 
         })
 
         })

Revision as of 15:53, 31 October 2017

See. cruzi