index.html revision 32ef282f5d179b5559845b53e08e5431aae2b225
<html>
<head>
<title>DragDrop Tests</title>
<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;
}
.yui-skin-sam .yui-console-entry-pass .yui-console-entry-cat {
background-color: green;
color: white;
font-weight: bold;
}
.yui-skin-sam .yui-console-entry-src,
.yui-skin-sam .yui-console-entry-time {
display: none;
}
.yui-skin-sam .yui-console-entry {
position: relative;
}
.yui-skin-sam .yui-console-entry-pass .yui-console-entry-content {
position: absolute;
top: 1px;
right: 4px;
}
.yui-skin-sam .yui-console-entry-fail .yui-console-entry-cat {
background-color: red;
color: white;
font-weight: bold;
}
.yui-skin-sam .yui-console-bd {
height: auto !important;
}
#del {
display: none;
}
#del li.disabled {
opacity: .5;
}
</style>
</head>
<body class="yui3-skin-sam">
<div id="wrap">
<div id="drag"></div>
<div id="drop"></div>
</div>
<div id="del">
<ul>
<li>item</li>
<li>item</li>
<li>item</li>
<li>item</li>
<li>item</li>
<li class="disabled">item</li>
<li>item</li>
</ul>
</div>
</body>
</html>