I am using this code to slide the image down when window is scroled down but nothing is happenning
$('#left_img').css("top",$(window).scrollTop()+"px");
#left_img {
margin:0 0 0 -55px !important;
position:absolute;
top:5px !important;
}
Is it possible to find out how much is height of whole scroll window and then if image reaches certain height then it should stop sliding down
See Question&Answers more detail:os