Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 20: | Line 20: | ||
}) | }) | ||
+ | $(document).ready(function(){ | ||
+ | $("#overlay").width($("#intro").width()); | ||
+ | $("#overlay").height($("#intro").height()); | ||
+ | // todo: remove on mobile | ||
+ | }); | ||
</script> | </script> | ||
− | <section style="background-color: #fff"> | + | <section id="intro" style="background-color: #fff"> |
<div class="slide" style="background-image: url(//2015.igem.org/wiki/images/f/f8/CamJIC-Panel-Main.png)" data-mobimg="url(//2015.igem.org/wiki/images/f/f8/CamJIC-Logo2.png)"> | <div class="slide" style="background-image: url(//2015.igem.org/wiki/images/f/f8/CamJIC-Panel-Main.png)" data-mobimg="url(//2015.igem.org/wiki/images/f/f8/CamJIC-Logo2.png)"> | ||
− | < | + | <div class="downarrow" id="overlay" style="background:url(//2015.igem.org/wiki/images/6/60/CamJIC-Overlay_guide.png); background-size: 100% 100%;" /> |
<div style="width: 40%; margin: 450px 530px;"></div> | <div style="width: 40%; margin: 450px 530px;"></div> | ||
</div> | </div> |
Revision as of 17:56, 3 August 2015