var om = domcument.getElementById("div1");
om.onmouseover = function(){
this.style.cursor='hand';
return true;
}
om.onmouseout = function(){
this.style.cursor='default';
return true;
}
<div id="div1"></div>
这是我方法的主要代码,诚心求教.