js:
function message(event) { var event = event || window.event; document.getElementById("tipsss").style.display = 'block'; document.getElementById("tipsss").style.left = event.clientX+10;; document.getElementById("tipsss").style.top = event.clientY + 5; ; document.getElementById("tipsss").innerHTML = ' 这里是详细内容啊'; } var closemessage = function (event) { document.getElementById("tipsss").style.display = 'none';
}
页面元素:
什么问题啊,不知道你说的啥,把问题说清楚
新疆
添加回答
举报
0/150
提交
取消