--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\r
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
+\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
+ <head>\r
+ <meta name="generator"\r
+ content="HTML Tidy, see www.w3.org" />\r
+\r
+ <title>Tester</title>\r
+<style type="text/css">\r
+ #container { background:yellow; width:400px; height:400px; }\r
+ \r
+</style>\r
+<script type="text/javascript" src="../dist/jquery.js">\r
+</script>\r
+<script type="text/javascript">\r
+ function doIt() {\r
+ $("#adiv").text("click!");\r
+ $("#adiv").trigger("acustom.atype");\r
+ }\r
+\r
+ function showMouse(e) {\r
+ $("#adiv").text("( " + e.pageX + ", " + e.pageY + " )");\r
+ }\r
+\r
+ $(function () {\r
+ $("#doit").bind('click.mine', doIt);\r
+ $("#container").mousemove(showMouse);\r
+ $("#adiv").bind("acustom.atype", function () {\r
+ //console.log("custom");\r
+ });\r
+ });\r
+ \r
+</script>\r
+ </head>\r
+\r
+ <body>\r
+ <button id="doit">Do It</button> \r
+\r
+ <div id="container">\r
+ Hi\r
+ </div>\r
+\r
+ <div id="adiv">\r
+ </div>\r
+ </body>\r
+</html>\r
+\r