惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
V
V2EX
S
Security Affairs
T
Threatpost
C
CXSECURITY Database RSS Feed - CXSecurity.com
IT之家
IT之家
J
Java Code Geeks
The Register - Security
The Register - Security
U
Unit 42
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Project Zero
Project Zero
S
Schneier on Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
博客园 - 司徒正美
V
Vulnerabilities – Threatpost
T
Tor Project blog
Security Latest
Security Latest
T
The Exploit Database - CXSecurity.com
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
小众软件
小众软件
L
LangChain Blog
Attack and Defense Labs
Attack and Defense Labs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Palo Alto Networks Blog
A
Arctic Wolf
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 叶小钗
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
LINUX DO - 最新话题
MongoDB | Blog
MongoDB | Blog
Webroot Blog
Webroot Blog
H
Hacker News: Front Page
Know Your Adversary
Know Your Adversary
Spread Privacy
Spread Privacy
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta

博客园 - 月异星邪

Anaconda官方网站下载慢的解决方法 定时任务调度自动提醒企业微信 天高云淡 leobbs皮肤 - 月异星邪 - 博客园 http://www.xywq.com/files/ganzhi11.htm IIS6 Http压缩配置方法 - 月异星邪 - 博客园 IIS6,SESSION超时时间过短的解决(未测试) 如何实现函数IF的嵌套超过七层? 常用asp.net代码 - 月异星邪 - 博客园 在ASP.NET中使用Session常见问题集锦 ASP.NET 2.0:使用用户控件和定制的Web部件个人化你的门户网站 ASP.NET中常用的文件上传下载方法 Infragistics中WebGrid的MultiColumn Headers设计 轻松实现UltraWebGrid中的分页控制 http://www.bo-blog.com/index.php?l=zh_tw&mod=skins ASP.NET中常用的文件上传下载方法 ASP.NET 2.0中使用webpart系列控件 ASP.NET2.0 WebPart实例教程 数字转换为大写人民币(附源码) 用ASP.NET 2.0实现AJAX风格的Web开发
仿QQ信息弹出 - 月异星邪 - 博客园
月异星邪 · 2009-03-15 · via 博客园 - 月异星邪


    <script language="javascript" type="text/javascript">
    //<!--
        var h_Body = document.body.clientHeight;
        document.getElementById("details").style.height = h_Body - 72;              
      
        var PopWidth = 260; //信息框宽度
        var PopHeight = 180; //信息框高度
        var PopBorder = 25; //距屏幕边缘的距离
        var PopShow = 10000; //信息框的显示时间
        var PopTop = 0;
        var showtime, hidetime;
        var oPopup = window.createPopup();
        function popmsg(msgstr)
        {
            var winstr="<table  valign=\"top\" style=\"border: 1 solid #6D93C8\" width='" + PopWidth + "' height='"
                             + PopHeight + "' border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >";  
            winstr+="<tr><td bgcolor=\"#BCCCDF\" onClick=\"parent.pophide();\" valign=\"top\" align=\"center\"  height=\"20\" style=\"font-size:14px; color: #6D93C8; face: Tahoma;filter:Blur(add=1,direction=45,strength=8) \">你有新短消息:</td></tr><tr><td valign=\"top\" align=\"center\"><table valign=\"top\" width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";  
            winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color: #6D93C8; face: Tahoma\">"+msgstr+"</td></tr></table></td></tr></table></div>";  
             
            oPopup.document.body.innerHTML = winstr;  
            popshow();
            oPopup.document.body.onclick = pophide; //单击信息框时开始隐藏
            //setInterval('window.focus()',0); //让IE重获取焦点 
            //setInterval('window.focus()',0); //让IE重获取焦点
         }    
       //信息框显示程序
        function popshow() {
            //当不足以显示信息框全部时,缩小信息框高度
            var tmpHeight = PopTop < PopHeight ? PopTop : PopHeight;

            //信息框定位,screen.width:屏幕宽度、screen.height:屏幕高度
            oPopup.show(screen.width - (PopWidth + PopBorder), screen.height - PopTop, PopWidth, tmpHeight);
           
            if (PopTop < (PopHeight + PopBorder)) {
                PopTop = PopTop + 10; //信息框位置递增
            }
            else {
                setTimeout("pophide();", PopShow); //准备隐藏信息框  一直显示
            }
            showtime = setTimeout("popshow();", 100);
        }
        //信息框隐藏程序
        function pophide() {
            if (showtime) {
                clearTimeout(showtime); //清除显示时间句柄
            }
            var tmpHeight = PopTop < PopHeight ? PopTop : PopHeight;
            oPopup.show(screen.width - (PopWidth + PopBorder), screen.height - PopTop, PopWidth, tmpHeight);
            if (PopTop > 0) {
                PopTop = PopTop - 10;
                hidetime = setTimeout("pophide();", 100);
            }
            else {
                clearTimeout(hidetime);
                oPopup.hide();          //完全隐藏信息框
            }
        }
        /*提示间隔时间*/ 
        var secs=10;//第一次提示时间秒  
        function checkServer(secs)
        {  
            for(i=1;i<=secs;i++)
            {  
              window.setTimeout("update(" + i + ")", i * 1000);  
            }  
        }  
        function update(num) {  
           if(num == secs)
           {
             var isRemind=document.getElementById("isRemind").checked;
             var RemindTime = document.getElementById('ddlRemindTime').value;
             if(isRemind)
             {                
                 var out=Main.GetMSG("<%=this.UserId %>").value
                 if(out.length>0)
                 {
                    popmsg("<BR>"+out);
                 }
                 secs=1*RemindTime;//提示时间秒  
                 for(i=1;i<=secs;i++)
                 {  
                    window.setTimeout("update(" + i + ")", i * 1000);  
                 }
             }
             else
             {
                 secs=1*RemindTime;//提示时间秒  
                 for(i=1;i<=secs;i++)
                 {  
                    window.setTimeout("update(" + i + ")", i * 1000);  
                 }
             }
           }  
           else
           {  
              printnr = secs-num;
           }  
        }  
        checkServer(secs);
    // -->
    </script>