[Javascript] Opening windows with automatic scrollbars

David T. Lovering dlovering at gazos.com
Tue Mar 25 06:25:59 CST 2003


My references suggest that an undefined scrollbars variable is equivalent to the
"auto" you mentioned.  The problem is, if the window is even one pixel tighter
than would be "optimal" for the internal cellpadding defined by the native widgets
it will "automaticly" invoke a scrollbar in the oddest way.

-- Dave Lovering

---------------------------------------------------------------------------------

Another one.

When opening a new window with window.open(), you can define scrollbars=0 or
scrollbars=1, but is it possible to have the scrollbars appearing
automatically if needed, but not having the scrollbars always there, that
is, sort of scrollbars=auto ?

Jaime


More information about the Javascript mailing list