Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<div blah blah... overflow: auto;" onclick="changeDIVScrolling(this);">
...
<script language="javascript">
function changeDIVScrolling( oDiv )
{ with (oDiv.style)
overflow= (overflow=="auto"? "hidden": "auto");
}
</script>
<div id="scroll1"... onclick="changeAllScrollings(this);"> ... </div>
<div id="scroll2"... onclick="changeAllScrollings(this);"> ... </div>
...
function changeAllScrollings()
{ oDivs = document.getElementsByTagName( "DIV" );
for( var i=0; i<oDivs.length; i++ )
if (oDivs[i].id.substring(0, 6)=="scroll")
changeDIVScrolling( oDivs[i] );
}
<html>
<head></head>
<body>
<div style="width:100px;height:100px;overflow:auto;border:1px #000000 solid;" onmousewheel="return(false);">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet ultrices lacus. Mauris faucibus lacus.</div>
</body>
</html>