how to set position of scrollbar code example
Example: scrollbar position
$(window).scroll(function() {
var $height = $(window).scrollTop();
if($height > 50) {
//do something
} else {
//do something
}
});
$(window).scroll(function() {
var $height = $(window).scrollTop();
if($height > 50) {
//do something
} else {
//do something
}
});