Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 33: | Line 33: | ||
$(".downarrow").each(function(){ | $(".downarrow").each(function(){ | ||
− | if($(this).attr("id") != "overlay") { | + | if($(this).attr("id") !== "overlay") { |
$(this).on("click", function(){ | $(this).on("click", function(){ | ||
− | console.log($(this).parents("section").next()) | + | console.log($(this).parents("section").next().offset().top) |
}) | }) | ||
$(this).css("cursor", "pointer") | $(this).css("cursor", "pointer") |
Revision as of 01:29, 4 August 2015