Skip to content

Instantly share code, notes, and snippets.

@bebraw
Created March 4, 2011 07:36
Show Gist options
  • Save bebraw/854311 to your computer and use it in GitHub Desktop.
Save bebraw/854311 to your computer and use it in GitHub Desktop.
Something weird going on with draggable coords...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>Draggable Issue</title>
<script type="text/javascript" src="http://cdn.rightjs.org/right.js"></script>
<script type="text/javascript" src="http://cdn.rightjs.org/plugins/dnd.js"></script>
</head>
<body>
<div style="margin: 10px auto;max-width:1180px;position:relative;height:710px;clear:both;overflow:scroll;background-color:grey">
<div rel="draggable" style="float: right; background-color: green; width: 100px; height: 100px"></div>
<div rel="draggable" style="float: left; background-color: yellow; width: 100px; height: 100px"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment