Sets or retrieves a value that indicates whether the scroll bars are turned on or off.
What's New for Microsoft® Internet Explorer 6
When you use the
!DOCTYPE declaration to specify standards-compliant mode, this attribute applies to the
HTML element.
dhtml语法
HTML | <ELEMENT SCROLL
= sScroll... >
|
---|
Scripting | object.scroll [ = sScroll ] |
---|
DHTML可能的值
sScroll | String that
specifies or receives one of the following values:yes | Default. Scroll bars are turned on. | no | Scroll bars are turned off. | auto | Scroll bars are shown when the page content exceeds the client area. |
|
The property is read/write.
The property has a default value of
yes.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.
remarks
with internet explorer 6 and later, when you use the !doctype declaration to specify standards-compliant mode, this attribute applies to the html element. when standards-compliant mode is not specified, as with earlier versions of internet explorer, this attribute applies to the body element, not the html element.
是否符合公共标准
There is no public standard that applies to this property.
Applies To
更多语法参考
CSS Enhancements in Internet Explorer 6