...

View Full Version : what is the hotkey for spacebar



DooM_MonkeY
06-01-2004, 04:07 AM
this is what i have so far:




1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57


a = 97
b = 98
c = 99
d = 100
e = 101
f = 102
g = 103
h = 104
I = 105
J = 106
K = 107
L = 108
M = 109
N = 110
O = 111
P = 112
Q = 113
R = 114
S = 115
T = 116
U = 117
V = 118
W = 119
X = 120
Y = 121
Z = 122

Left arrow = 37
Up arrow = 38
Right arrow = 39
Down arrow = 40

Enter = 13




what is the hotkey for right click and space bar?? if there isnt one then tell me because i dont no half of what im going to use them for, but it is good to know

Willy Duitt
06-01-2004, 04:19 AM
Find out for yourself :D


<script type="text/javascript">
<!--//
function handleKeyPress(evt) {
var nbr;
if(window.Event){ nbr=evt.which };
else{ nbr=event.keyCode };
alert(nbr);
} document.onkeydown = handleKeyPress;

// -->
</script>

DooM_MonkeY
06-01-2004, 05:18 AM
oooo secritive, cool, thanks

Choopernickel
06-01-2004, 04:05 PM
http://www.10mar2001.com/work/keyCodes.html

Lists case-sensitive values for keypress and for key down/up (they share values), noting which keys are not registered in IE.

liorean
06-01-2004, 04:37 PM
Mozilla DOM Samples: <http://cgi.din.or.jp/~hagi3/JavaScript/Mozilla/SampleList.cgi?fmt=html>

Go to the KeyEvent testing page. It's a general testing page for this type of events.

DooM_MonkeY
06-01-2004, 11:32 PM
Thanks i got it now



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum