复主代码 代码如下: <머리> 无标题文档 <br><!-- <BR>*{font-size:12px;font-family:Verdana, Geneva, sans-serif;line-height:14px} <BR>a{color:#039} <BR> a:hover{color:#f60} <BR>.pop{position:absolute;left:40%;top:40%;width:300px;height:100px;ground:#eee;border:1px solid #ccc} <BR>.pop_head{위치:상대적;높이:20px;배경:#ccc} <BR>.pop_head a{위치:절대;오른쪽:8px;라인 높이:20px;색상:#000;텍스트 장식:없음} <BR>.pop_head a:hover{color:#f60;text-꾸밈:없음} <BR>.pop_body{padding:8px} <BR>--> <br> <본문> 关闭 谢谢光临…… <--弹 Out层的按钮:--> 이벤트,'pop');">弹按钮 <br>var url = '#'; <br>함수 표시(evt,o){ <br><strong><font style="BACKGROUND-COLOR: #ccffcc">evt.stopPropagation?evt.stopPropagation():evt.cancelBubble=true;<br></font></strong>var o = 문서. getElementById(o); <br>o.style.display = ""; <br>} <br>function hide(o){ <br>var o = document.getElementById(o); <br>o.style.display = "없음"; <br>window.location = URL; <br>} <br>document.onclick=function(){hide('pop');}<br>