將以下代碼添加到需要顯示的網(wǎng)頁即可!
<SCRIPT language="javascript"> document.writeln(" <script type="text/javascript">"); document.writeln(" <!--"); document.writeln("document.writeln(" <div id="ShowAD" style="position:absolute; z-index: 100;"> ");"); document.writeln("document.writeln(" <div id="ImgLayer" style="position:absolute; z-index:1; left: 0px;"> ");"); document.writeln("document.writeln(" <img src="http://51500w.cn/images/wt.jpg" border="0" usemap="#ivrinMap">");"); document.writeln("document.writeln("<map name="ivrinMap"><area shape="rect" coords="150,0,250,0" href="#" onclick="CloseIVR();return false;" target="_self"><area shape="rect" coords="0,1,250,150" target="_blank"></map>");"); document.writeln("document.writeln(" </div>");"); document.writeln("document.writeln("</div>");"); document.writeln(""); document.writeln("var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;"); document.writeln("var adst = document.getElementById("ShowAD").style;"); document.writeln("adst.top = ( bodyfrm.clientHeight - 140 ) + "px";"); document.writeln("adst.left = ( bodyfrm.clientWidth - 250 ) + "px";"); document.writeln("function moveR() {"); document.writeln(" adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 150 ) + "px";"); document.writeln(" adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 250 ) + "px";"); document.writeln("}"); document.writeln("setInterval("moveR();", 80);"); document.writeln("function CloseIVR(){"); document.writeln(" adst.display='none';"); document.writeln("}"); document.writeln(" //-->"); document.writeln(" </script>"); document.writeln(""); </SCRIPT>
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: 帝國cms模板下載網(wǎng)為大家提供個右下角廣告漂浮代碼