<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www. xml:lang="zh-cn" lang="zh-cn">
<head>
<script type="text/javascript">
//调用并返回结果
function shownotice(txt) {
var cont_a=document.getElementById("stip_detial");
cont_a.style.display="block";
var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
cont_a.style.top=event.y+parseInt(scrollTop);
cont_a.style.left=event.x;
cont_a.innerHTML=txt;
}
</script>
</head>
<body>
<a href="#" onmouseover="shownotice('here');">放上鼠标看看</a>
<div id="stip_detial" style="display:none;position:absolute;border:background 1px solid;padding:3px;background:lightblue;">w</div>
</body>
</html>