Yet another deviant property in the browser mess! Having just discussed the noResize property which is a switching mechanism having a Boolean setting, here we are with another switching property. However, as is the case with border controls, this one is not Boolean. Instead it accepts the values:
yes
no
auto
Be aware that if you allow the scrollbars to be invisible by setting this property to "no" or "auto" when they are not present, Netscape will ignore the scroll() method that you apply to the Window object. This means that to scroll the content of a window, you must have visible scrollbars. MSIE is far more forgiving and lets you scroll as much as you like regardless of whether the scrollbars are present or not.
You can work around this in Netscape by creating Layers that can be scrolled independently of the presence of window scrollbars.
See also: | IFRAME.scrolling |
Prev | Home | Next |
Frame.parent | Up | Frame.src |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |