2008-09-20 17:42:04 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2009-02-07 14:27:27 +00:00
|
|
|
<title>Draggable Visual Test : Draggable option iframeFix selector</title>
|
2009-02-07 14:09:07 +00:00
|
|
|
<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:27:27 +00:00
|
|
|
cursorAt: { top: -10, left: -10 },
|
|
|
|
iframeFix: "#iframe2"
|
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>
|
2009-02-07 14:27:27 +00:00
|
|
|
<iframe id="iframe1"></iframe>
|
|
|
|
<iframe id="iframe2"></iframe>
|
|
|
|
<iframe id="iframe3"></iframe>
|
2008-09-20 17:42:04 +00:00
|
|
|
</body>
|
|
|
|
</html>
|