HBCMS更多的中文手册参考:

SCROLL Attribute | scroll参数属性

DHTML文档教程

Sets or retrieves whether the scroll bars are displayed.

dhtml语法

HTML<HTA:APPLICATION SCROLL = sScroll... >
Scripting[ sScroll = ] HTA:APPLICATION.scroll

DHTML可能的值

sScrollStringthat specifies one of the following values.
yesDefault. Scroll bars are displayed.
noScroll bars are not displayed.
autoScroll bars are displayed only when the content exceeds what can fit in the client area.

The property is read-only. The property has a default value of yes.

Remarks

Note  The scroll property is read only, however the SCROLL attribute can be used to set the initial value.

Setting the body.scroll property to no is an alternate way to prevent scroll bars from being displayed.

DHTML代码范例

This example shows how to retrieve the scroll property.

<HTML>
<HEAD>
<HTA:APPLICATION
ID=oHTA
SCROLL="no"/>
<TITLE>HTA Properties</TITLE>
<STYLE>
BODY {font-size: 8pt; font-family: Arial;}
</STYLE>
</HEAD>
<SCRIPT>
function readFun()
{
alert("The scroll property is set to:  " + oHTA.scroll);
}
</SCRIPT>
<BODY>
<P>Read the property:
<INPUT TYPE="button"  VALUE="Test scroll value" onClick="readFun()"/>
</P>
<p>.</p><p>.</p><p>.</p><p>.</p><p>.</p>
<p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p>
<p>.</p><p>.</p><p>.</p><p>.</p><p>.</p>
<p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p>
<p>.</p><p>.</p><p>.</p><p>.</p><p>.</p>
<p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p>
</BODY>
</HTML>

是否符合公共标准

There is no public standard that applies to this property.

Applies To

HTA:APPLICATION