jquery - How to create a page that has a right column which should not scroll after some point -
if @ page,
http://www.cracked.com/blog/4-simple-pieces-career-advice-almost-no-one-follows/
you see after scrolling down few pages, right column gets fixed on last part , not scrolled down rest of page.(it si fixed on last ad) how can accomplish effect? there tutorial or guide it?
you need use jquery. if .box div want fixed after scrolling:
$(window).scroll(function(){ var scrolltop = $(window).scrolltop(); if(scrolltop > 200){ $('.box').css('position','fixed'); } });
Comments
Post a Comment