Hi there!
I have this code
$(function() {
$(window).scroll(function() {
console.log('scrolling ', $(window).scrollTop(), $(document).height());
if($(window).scrollTop() >= 200 && $(window).scrollTop() <= ($(document).height() - 500)) {
$('#landingpagefooter').removeClass('hide');
} else {
$('#landingpagefooter').addClass('hide');
}
});
});
This could should hide / reveal a sticky footer upon scroll. However, it is giving a console error, so i think there is a problem using this with cornerstone?
