2008-09-20 17:42:04 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2009-02-07 14:09:07 +00:00
|
|
|
<title>Draggable Visual Test : Draggable option cursorAt object</title>
|
|
|
|
<link rel="stylesheet" href="../visual.css" type="text/css" />
|
2009-01-22 12:01:20 +00:00
|
|
|
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
|
|
|
|
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
|
2008-09-20 17:42:04 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2008-12-13 09:53:02 +00:00
|
|
|
$("#draggable").draggable({
|
2009-02-07 14:09:07 +00:00
|
|
|
cursorAt: { top: -15, right: 15 }
|
2008-12-13 09:53:02 +00:00
|
|
|
});
|
2008-09-20 17:42:04 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2009-02-07 14:09:07 +00:00
|
|
|
<div id="draggable">
|
|
|
|
<p> Draggable </p>
|
|
|
|
</div>
|
2008-09-20 17:42:04 +00:00
|
|
|
</body>
|
|
|
|
</html>
|