which function to use for jquery while scrolling sidebars

Posted by Mirage on Stack Overflow See other posts from Stack Overflow or by Mirage
Published on 2010-05-10T03:37:20Z Indexed on 2010/05/10 3:48 UTC
Read the original article Hit count: 286

Filed under:

I have one image. i want that when someone scrolls the browser window then by jquery i should also change the image position from top as well

I want to use jquery only . Is there function like that.

I don't want to use position:fixed or something like that. I want something like

onScroll(){
var x = getScrollDIstance();
moveImageDown(x);

}

© Stack Overflow or respective owner

Related posts about jQuery