Previous page next page function supported by keyboard direction key, keyboard key code Value table

Source: Internet
Author: User
Now there are a number of Web sites have a keyboard key to support the next page of the function, special collection and collation for your reference.

You can experience this function:
This system page support Keyboard page Direction key steering function:
Press left direction key to: www.114study.com
Press Right Direction key to: www.google.com
Press the ENTER key to go: www.yahoo.com
Press Ctrl+enter enter key to: www.div-css.com


JavaScript code to implement this feature:
<script language=javascript>    document.onkeydown=nextpage    var prevpage= http://www.114study.com //left    var nextpage=http://www.google.com //right    var  bookpage=http://www.yahoo.com //carriage return    function nextpage (event)      {        event = event ? event :  (window.event ?  window.event : null);            if  ( event.keycode==13)  location=bookpage;//carriage return        if  (event.keycode==37)  location=prevpage;//left        if  (event.keycode==39)  location= nextpage;//to the right        if  (event.ctrlkey && event.keycode==13  {alert ("You ordered  ctrl + enter  now turn to  www.div-css.com ");  location= "Http://www.div-css.com ";}        //Event Situation with keyboard multiple keys at the same time   }       </script>  attachment: Keyboard key code value
Key code values for letters and numeric keys (keycode)
Keys Key code Keys Key code Keys Key code Keys Key code
A 65 J 74 S 83 1 49
B 66 K 75 T 84 2 50
C 67 L 76 U 85 3 51
D 68 M 77 V 86 4 52
E 69 N 78 W 87 5 53
F 70 O 79 X 88 6 54
G 71 P 80 Y 89 7 55
H 72 Q 81 Z 90 8 56
I 73 R 82 0 48 9 57
Key code values for keys on the numeric keypad (keycode) Function key key code value (KeyCode)
Keys Key code Keys Key code Keys Key code Keys Key code
0 96 8 104 F1 112 F7 118
1 97 9 105 F2 113 F8 119
2 98 * 106 F3 114 F9 120
3 99 + 107 F4 115 F10 121
4 100 Enter 108 F5 116 F11 122
5 101 - 109 F6 117 F12 123
6 102 . 110
7 103 / 111
Control key key code value (KeyCode)
Keys Key code Keys Key code Keys Key code Keys Key code
BackSpace 8 Esc 27 Right Arrow 39 -_ 189
Tab 9 Spacebar 32 Dw Arrow 40 .> 190
Clear 12 Page up 33 Insert 45 /? 191
Enter 13 Page down 34 Delete 46 `~ 192
Shift 16 End 35 Num Lock 144 [{ 219
Control 17 Home 36 ;: 186 /| 220
Alt 18 Left Arrow 37 =+ 187 ]} 221
Cape Lock 20 Up Arrow 38 ,< 188 '" 222
Multimedia key code value (KeyCode)
Keys Key code
Volume Plus 175
Volume reduction 174
Stop it 179
Mute 173
Browser 172
Mail 180
Search 170
Collection 171
KeyCode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = KeyCode 6 = keycode 7 = keycode  8 = BackSpace KeyCode 9 = Tab KeyCode = KeyCode one = KeyCode = Clear KeyCode = Enter KeyCode = keycode KeyCode = shift_l KeyCode = control_l keycode (alt_l keycode) = Pause keycode m = Caps_lock keycod E = KeyCode = KeyCode = KeyCode = KeyCode = KeyCode = KeyCode = Esc Escape keycode = Keyco de-keycode = keycode = KeyCode = Space KeyCode-PAGE Up keycode (PAGE down keycode) = End K Eycode = Home KeyCode Panax Notoginseng = left arrow KeyCode = up arrow KeyCode/right ARROW KeyCode = down arrow Keyco  De + = Select keycode = Print KeyCode = Execute keycode = keycode = Insert keycode mb = Delete keycode
$ = Help KeyCode = 0 KeyCode 49 = 1!  KeyCode = 2 @ keycode = 3 # keycode 4 $ keycode = 5% keycode = 6 ^ keycode7 & keycode = 8 * keycode = 9 (keycode) = keycode-KeyCode = keycode (= keycode) = key   Code = keycode = KeyCode = a A keycode = b b keycode (c c keycode) = d d keycode = e e keycode KeyCode = f F keycode = g G = h h keycode (i) keycode the = J J KeyCode-K K keycode the "L" key 
Code + = m M keycode = n n keycode p = o o keycode = ps KeyCode bayi = q q keycode (r R) KeyCode-S  keycode = t T keycode = u u keycode (v v keycode) = w w keycode (x x keycode) = y y keycode 90 =  Z z keycode (keycode) = KeyCode (keycode) = KeyCode = KeyCode = Kp_0 KeyCode-kp_1 KeyCode = kp_2 = Kp_3 keycode-kp_4 keycode-Kp_5 keycode (a)-102 = kp_6 KeyCode-kp_7 8 keycode = Kp_9 keycode (kp_* kp_multiply keycode) = kp_+ kp_add keycode 108 = kp_enter Kp_separator keycode 109 = kp_-Kp_subtract kEycode = Kp_. Kp_decimal keycode = kp_/kp_divide keycode 112 = F1 KeyCode 113 = F2 KeyCode 114 = F3 KeyCode 116 = F4 KeyCode F5 keycode 117 = F6 KeyCode 118 = F7 KeyCode 119 = F8 KeyCode = F9 keycode 121 = F10 KeyCode 122 = F11 KeyCode 123 = F  124 = F13 KeyCode keycode = F14 keycode 126 = F15 KeyCode 127 = F16 keycode 128 = F17 KeyCode 129 = F18 KeyCode 130 = F19 KeyCode 131 = F20 KeyCode 132 = F21 KeyCode of the F22 keycode (134) = F23 KeyCode-135 = F24 keycode 136 = Num_lock ke
Ycode 137 = Scroll_lock KeyCode 138 = keycode 139 = keycode 140 = keycode KeyCode (keycode) KeyCode 145 = KeyCode 146 = keycode 147 = KeyCode 148 = KeyCode 149 = KeyCode = KeyCode 151 = keycode 152 = KeyCode 15 3 = KeyCode 154 = KeyCode = KeyCode 156 = KeyCode 157 = KeyCode 158 = KeyCode 159 = keycode 160 = KeyCode 161 = Keycod E 162 = KeyCode 163 = KeyCode 164 = KeyCode 165 = KeyCode 166 = KeyCode 167 = KeyCode = KeyCode 169 = keycode 170 = ke Ycode171 = KeyCode 172 = KeyCode 173 = KeyCode 174 = KeyCode 175 = keycode 176 = KeyCode 177 = KeyCode 178 = KeyCode 179 = KEYC  180 = KeyCode 181 = KeyCode Ode = KeyCode 183 = KeyCode 184 = keycode 185 = KeyCode 186 = KeyCode 187 = =+ KeyCode 188
=,< KeyCode 189 =-_ keycode 190 = .> keycode 191 =/?  KeyCode keycode = ' ~ 193 = keycode 194 = keycode 195 = keycode 196 = KeyCode 197 = KeyCode 198 = KeyCode 199 = KeyCode = KeyCode 201 = keycode-KeyCode 203 = keycode 204 = KeyCode 205 = KeyCode 206 = keycode 207 = keycode A/key Code 209 = KeyCode 210 = Plusminus hyphen Macron KeyCode 211 = keycode 212 = Copyright Registered KeyCode = 213 Guillemotright keycode 214 = masculine ordfeminine keycode 215 = AE AE keycode 216 = cent yen keycode 217 = Questiondo EFT WN exclamdown keycode 218 = onequarter onehalf threequarters keycode (219 = [{keycode)/| KeyCode] 22 2 = ' "KeyCode 223 = keycode 224 = keycode (keycode)ly division
keycode 228 = acircumflex Acircumflex
keycode 229 = ecircumflex Ecircumflex
keycode 230 = icircumflex Icircumf Lex keycode 231 = Ocircumflex Ocircumflex keycode 232 = Ucircumflex Ucircumflex keycode 233 = Ntilde Ntilde KeyCode 234 = yacute Yacute
keycode 235 = oslash Ooblique
keycode 236 = aring Aring
keycode 237 = ccedilla Ccedilla
keycode 238 = thorn  THORN keycode 239 = eth eth keycode = diaeresis cedilla currency keycode 241 = Agrave agrave atilde Atilde keycode 242  = egrave Egrave
keycode 243 = igrave Igrave
keycode 244 = ograve Ograve otilde Otilde
keycode 245 = ugrave Ugrave
keycode 246 = adiaeresis Adiaeresis
keycode 247 = ediaeresis Ediaeresis
keycode 248 = idiaeresis Idiaeresis
keycode 249 = odiaere SIS odiaeresis keycode (udiaeresis udiaeresis keycode 251 = ssharp question backslash keycode 252 = asciicircum Degre
 E keycode 253 = 3 Sterling KeyCode 254 = Mode_switch
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.