JavaScript Reference/Javascript Properties/shiftLeft
"shiftLeft" Example
<source lang="javascript">
<html> <body> <script language="JavaScript"> function function1() {
var y = event.shiftLeft; if (y == false) { y = "not pressed."; } else { y = "pressed."; } alert("The status of the left Shift key is "+y);
} </script> <a id="myL"
title="The wbex.ru home page" href="http://www.wbex.ru/" target=_blank onmouseover="function1()"> unveil the status of the Shift key
</a> </body> </html>
</source>
"shiftLeft" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+
</source>
"shiftLeft" Syntax and Note
<source lang="javascript">
Note: Read-only property. Is left SHIFT key pressed.
Syntax:
window.event.shiftLeft
</source>