每次打开网页在右下角升起,很烦人.请问有办法禁止吗?
源代码如下:
<iframe frameborder="0" height="100%" width="100%" src="../list.php?echourl=http://www.eastmoney.com/"></iframe><!--论坛QQ消息广告
<script>
document.write('<scr'+'ipt src="qq_piaofu.js"></sc'+'ript>');
</script>-->
<!--<SCRIPT LANGUAGE="javascript">
window.open ('http://www.bdqn.cn/hfsd/ah163-index.asp', 'newwindow', 'height=450, width=400, top=0,left=0, resizable=yes,menubar=yes, scrollbars=yes')</script>-->
<!--<script language="javascript" type="text/javascript">
winLoadSize = function() { window.resizeTo(580,660); }
winLoadSize();
</script>-->
<!--论坛强制弹出广告
<SCRIPT language=javascript src="
http://www.ah163.net/ads/vcode.htm"></SCRIPT>-->
<!--浮出开始-->
<script>
window.onload = getMsg;
window.onresize = resizeDiv;
window.onerror = function(){}
//提示
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i = 0;
function getMsg()
{
try{
divTop = parseInt(document.getElementById("eMeng").style.top,10)
divLeft = parseInt(document.getElementById("eMeng").style.left,10)
divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
document.getElementById("eMeng").style.top = parseInt(document.body.scrollTop,10) + docHeight + 10;// divHeight
document.getElementById("eMeng").style.left = parseInt(document.body.scrollLeft,10) + docWidth - divWidth
document.getElementById("eMeng").style.visibility="visible"
objTimer = window.setInterval("moveDiv()",10)
}
catch(e){}
}
function resizeDiv()
{
i+=1
if(i>5000000) closeDiv()
try{
divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
document.getElementById("eMeng").style.top = docHeight - divHeight + parseInt(document.body.scrollTop,10)
document.getElementById("eMeng").style.left = docWidth - divWidth + parseInt(document.body.scrollLeft,10)
}
catch(e){}
}
function moveDiv()
{
try
{
if(parseInt(document.getElementById("eMeng").style.top,10) <= (docHeight - divHeight + parseInt(document.body.scrollTop,10)))
{
window.clearInterval(objTimer)
objTimer = window.setInterval("resizeDiv()",1)
}
divTop = parseInt(document.getElementById("eMeng").style.top,10)
document.getElementById("eMeng").style.top = divTop - 1
}
catch(e){}
}
function closeDiv()
{
document.getElementById('eMeng').style.visibility='hidden';
if(objTimer) window.clearInterval(objTimer)
}
</script>
<DIV id=eMeng style="Z-INDEX:99999;VISIBILITY: hidden;POSITION: absolute;">
<TABLE cellSpacing=0 cellPadding=0 width=198 height=86 border=0 background="../titlebg.gif">
<TBODY>
<TR>
<TD width=5 height=18 style="FONT-SIZE: 12px; COLOR: #3992DC"></TD>
<TD width=50 height=18 style="FONT-SIZE: 12px; COLOR: #ffffff"></TD>
<TD align=right vAlign=center style="PADDING-RIGHT: 0px; PADDING-TOP: 0px"><SPAN title=关闭 style="FONT-WEIGHT: bold; FONT-SIZE: 12px; CURSOR: hand; COLOR: white; MARGIN-RIGHT: 4px" onclick=closeDiv()>×</SPAN></TD>
</TR>
<TR>
<TD style="PADDING-RIGHT: 1px; PADDING-BOTTOM: 1px" width=219 colSpan=3 height=90>
<table width="200" height="148" border="0" cellpadding="4" cellspacing="1" bgcolor="40749C">
<tr>
<td valign="top" bgcolor="58A9E7">
<table width="200" height="149" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF">
<!--变动代码开始!--><a href=click_sd.php?user=555dgfwg123&url=Login.php?user=555dgfwg123&city= target=_blank><img src=img/ej.jpg border=0></a><!--变动代码结束!--></td>
</tr>
</table>
</tr>
</table>
<!--浮出结束-->