PDA

View Full Version : meta



jamejam123
دوشنبه 11 فروردین 1393, 03:33 صبح
سلام
به این کد ها یه نگا بندازید

<html>
<head>
<script>
function isKeyPressed(event)
{
if (event.metaKey==1)
{
alert("The meta key was pressed!")
}
else
{
alert("The meta key was NOT pressed!")
}
}
</script>
</head>

<body onmousedown="isKeyPressed(event)">
<p>Click somewhere in the document.
An alert box will tell you if you
pressed the meta key or not.</p>

</body>
</html>


meta کدام یک از دکمه های کیبرد هستش.
ممنون

maysam.m
چهارشنبه 13 فروردین 1393, 18:51 عصر
اگه اشتباه نکنم دکمه ویندوزه