Html
    Css
    Js

    
                        
body {
	width:100%;
	max-height:100%;
	padding:0px;
	margin:0px;
	text-align:center;
}
.cell {
	float:left;
	clear:right;
}
.row {
	clear:both;
}
.r_nbsp {
	width:20px;
}
.root {
	width:868px;
	margin:0 auto;
}
.root * {
	/*次属性FF的说*/ 
    -moz-user-select:none;
}
.line {
	width:202px;
	line-height:20px;
	height:20px;
	overflow:hidden;
	font-size:12px;
}
.move {
	border:#CCCCCC 1px solid;
	width:200px;
	height:aotu;
}
.title {
	height:24px;
	cursor:move;
	background:#0080C0;
	font-size:12px;
	font-weight:bold;
	color:#FFFFFF;
	line-height:24px;
	text-align:center;
}
.content {
	border-top:#CCCCCC 1px solid;
	height:100px;
	background-color:#F7F7F7;
}
.CDrag_temp_div {
	border:#CCCCCC 1px dashed;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

jQuery div拖动

0