I'm trying to make a div stick to the header once the user has started scrolling down the page . I found the example How can I make a div stick to the top of the screen once it's been scrolled to?
I used the code that has 24 votes . Live demo.
PROBLEMS : 1. I want to make the div stop before hitting the footer. i don't want to show it over the footer . 2. I don't know why this works with jquery 1.3.2 but not with 1.5.2 or a later version .
ofcourse any other jquery code / plugin or ideea would be great!