diff options
Diffstat (limited to 'ui/tests')
-rw-r--r-- | ui/tests/resizable.html | 10 | ||||
-rw-r--r-- | ui/tests/resizable.js | 6 |
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); |