Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 34: | Line 34: | ||
$(".downarrow").each(function(){ | $(".downarrow").each(function(){ | ||
$(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:21, 4 August 2015