From f5ceca740f51085c4c08ea9da9a4095c284d1e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sat, 28 Jan 2012 10:45:55 -0500 Subject: [PATCH] Draggable demo: Implemented cursorAt option in cursor-style demo. --- demos/draggable/cursor-style.html | 37 ++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/demos/draggable/cursor-style.html b/demos/draggable/cursor-style.html index 2e8930eb0..daeb02704 100644 --- a/demos/draggable/cursor-style.html +++ b/demos/draggable/cursor-style.html @@ -7,16 +7,41 @@ - + @@ -24,9 +49,9 @@
- +
-

I will always stick to the center (relative to the mouse)

+

I will always stick to the center (relative to the pointer)

@@ -42,7 +67,7 @@
-

Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the cursorAt option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the cursor option with a valid CSS cursor value: default, move, pointer, crosshair, etc.

+

Position the cursor while dragging the object. By default the cursor appears wherever the user started the drag; use the cursorAt option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left).