SCROLLFLAT Attribute | scrollFlat参数属性
| DHTML文档教程 |
Sets or retrieves whether the scroll bar is 3-D or flat.
dhtml语法
HTML | <HTA:APPLICATION SCROLLFLAT
= sScrollFlat... >
|
---|
Scripting | [ sScrollFlat = ] HTA:APPLICATION.scrollFlat |
---|
DHTML可能的值
sScrollFlat | Stringthat specifies one of the following values. yes | Scroll bars are flat. | no | Default. Scroll bars are 3-D. |
|
The property is read-only.
The property has a default value of
no.
Remarks
Note The scrollFlat property is read only, however the SCROLLFLAT attribute can be used to set the initial value.
DHTML代码范例
This example shows how to retrieve the scrollFlat property.
<HTML>
<HEAD>
<HTA:APPLICATION
ID=oHTA
SCROLLFLAT="yes"/>
<TITLE>HTA Properties</TITLE>
<STYLE>
BODY {font-size: 8pt; font-family: Arial;}
</STYLE>
</HEAD>
<SCRIPT>
function readFun()
{
alert("The scrollFlat property is set to: " + oHTA.scrollFlat);
}
</SCRIPT>
<BODY>
<P>Read the property:
<INPUT TYPE="button" VALUE="Test scrollFlat 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