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

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -