<div class="htmlarea"> <textarea id="runcode44555"> <div id="enetMeng" style="BORDER-RIGHT: #455690 1px solid; BORDER-TOP: #a6b4cf 1px solid; Z-INDEX: 99999; LEFT: 0px; VISIBILITY: visible; BORDER-LEFT: #a6b4cf 1px solid; 1px solid; POSITION: absolute; TOP: -256px; HEIGHT: 157px"> <a href="http://www.jb51.net"> <img src="http://www.jzxue.com/images/Logo.gif" border="0" alt="정말 멋진 오른쪽 하단 팝업 광고 창 code_advertising code" ></a> </div> </textarea> <br><input onclick="runEx('runcode44555')" type="button" value="运行代码"><input onclick="doCopy('runcode44555')" type="button" value="复制代码"> <input onclick="doSave(runcode44555)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">[Ctrl A 모두 선택 참고: </a>외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 </div>]<script language="javascript"> window.onload = enetgetMsg; window.onresize = enetresizeDiv; window.onerror = function(){} var enetdivTop,enetdivLeft,enetdivWidth,enetdivHeight,enetdocHeight,enetdocWidth,enetobjTimer,i = 0; function enetgetMsg() { try{ enetdivTop = parseInt(document.getElementById("enetMeng").style.top,10) enetdivLeft = parseInt(document.getElementById("enetMeng").style.left,10) enetdivHeight = parseInt(document.getElementById("enetMeng").offsetHeight,10) enetdivWidth = parseInt(document.getElementById("enetMeng").offsetWidth,10) enetdocWidth = document.body.clientWidth; enetdocHeight = document.body.clientHeight; document.getElementById("enetMeng").style.top = parseInt(document.body.scrollTop,10) + enetdocHeight + 10;// enetdivHeight document.getElementById("enetMeng").style.left = parseInt(document.body.scrollLeft,10) + enetdocWidth - enetdivWidth document.getElementById("enetMeng").style.visibility="visible" enetobjTimer = window.setInterval("enetmoveDiv()",10) } catch(e){} } function enetresizeDiv() { i+=1 if(i>800) enetcloseDiv() /自动关闭时间 try{ enetdivHeight = parseInt(document.getElementById("enetMeng").offsetHeight,10) enetdivWidth = parseInt(document.getElementById("enetMeng").offsetWidth,10) enetdocWidth = document.body.clientWidth; enetdocHeight = document.body.clientHeight; document.getElementById("enetMeng").style.top = enetdocHeight - enetdivHeight + parseInt(document.body.scrollTop,10) document.getElementById("enetMeng").style.left = enetdocWidth - enetdivWidth + parseInt(document.body.scrollLeft,10) } catch(e){} } function enetmoveDiv() { try { if(parseInt(document.getElementById("enetMeng").style.top,10) <= (enetdocHeight - enetdivHeight + parseInt(document.body.scrollTop,10))) { window.clearInterval(enetobjTimer) enetobjTimer = window.setInterval("enetresizeDiv()",1) } enetdivTop = parseInt(document.getElementById("enetMeng").style.top,10) document.getElementById("enetMeng").style.top = enetdivTop - 1 } catch(e){} } function enetcloseDiv() { document.getElementById('enetMeng').style.visibility='hidden'; if(enetobjTimer) window.clearInterval(enetobjTimer) } </script>