I am currently testing this type of panel jquery : http://codyhouse.co/gem/css-slide-in-panel/
But when i want to detect the scroll from top to make appear a div : no way :(
A means to detect the scroll from top inside a panel? I use this kind of thing without result http://jsfiddle.net/apaul34208/ZyKar/3/
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 500) {
$('.cache').fadeIn();
} else {
$('.cache').fadeOut();
}
});
Best regards,
Is this what you are looking for?
http://jsfiddle.net/ZyKar/2327/
HTML
CSS
Javascript