类似msn的信息提示框,来自vtigercrm

November 10, 2009 – 2:25 pm

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>提示信息框pop up</title>
<script language="javascript" src="include/scriptaculous/prototype.js" ></script>
<script language="javascript" src="include/js/general.js" ></script>

<!– <script language="javascript" src="include/js/asterisk_test.js" ></script> –>
<script language="javascript" src="include/js/notificationPopup_test.js" ></script>

    <style type="text/css">
.lvtCol {
    border-top:1px solid #fff;
    border-left:1px solid #ddd;
    border-right:0px solid #fff;
    border-bottom:0px solid #fff;
    background: #FFFFFF url(images/level2Bg.gif) repeat-x scroll center bottom;
    font-weight:bold;
}

.lvtColData {
    background-color:#ffffff;
}

.lvtColDataHover {
    background-color:#ffffcc;
}   
    div.fixedLay1 { position:fixed;
font-size: 12px;   
     }
   
    </style>
    <!–[if lte IE 6]>
    <style type="text/css">div.fixedLay { position:absolute; }</style>
    <![endif]–>
</head>

<body>
call pop up.

<div  class="lvtCol fixedLay1"  id="notificationDiv"
style="float: right;  padding-right: 5px; overflow: hidden; border-style: solid; right: 0px; border-color: rgb(141, 141, 141); bottom: 0px; display: none; padding: 2px; z-index: 10; font-weight: normal;width:200px;;" align="left">
信息提醒
</div>

<div id="OutgoingCall" style="display: none;position: absolute;z-index:200;" class="layerPopup">
    <table  border='0' cellpadding='5' cellspacing='0' width='100%'>
        <tr style='cursor:move;' >
            <td class='mailClientBg small' id='outgoing_handle'>
                <b>{$APP.LBL_OUTGOING_CALL}</b>
            </td>
        </tr>
    </table>
    <table  border='0' cellpadding='0' cellspacing='0' width='100%' class='hdrNameBg'>
        </tr>
        <tr><td style='padding:10px;' colspan='2'>
            {$APP.LBL_OUTGOING_CALL_MESSAGE}
        </td></tr>
    </table>
</div>

<div class="lvtCol fixedLay1" id="vtigerNewsPopupLay" style="display: none; height: 250px; bottom: 2px; padding: 2px; z-index: 12; font-weight: normal;" align="left">
</div>
<!– END –>

<!– ActivityReminder Customization for callback –>
<div class="lvtCol fixedLay1" id="ActivityRemindercallback" style="border: 0; right: 0px; bottom: 2px; display:none; padding: 2px; z-index: 10; font-weight: normal;" align="left">
</div>
<!– End –>

<script language="javascript">
    var ASTERISK_INCOMING_DIV_TIMEOUT3 = 15;    //the incoming call div is present for this number of seconds
    Popup_vtiger = _defPopup();
    Popup_vtiger.content = '测试 ';
    Popup_vtiger.displayPopup(Popup_vtiger.content,ASTERISK_INCOMING_DIV_TIMEOUT3);
</script>
</body>
</html>
 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

喜欢本文?马上订阅IdeaGrace's Blog吧。

相关日志:
spam!spam!
使用Java Swing界面实现数据库基本操作
摄影基础教程1 光圈,快门
使用smarty的开源网店程序
appfuse 2安装

You must be logged in to post a comment.