最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

altLeft Property

Internet Development Index

Retrieves a value that indicates the state of the left ALT key.

Syntax

[ bPressed = ] event.altLeft

Possible Values

bPressedBoolean that receives one of the following values.
falseLeft ALT key is not pressed.
trueLeft ALT key is pressed.

The property is read-only. The property has no default value.

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

This property is currently supported only in Microsoft® Windows NT® 4.0 and Microsoft Windows® 2000.

The document must have focus for this property to return true.

No altRight property is available. Authors can test for the right ALT key by using the altKey and altLeft properties.

Example

The following example shows how to use the altLeft property to indicate when the user presses the left or right ALT keys.

<HEAD>
<SCRIPT>
function init() {
spanLeftAlt.innerText='false';
spanRightAlt.innerText='false';
}
function indicate(obj, arg) {
obj.innerText=arg;
}
function AltDown() {
if (event.altLeft) {
indicate(spanLeftAlt,'true');
}
else {
if (event.altKey) {
indicate(spanRightAlt,'true');
}
}
}
function AltUp() {
if (!event.altKey) {
indicate(spanLeftAlt,'false');
indicate(spanRightAlt,'false');
}
}
</SCRIPT>
</HEAD>
<BODY onload="document.body.focus(); init()" onkeydown="AltDown();" onkeyup="AltUp();">
<P>Press either the left or right ALT key.</P>
<TABLE>
<TR>
<TD><I>Left ALT Key Pressed</I></TD>
<TD><I>Right ALT Key Pressed</I></TD>
</TR>
<TR>
<TD ALIGN="center"><SPAN ID="spanLeftAlt"></SPAN></TD>
<TD ALIGN="center"><SPAN ID="spanRightAlt"></SPAN></TD>
</TR>
</TABLE>
</P>
</BODY>
This feature requires Microsoft® Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

event

See Also

altKey
尼勒克县| 东乡族自治县| 乌什县| 黄冈市| 桐庐县| 集安市| 友谊县| 惠州市| 桂林市| 太仓市| 华亭县| 县级市| 拜城县| 白银市| 米脂县| 扎兰屯市| 江门市| 石嘴山市| 竹溪县| 镇巴县| 清新县| 来宾市| 孟州市| 岐山县| 金华市| 萨嘎县| 无极县| 黔东| 遂昌县| 台江县| 五大连池市| 金山区| 祁东县| 无棣县| 饶阳县| 老河口市| 五大连池市| 隆昌县| 平潭县| 祁门县| 高陵县|