Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 23: | Line 23: | ||
$("#overlay").width($("#intro").width()); | $("#overlay").width($("#intro").width()); | ||
$("#overlay").height($("#intro").height()); | $("#overlay").height($("#intro").height()); | ||
+ | $("#overlay").css("position", "absolute"); | ||
+ | $("#overlay").css("top", $("#intro").css("top")+"px"); | ||
+ | $("#overlay").css("left", $("#intro").css("left")+"px"); | ||
// todo: remove on mobile | // todo: remove on mobile | ||
}); | }); | ||
</script> | </script> | ||
+ | <div class="downarrow" id="overlay" style="background:url(//2015.igem.org/wiki/images/6/60/CamJIC-Overlay_guide.png); background-size: 100% 100%;" /> | ||
<section id="intro" 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 style="width: 40%; margin: 450px 530px;"></div> | <div style="width: 40%; margin: 450px 530px;"></div> | ||
</div> | </div> |
Revision as of 22:30, 3 August 2015