Skip to content Skip to sidebar Skip to footer

Element Floats According To Scroll

I would like to know how can make make an ELEMENT float according to scroll . For example , when I scroll down , the element that is position:fixed and left:0 will slowly come down

Solution 1:

the floating type of menu/bar you are searching for is little old style. Why dont you try something like this

Fixed floating elements

http://jsfiddle.net/dueWG/9/

http://static.jqueryfordesigners.com/demo/fixedfloat.html

Solution 2:

Solution 3:

if you need your element to follow the scroll relative to your window you can use

position:fixed;

instead of absolute;

Post a Comment for "Element Floats According To Scroll"