function showpic(divid,picdivid) { document.getElementById(divid).innerHTML=document.getElementById(picdivid).innerHTML document.getElementById(divid).style.display=""; var x=window.event.x; var y=window.event.y; document.getElementById(divid).style.left=x; document.getElementById(divid).style.top=y+document.documentElement.scrollTop;}
弹出式div随鼠标的onmouseover事件一起动
最新推荐文章于 2024-04-29 14:41:33 发布