<div id=strs></div><br><br>
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0px solid #000000; " contenteditable="true" class="drag" onmouseover="javascript:alert(this.style.cursor);">
<div style="position: absolute; top: 50; left: 50; width: 512; height: 24; border: 1px solid #000000; " contenteditable="true">asfasf</div>
<div id="layer1" style="position:absolute; left:261px; top:174px; width:187px; height:145px; z-index:1">rrr</div>
</div>
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0px solid #000000; " contenteditable="true" class="drag" onmouseover="javascript:alert(this.style.cursor);">
<div style="position: absolute; top: 50; left: 50; width: 512; height: 24; border: 1px solid #000000; " contenteditable="true">asfasf</div>
<div id="layer1" style="position:absolute; left:261px; top:174px; width:187px; height:145px; z-index:1">rrr</div>
</div>
<div id="layer1" style="position:absolute; left:261px; top:174px; width:187px; height:145px; z-index:1;cursor:hand;">请把鼠标移过来。</div>
<a href="#" onClick="DoTest('hand');">hand状鼠标</a>
<a href="#" onClick="DoTest('move');">move状鼠标</a>
<a href="#" onClick="DoTest('default');">default状鼠标</a>
<button onClick="DoTest1();">弹出鼠标形状</button>
<script>
function DoTest(type)
{
layer1.style.cursor=type;
}
function DoTest1()
{ alert(layer1.style.cursor);
}</script>
<div id="layer1" style="position:absolute; left:261px; top:174px; width:187px; height:145px; z-index:1;cursor:hand;">请把鼠标移过来。</div>
<a href="#" onClick="DoTest('hand');">hand状鼠标</a>
<a href="#" onClick="DoTest('move');">move状鼠标</a>
<a href="#" onClick="DoTest('default');">default状鼠标</a>
<button onClick="DoTest1();">弹出鼠标形状</button>
判断下边这个
<div id=strs></div><br><Br>
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0px solid #000000; " contentEditable="true" class="drag">
<div style="position: absolute; top: 50; left: 50; width: 512; height: 24; border: 1px solid #000000; " contentEditable="true">asfasf</div>
<div id="Layer1" style="position:absolute; left:261px; top:174px; width:187px; height:145px; z-index:1">rrr</div>
</div>
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
alert("default")
else(.....)