aboutsummaryrefslogtreecommitdiffstats
path: root/test/fix.html
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2007-12-19 22:26:05 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2007-12-19 22:26:05 +0000
commitba9c14a589caab13b5754273ff916d492dafa86b (patch)
tree06c6ce029d801fc14b6bfcb97f59be4377d1d066 /test/fix.html
parente2fc993334698b2a66dd24a671a9c23705df0fc3 (diff)
downloadjquery-ba9c14a589caab13b5754273ff916d492dafa86b.tar.gz
jquery-ba9c14a589caab13b5754273ff916d492dafa86b.zip
added version to all builds; changed current version to 1.2.2-pre - to be updated after each release so its clear that a build is from which milestone; build.xml cleanup (removing uselss lite, docs, test and _with_plguins targets); deleted useless docs build files (replaced by wiki and wiki xml exporter and api browsers)
Diffstat (limited to 'test/fix.html')
-rw-r--r--test/fix.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/test/fix.html b/test/fix.html
new file mode 100644
index 000000000..f4edab791
--- /dev/null
+++ b/test/fix.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta name="generator"
+ content="HTML Tidy, see www.w3.org" />
+
+ <title>Tester</title>
+<style type="text/css">
+ #container { background:yellow; width:400px; height:400px; }
+
+</style>
+<script type="text/javascript" src="../dist/jquery.js">
+</script>
+<script type="text/javascript">
+ function doIt() {
+ $("#adiv").text("click!");
+ $("#adiv").trigger("acustom.atype");
+ }
+
+ function showMouse(e) {
+ $("#adiv").text("( " + e.pageX + ", " + e.pageY + " )");
+ }
+
+ $(function () {
+ $("#doit").bind('click.mine', doIt);
+ $("#container").mousemove(showMouse);
+ $("#adiv").bind("acustom.atype", function () {
+ //console.log("custom");
+ });
+ });
+
+</script>
+ </head>
+
+ <body>
+ <button id="doit">Do It</button>
+
+ <div id="container">
+ Hi
+ </div>
+
+ <div id="adiv">
+ </div>
+ </body>
+</html>
+