-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (55 loc) · 1.58 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<script type="text/javascript" src="./jquery.js"></script>
<link type="text/css" rel="stylesheet" href="./desbichador.css" />
<script type="text/javascript" src="./desbichador.js"></script>
<script type="text/javascript">
$(document).ready(function(){
//<![CDATA[
desbichador_init();
var mi_teclado = {
crtlKey: false,
shiftKey: false,
altKey: false
}
trace66 = trace;
//trace66 = fnull;
$('html').keyup(function(e) {
trace66("UP "+e.which);
if ( e.which == 17 ) mi_teclado.ctrlKey = false; // CONTROL
if ( e.which == 16 ) mi_teclado.shiftKey = false; // SHIFT
if ( e.which == 18 || e.which == 224 ) mi_teclado.altKey = false; // ALT || ALT+SHIFT
}).keydown(function(e) {
trace66("ctrlKey "+e.ctrlKey);
trace66("shiftKey "+e.shiftKey);
trace66("altKey "+e.altKey);
trace66("DOWN "+e.which);
if ( e.ctrlKey && e.shiftKey && e.altKey && e.which == 68 ) { // mostrar/ocultar: CTRL+SHIFT+ALT+D
desbichador_visualizar();
}
if (e.which == 13) {
e.preventDefault();
}
});
//]]>
});
</script>
</head>
<body>
<div id="desbichador">
<div id="desbichador_contenido">
<div id="desbichador_fondo"></div>
<div id="desbichador_activador"></div>
<div id="desbichador_panel">
<div class="desbichador_variable">(+)</div>
</div>
<div id="desbichador_salida">
<pre>
</pre>
</div><!-- #desbichador_salida -->
</div><!-- #desbichador_contenido -->
</div><!-- #desbichador -->
</body>
</html>