[Javascript] scrollbars

Roger Roelofs rer at datacompusa.com
Thu Mar 31 07:14:59 CST 2005


Dash,

On Mar 31, 2005, at 5:11 AM, Dash wrote:

> does anyone know how to change the visibility of a pages scrollbars, 
> or if it's even possible?
>  
> could it be done with something like:
> document.getElementsByTagName("body").item[0].style.overflow="auto"

I don't know of a way to remove the scroll bars in ie.  Most other 
browsers only show scroll bars when they are needed.  overflow: auto; 
is the default behavior, show scrollbars if needed.  overflow: hidden; 
tells the browser to never show the scrollbar.

hth,

Roger
-------------------------------------------------------
Roger Roelofs                          web   www.datacompusa.com
Datacomp Appraisal Services   Email rer at datacompusa.com
3215 Eaglecrest Drive, NE
Grand Rapids, MI  49525-4593




More information about the Javascript mailing list