我们公司用ASP.net和C#开发了OA系统,
            现在是用弹出一个窗口的方式实现最新信息提示,。
           请问有没有什么方法实现(用C#)如MSN或QQ上面的即时信息提示(在屏幕的右下角)!
         谢谢,请高手指点! 

解决方案 »

  1.   

    参考小灰的:
    http://www.svnhost.cn/Article/Detail-65.shtml
      

  2.   

    http://www.51aspx.com/CV/PopupWin
      

  3.   

    http://blog.csdn.net/keyake863/archive/2008/05/09/2423553.aspx
    点我脑袋也可以
      

  4.   

    <script>
    var oPopup = window.createPopup();
    function rdl_doClick(){
    var oMessage=document.all("oMessage");
    with (oPopup.document.body) {
    style.backgroundColor="lightyellow";
    style.border="solid black 1px";
    innerHTML=oMessage.value;
    }
    oPopup.show(70, 70, 180, 60, document.body);
    }
    </script>
    <input id=oMessage type=text size=40 value="点击弹出窗口外面的区域关闭它。">
    <br><br>
    <input type=button value=" 显示弹出窗口 " onclick="rdl_doClick();">&nbsp;<input type=button value=" 关闭弹出窗口 " onclick="oPopup.hide();">
      

  5.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>www.svnhost.cn </title>
        <meta name="generator" content="editplus" />
        <meta name="author" content="" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
    </head>
    <body>
        <h1>
            代码来源于:<a href="http://www.svnhost.cn" target="_blank">SVN开源社区</a></h1>    <script type="text/javascript">
      <!--
    document.writeln("  <div id=\"ShowAD\" style=\"position:absolute; z-index: 100;\"> ");
    document.writeln("    <div id=\"ImgLayer\" style=\"position:absolute; z-index:1; left: 0px;\"> ");
    document.writeln("      <img src=\"http://www.vzhangmen.com/images/200x130.gif\" width=\"200\" height=\"130\" border=\"0\" usemap=\"#ivrinMap\">");
    document.writeln("<map name=\"ivrinMap\"><area shape=\"rect\" coords=\"180,0,200,20\" href=\"#\" onclick=\"CloseIVR();return false;\" target=\"_self\"><area shape=\"rect\" coords=\"0,20,200,130\" href=\"http://www.svnhost.cn"+document.domain+"\" target=\"_blank\"></map>");
    document.writeln("    </div>");
    document.writeln("</div>");var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
    var adst = document.getElementById("ShowAD").style;
    adst.top = ( bodyfrm.clientHeight - 130 ) + "px";
    adst.left = ( bodyfrm.clientWidth - 200 ) + "px";
    function moveR() {
        adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 130 ) + "px";
        adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 200 ) + "px";
    }
    setInterval("moveR();", 80);
    function CloseIVR(){
        adst.display='none';
    }
      //-->
        </script></body>
    </html>
      

  6.   

    .NET的NickLee控件库里面有现成的控件,楼主可以看一下!