Use jQuery for this. You'll need to calculate the window height somehow and kill the script when the page is scrolled xxx px from top. Offhand, I've never tried to do this. But I've used something similar in reverse. The following shows/hides a division on scroll.