링크에 마우스를 대면 따라 떠 있는 레이어(풍선형 도움말)
본문
<div id=descr style="position:absolute; background:#FFFFE0; visibility:hidden">풍선 도움말입니다.</div>
<a href="#" onMouseOver="descr.style.visibility='visible'" onMouseOut="descr.style.visibility='hidden'">풍선도움말</a>
<script language=JavaScript>
function mvEvent()
{
window.descr.style.pixelLeft = document.body.scrollLeft + event.x + 10;
window.descr.style.pixelTop = document.body.scrollTop + event.y;
}
document.onmousemove = mvEvent;
</script>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=123
<a href="#" onMouseOver="descr.style.visibility='visible'" onMouseOut="descr.style.visibility='hidden'">풍선도움말</a>
<script language=JavaScript>
function mvEvent()
{
window.descr.style.pixelLeft = document.body.scrollLeft + event.x + 10;
window.descr.style.pixelTop = document.body.scrollTop + event.y;
}
document.onmousemove = mvEvent;
</script>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=123
관련링크
댓글목록
등록된 댓글이 없습니다.