dd.html revision c9bb6f8fa75e2be11f2b7e3611df8e3914d2f918
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>DragDrop Tests</title>
<script type="text/javascript" src="/build/yui/yui.js"></script>
<style>
#wrap {
width: 900px;
height: 600px;
border: 1px solid black;
position: relative;
}
#drag {
height: 100px;
width: 100px;
border: 1px solid black;
background-color: #ccc;
position: relative;
z-index: 1;
}
#drop {
position: absolute;
height: 200px;
width: 200px;
border: 1px solid black;
background-color: #ccc;
top: 10px;
right: 10px;
}
</style>
</head>
<body class="yui-skin-sam">
<div id="wrap">
<div id="drag"></div>
<div id="drop"></div>
</div>
<script type="text/javascript" src="dd.js"></script>
</body>
</html>