title: Javascript or Jquery: Scroll to Fixed position div
body: <p>I want a html div which will scroll when user scroll down the page and it will get to fixed position when it's parent tag ends. For example:- See this link <a href="http://www.9gag.com/" rel="nofollow">http://www.9gag.com/</a> they have alot to posts on one page. When we scroll one post and go to end of the first post, the title and share buttons become to fixed position and then the second post do the same and same for the next posts. Just exactly like that. How can we do this in Jquery or raw javascript or in css.</p>