Skip to content

Instantly share code, notes, and snippets.

@kaievns
Forked from bebraw/draggable_issue.html
Created March 4, 2011 08:44
Show Gist options
  • Save kaievns/854349 to your computer and use it in GitHub Desktop.
Save kaievns/854349 to your computer and use it in GitHub Desktop.
<!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="position: absolute; right: 0; background-color: green; width: 100px; height: 100px"></div>
<div rel="draggable" style="position: absolute; left: 0; 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