I want to fix element position after some scroll.
Ex : http://www.quicksprout.com/2012/11/29/7-lessons-learned-from-my-very-first-customer/
When you scrolling down you can see "Neil increased TechCrunch's traffic by 30% within 2 months" banner is fixed. I want to add that type of banner to my blog.
e.g. using jQuery
$(document.body).toggleClass('sticky', window.pageYOffset > 200);
Then you just add position fixed to the thing within .sticky
This topic is now closed. New replies are no longer allowed.