r1685 - trunk/demos/draggable

r1685 - trunk/demos/draggable


Author: fg.maggie
Date: Mon Jan 19 09:39:27 2009
New Revision: 1685
Modified:
trunk/demos/draggable/cursor-style.html
Log:
added 'cursor' options to examples
Modified: trunk/demos/draggable/cursor-style.html
==============================================================================
--- trunk/demos/draggable/cursor-style.html    (original)
+++ trunk/demos/draggable/cursor-style.html    Mon Jan 19 09:39:27 2009
@@ -12,8 +12,8 @@
    </style>
    <script type="text/javascript">
    $(function() {
-        $("#draggable").draggable({ cursorAt: { top: 56, left: 56 } });
-        $("#draggable2").draggable({ cursorAt: { top: -5, left: -5 } });
+        $("#draggable").draggable({ cursorAt: { cursor: 'move', top: 56, left:
56 } });
+        $("#draggable2").draggable({ cursorAt: { cursor: 'crosshair', top: -5,
left: -5 } });
        $("#draggable3").draggable({ cursorAt: { bottom: 0 } });
    });
    </script>