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
You need to actually capture the event first.
I don’t know much about scrolling and positioning, but if you’re not capturing the event, that could be you’re problem.