<!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <head> <title>Yahoo! UI Library - Drag and Drop</title> <link rel="stylesheet" type="text/css" href="./examples/dragdrop/css/screen.css"> </head>
function dragDropInit() { dd = new YAHOO.util.DragDrop("dragDiv1"); dd2 = new YAHOO.util.DragDrop("dragDiv2"); dd3 = new YAHOO.util.DragDrop("dragDiv3"); }
<div id="content"> <form name="dragDropForm" action="javscript:;"> <div class="newsItem"> <h3>No Implementation</h3> <p>By implementing the base drag and drop class, the manager class will keep track of the element's virtual position, but not actually move anything. You can click on any of the three squares and watch the various events that the Drag and Drop Manager fires in logger window. </p> </div> </form> </div>