Make #main test div output hidden

This commit is contained in:
Eduardo Lundgren
2008-05-31 16:33:26 +00:00
parent 8c6334af97
commit c068874890
2 changed files with 10 additions and 6 deletions

View File

@@ -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>

View File

@@ -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);