$("#other-content").click(function() {
var dest = $('input[value="skip0"]').offset().top;
console.log(dest, typeof(dest));
$("html, body").animate({ scrollTop: dest });
});
I can't figure out why I can click the red bar and the window will scroll, but if I click the orange one, it doesn't
The difference is that I am referencing a hidden inputs placement for the scrolling of the orange bar
If I scroll and then click the orange bar, the top property of the input changes. Not sure why
I realize the input's top position is 0, but even if it is at 900, it doesn't work correctly