I am having trouble following this stackOverflow Q&A:
Fix object to top of browser window when scrolling
I have applied it to this this page
Why is my object not attaching to the top like it should and then being replaced properly when the page is scrolled back to the top?
My jQuery:
$(window).scroll(function () {
if ($(window).scrollTop() > 200) {
$('#contentNavigation').css('top', $(window).scrollTop());
}
}
);
http://jsfiddle.net/mikelegacy/tXBHT/
Please re-review this. Here is what you want.