Debian Codegraph @

test-static-04.html

raw
1 <html>
2 <head>
3 <style>
4 * {font-family: Helvetica, Verdana, Arial; font-size:0.95em}
5 .eventNotifier{width: 100px; float: left; color:navy; border: dotted 1px navy; padding: 4px; background-color:white; margin:3px}
6 .dirty{border: solid 1px #0ca2ff; color:white; background-color:#0ca2ff}
7
8 </style>
9 <script src="jquery-1.4.2.js"></script>
10 <script src="jquery.hotkeys.js"></script>
11 <script>
12 //This page is a result of an autogenerated content made by running test.html with firefox.
13 function domo(){
14 jQuery('#platform-details').html('<code>' + navigator.userAgent + '</code>');
15 jQuery(document).bind('keydown', '/', function (evt){
16 alert("Hello Slash");
17 return false;
18 });
19 jQuery(document).bind('keydown', 'ctrl+p meta+p', function (evt){
20 alert("think green-don't print");
21 return false;
22 });
23 }
24
25
26 jQuery(document).ready(domo);
27
28 </script>
29 </head>
30
31 <body>
32 <h1>jQuery.HotKeys.Testing.</h1>
33 <h2>Testing Platform:</h2>
34 <div id="platform-details"></div>
35 <h2>Project Home: <a href="http://code.google.com/p/js-hotkeys/">http://code.google.com/p/js-hotkeys/</a></h2>
36 <div id="report-area">
37 </div>
38
39
40 </body></html>