aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-05-31 16:33:26 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-05-31 16:33:26 +0000
commitc068874890950a0e2f1b42866eb28faa138cb5df (patch)
tree12ba3239a0b2f8b1da148fb5665c22e5c16fec9e /ui
parent8c6334af979de8859d7927927a7eec9859398937 (diff)
downloadjquery-ui-c068874890950a0e2f1b42866eb28faa138cb5df.tar.gz
jquery-ui-c068874890950a0e2f1b42866eb28faa138cb5df.zip
Make #main test div output hidden
Diffstat (limited to 'ui')
-rw-r--r--ui/tests/resizable.html10
-rw-r--r--ui/tests/resizable.js6
2 files changed, 10 insertions, 6 deletions
diff --git a/ui/tests/resizable.html b/ui/tests/resizable.html
index d1de7ccad..9dfc40607 100644
--- a/ui/tests/resizable.html
+++ b/ui/tests/resizable.html
@@ -15,14 +15,18 @@
<script type="text/javascript" src="jquery.useraction.js"></script>
</head>
-<!-- <style>
- .ui-fake-cursor {
+<style>
+ /*.ui-fake-cursor {
position: absolute;
background: url(cursors/win/auto.png);
height: 32px; width: 32px;
top: 270px; left: 0px;
+ }*/
+ #main {
+ position:absolute;
+ top: -1000px; left: -1000px;
}
-</style> -->
+</style>
<body>
diff --git a/ui/tests/resizable.js b/ui/tests/resizable.js
index 0d066c11a..23f429414 100644
--- a/ui/tests/resizable.js
+++ b/ui/tests/resizable.js
@@ -6,9 +6,9 @@ var console = console || {
var animateClick = function(co) {
var img = $("<img src='images/click.png' width='1'>").appendTo("body")
- .css({ position: "absolute", zIndex: 1000, left: co.x, top: co.y })
- .animate({ width: 80, height: 80, left: co.x-40, top: co.y-40, opacity: 'hide' }, 1000, function() { $(this).remove(); });
- };
+ .css({ position: "absolute", zIndex: 1000, left: co.x, top: co.y })
+ .animate({ width: 80, height: 80, left: co.x-40, top: co.y-40, opacity: 'hide' }, 1000, function() { $(this).remove(); });
+};
var num = function(i) {
return parseInt(i, 10);