PDA

View Full Version : Browser scrollbar enable-disable



sylver
08-25-2007, 01:39 PM
Is it possible to disable browsers scrollbar on simple page?

Tnx

jscheuer1
08-25-2007, 03:33 PM
Using style:


<style type="text/css">
html, body {
overflow:hidden;
}
</style>

javascript:


<script type="text/javascript">
onload=function(){
document.documentElement.style.overflow=document.body.style.overflow='hidden';
}
</script>

sylver
08-25-2007, 06:31 PM
Tnx man :D