右下脚弹出的提示框用来提醒用户消息

提示框页面:

<head runat="server">     <title>提醒</title>     <bgsound src="你有新的消息,请注意查收!hun(NEW59).mp3" /> </head> <body οnlοad="movePFW()" background="Images/game_ysxz.gif">     <form id="form1" runat="server">     <div>     这是一个右下脚弹出的提示框<br />         用来提醒用户用的</div>     </form>     <script language="javascript">   window.resizeTo(220,210);   var windowW=220  // wide   var windowH=210  // high   var Yoffset=0   // in pixels, negative values allowed   var windowStep=2 // move increment (pixels)   var moveSpeed=12 // move speed (larger is slower)   Xoffset=25;   var windowX = (screen.width/2)-(windowW/2);   windowX=screen.availWidth-Xoffset-windowW;   var windowY = (screen.availHeight);   var windowYstop = windowY-windowH-Yoffset;   var windowYnow = windowY;   window.focus ();   resizeTo(windowW,windowH);   moveTo(windowX,windowY);      function movePFW()   {    if (document.all)    {     if (windowYnow>=windowYstop){      moveTo(windowX,windowYnow);      windowYnow=windowYnow-windowStep;      timer=setTimeout("movePFW()",moveSpeed);     }     else     {      clearTimeout(timer);      setTimeout("moveBack()",120000 )      moveTo(windowX,windowYstop);     }    }    else    {     moveTo(windowX,windowYstop);    }   }   function moveBack()   {    if (document.all)    {     if (windowYnow<=windowY)     {      moveTo(windowX,windowYnow);      windowYnow=windowYnow+windowStep;      timer1=setTimeout("moveBack()",moveSpeed);     }     else     {      clearTimeout(timer1);      moveTo(windowX,windowY);      self.close()     }    }    else    {     moveTo(windowX,windowYstop);     self.close()    }   }   </script> </body>

主页面:

<head runat="server">     <title>无标题页</title>     <script language="javascript">     function showSmallPage()     {         window.open('Default3.aspx','','top=1000,left=1000');     }     </script> </head> <body οnlοad="showSmallPage();">

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值