Skip to content Skip to sidebar Skip to footer

Stop Float At Footer Jquery

Im using this code: $(window).scroll(function () { if (($(document).height() - $(window).scrollTop()) <= 500){ $('#content-5').css({ position: 'fixed',

Solution 1:

I have updated you fiddle....change your first block of css as...

$("#content-5").css({ position: 'fixed', top: '0px', bottom: 'auto' });

fiiddle

Post a Comment for "Stop Float At Footer Jquery"