1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
\r
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
4 <html xmlns="http://www.w3.org/1999/xhtml">
\r
6 <meta name="generator"
\r
7 content="HTML Tidy, see www.w3.org" />
\r
9 <title>Tester</title>
\r
10 <style type="text/css">
\r
11 #container { background:yellow; width:400px; height:400px; }
\r
14 <script type="text/javascript" src="../dist/jquery.js">
\r
16 <script type="text/javascript">
\r
18 $("#adiv").text("click!");
\r
19 $("#adiv").trigger("acustom.atype");
\r
22 function showMouse(e) {
\r
23 $("#adiv").text("( " + e.pageX + ", " + e.pageY + " )");
\r
27 $("#doit").bind('click.mine', doIt);
\r
28 $("#container").mousemove(showMouse);
\r
29 $("#adiv").bind("acustom.atype", function () {
\r
30 //console.log("custom");
\r
38 <button id="doit">Do It</button>
\r
40 <div id="container">
\r