Code:
function movediv()
{
booking_details.style.top = document.body.scrollTop;
}
---------------
<style>
.demo {color:#000000; border-color:#666666; background-color:#FFCC00; font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold;
layer-background-color:#cccccc; position:absolute; left:12.5%; bottom:0px; width:100%; height:100px; visibility:hidden; z-index:5; border-color:#FFFFFF; border:inherit;}
</style>
---------------
<body onScroll="movediv();">
<div id="booking_details" class="demo" style="visibility:hidden">
....
.... code .....
....
</div>
</body>
When i scroll the DIV sticks to the TOP of the browser, is there any way to
make it sticks to the BOTTOM of the browser as you scroll?