Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 21: | Line 21: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | $("#overlay").width($("#intro").width()); | + | //$("#overlay").width($("#intro").width()); |
− | $("#overlay").height($("#intro").height()); | + | //$("#overlay").height($("#intro").height()); |
− | $("#overlay").css("position", "absolute"); | + | //$("#overlay").css("position", "absolute"); |
− | $("#overlay").css("top", $("#intro").css("top")+"px"); | + | //$("#overlay").css("top", $("#intro").css("top")+"px"); |
− | $("#overlay").css("left", $("#intro").css("left")+"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%;"></div> | + | <div class="downarrow" id="overlay" style="background:url(//2015.igem.org/wiki/images/6/60/CamJIC-Overlay_guide.png); background-size: 100% 100%;width:100%;height:27%;position:absolute"></div> |
<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)"> |
Revision as of 22:51, 3 August 2015