사이트 내 전체검색
말풍선 도움말 표시 스크립트
로빈아빠
https://cmd.kr/javascript/171 URL이 복사되었습니다.

본문

<div id='TnT_TempLayer2' style='position:absolute; visibility:hidden; z-Index:11; padding:0;'></div>

<script>

// thisobj 의 Top
function TnT_get_objTop(thisobj){
 if (thisobj.offsetParent==document.body) return thisobj.offsetTop;
 else return thisobj.offsetTop + TnT_get_objTop(thisobj.offsetParent);
}

// thisobj 의 Left
function TnT_get_objLeft(thisobj){
 if (thisobj.offsetParent==document.body) return thisobj.offsetLeft;
 else return thisobj.offsetLeft + TnT_get_objLeft(thisobj.offsetParent);
}


function balloon_on(str,obj,mv_right,mv_up){
 var alt_balloon=document.getElementById('TnT_TempLayer2');
 alt_balloon.innerHTML="<table cellpadding=0 cellspacing=0 border=0><tr><td width=4 hight=21><img src=/b_img/icons/alt_left.gif align=absmiddle></td><td background=/b_img/icons/alt_center.gif style='color:#624c10; font-size:8pt; letter-spacing:-1; font-family:돋움;'><nobr>&nbsp;"+str+"&nbsp;</nobr></td><td width=5 hight=21><img src=/b_img/icons/alt_right.gif align=absmiddle></td></tr></table>";
 alt_balloon.style.left=TnT_get_objLeft(obj)+mv_right;
 alt_balloon.style.top=TnT_get_objTop(obj)-20-mv_up;
 alt_balloon.style.visibility = 'visible';
}function balloon_off(){document.getElementById('TnT_TempLayer2').style.visibility = 'hidden';}

</script>


<img id='id_menu100' src='<?=$board_skin_path?>/img/sh_top.gif' align=absmiddle style='cursor:pointer'
   onclick="layer_view('id_menu100',-10,-10)"
   onmouseover="balloon_on('인기검색어',this,-15,2)" onmouseout=balloon_off()><input type=image src='<?=$board_skin_path?>/img/search.gif'  align=absmiddle>

댓글목록

등록된 댓글이 없습니다.

831 (14/17P)

Search

Copyright © Cmd 명령어 3.147.86.246