Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 6: | Line 6: | ||
width: 256px; | width: 256px; | ||
height:256px; | height:256px; | ||
− | background: url(//2015.igem.org/wiki/images/b/be/CamJIC-Downarrow.png) | + | background: url(//2015.igem.org/wiki/images/b/be/CamJIC-Downarrow.png) |
− | + | ||
} | } | ||
</style> | </style> | ||
Line 34: | Line 33: | ||
$(".downarrow").each(function(){ | $(".downarrow").each(function(){ | ||
− | $(this).on("click", function(){ | + | if($(this).attr("id") != "overlay") { |
− | + | $(this).on("click", function(){ | |
− | + | console.log($(this).parents("section").next()) | |
− | + | }) | |
+ | $(this).css("cursor", "pointer") | ||
+ | } | ||
}) | }) | ||
Line 43: | Line 44: | ||
</script> | </script> | ||
− | <div class="downarrow" id="overlay" style=" | + | <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; padding-top:0"> | <section id="intro" style="background-color: #fff; padding-top:0"> | ||
<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 01:28, 4 August 2015