I want to scroll to get the item in the view when it clicked, however I cannot get the top position when clicked:
Here is what I'm trying to do now:
$( "section" ).click(function(e) { console.log("thing top: "+$(this).position().top);
However, I always get the same top position, it is now important which element to click. How can I do it right?
source share