<HTML>
<HEAD>
<TITLE> movePopup </TITLE>
<script language="JavaScript">
<!--
var oPopup = window.createPopup(); //IE5.5+var str = "<table id=mypopup border=1 cellpadding=2 cellspacing=0 width=200 height=100 style='background: #CCCCFF'><tr><td>你有新消息</td></tr></table>";oPopup.document.body.innerHTML = str;var w = 200, h = 100;
var x_tmp = screen.width - 100;
var y_tmp = screen.height;
var h_tmp = 0;function movePopup(){
var y0=Math.max(--y_tmp,0);
var h0=Math.min(++h_tmp,h);
oPopup.show(x_tmp, y0, w, h0);
if(y0<=(screen.height-127))return;
setTimeout("movePopup()",10);
}
//-->
</script>
</HEAD><BODY onload="movePopup()">
</BODY>
</HTML>
<HEAD>
<TITLE> movePopup </TITLE>
<script language="JavaScript">
<!--
var oPopup = window.createPopup(); //IE5.5+var str = "<table id=mypopup border=1 cellpadding=2 cellspacing=0 width=200 height=100 style='background: #CCCCFF'><tr><td>你有新消息</td></tr></table>";oPopup.document.body.innerHTML = str;var w = 200, h = 100;
var x_tmp = screen.width - 100;
var y_tmp = screen.height;
var h_tmp = 0;function movePopup(){
var y0=Math.max(--y_tmp,0);
var h0=Math.min(++h_tmp,h);
oPopup.show(x_tmp, y0, w, h0);
if(y0<=(screen.height-127))return;
setTimeout("movePopup()",10);
}
//-->
</script>
</HEAD><BODY onload="movePopup()">
</BODY>
</HTML>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货