<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Windowout * {font-size:12px; font-family:"宋体",Arial; font-weight:normal; color:#0066FF;} var oPopup = window.createPopup; function prepareHelp(){ document.styleSheets[0].rules[0].style.cursor = "help"; } function do_onclick(){ if(document.styleSheets[0].rules[0].style.cursor != "help";){ alert("我被鼠标单击了~"); } else{ var oBody = oPopup.document.body; oBody.style.backgroundColor = "lightyellow"; oBody.style.border = "solid black 1px"; oBody.innerHTML = "aaaaaa"; oPopup.show(event.x+15,event.y+15,180,85,document,body); document.styleSheets[0].rules[0].style.cursor = ""; } }