<script>
function mymove(){
mylayer.style.pixelTop=event.y+document.body.scrollTop+50
mylayer.style.pixelLeft=event.x+document.body.scrollLeft-100
document.onmousedown=end
}
function start(){
document.onmousemove=mymove
}
function end(){
document.onmousemove=end
}
</script>
<div id=mylayer style="position:absolute; top:80%; left:0px">
<table border=1><tr><td height=200>-------마우스 이동 이벤트 ------</td>
</tr></table>
</div>
<a href="javascript:start()">레이어 이동 시작</a><br>