javascript - How do you make an image scroll partly? Halfway between position:fixed and position:absolute -


i want background image move up/down visitor scrolls, not scroll page. it's neither fixed screen nor scrolling rest of content. it's in between position:fixed , position:absolute.

example: http://www.madebyhangar.com/ see how says "we take pride in work , care" background image moves scroll not scroll.

i inspected page firebug , happens div element using background-image, background-position style changed (via scroll event suppose). how effect works.


Comments

Popular posts from this blog

Pull out data related to my apps from Android Play Store and iOS App Store -

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -