Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (12 sloc) 0.36 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html>
<title>Creating a Draggable Node</title>
<style>
#demo { width: 100px; height: 100px; border: 1px #000 solid; background: #d72; }
</style>

<div id="demo"></div>

<script src="http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js"></script>
<script>
YUI().use('dd-drag', function (Y) {
    var dd = new Y.DD.Drag({ node: '#demo' });
});
</script>
Something went wrong with that request. Please try again.