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

ctrlLeft Property

Internet Development Index

Sets or retrieves the state of the left CTRL key.

Syntax

event.ctrlLeft(v) [ = bPressed ]

Possible Values

bPressedBoolean that specifies or receives one of the following values.
falseLeft CTRL key is not pressed.
trueLeft CTRL key is pressed.

The property is read/write. 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.

Example

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

<HEAD>
<SCRIPT>
function init() {
spanLeftCtrl.innerText='false';
spanRightCtrl.innerText='false';
}
function indicate(obj, arg) {
obj.innerText=arg;
}
function CtrlDown() {
if (event.ctrlLeft) {
indicate(spanLeftCtrl,'true');
}
else {
if (event.ctrlKey) {
indicate(spanRightCtrl,'true');
}
}
}
function CtrlUp() {
if (!event.ctrlKey) {
indicate(spanLeftCtrl,'false');
indicate(spanRightCtrl,'false');
}
}
</SCRIPT>
</HEAD>
<BODY onload="document.body.focus(); init()" onkeydown="CtrlDown();" onkeyup="CtrlUp();">
<P>Press either the left or right CTRL key.</P>
<TABLE>
<TR>
<TD><I>Left CTRL Key Pressed</I></TD>
<TD><I>Right CTRL Key Pressed</I></TD>
</TR>
<TR>
<TD ALIGN="center"><SPAN ID="spanLeftCtrl"></SPAN></TD>
<TD ALIGN="center"><SPAN ID="spanRightCtrl"></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

ctrlKey
江源县| 株洲县| 米林县| 那坡县| 民和| 孝义市| 永丰县| 定兴县| 聊城市| 禄丰县| 三门峡市| 南乐县| 太原市| 娱乐| 云浮市| 如皋市| 阿鲁科尔沁旗| 兴义市| 上蔡县| 乌鲁木齐市| 台湾省| 甘肃省| 襄樊市| 克拉玛依市| 平果县| 临猗县| 朝阳市| 慈利县| 罗平县| 肥东县| 宁蒗| 海晏县| 隆尧县| 曲麻莱县| 灵寿县| 连城县| 涿鹿县| 蒙自县| 城市| 哈密市| 西昌市|