Sliding banner that disappears/re-appears on scroll events.
I don't know if this is possible or not, I'm fairly new to jQuery :)
I've got jQuery sliding in a div banner at the bottom of the screen when the page loads using:
$(document).ready(function(){
$("#slidingbanner").slideToggle("slow");
});
I'd like this banner to slide away again (or fade out or something) when the user starts scrolling the page down and then, when they've finished scrolling, slide back up again from the bottom of the screen after a couple of seconds delay.
Is this possible? I can bind handlers to the scroll event but this doesn't differentiate between scrolling stopping and starting, and when the banner re-appears its still in its old location, just further up the page. It's positioned absolutely using bottom: 0px.