Hopes

          Start Here..

           

          彈出提示層

          彈出提示層

          分類: javascript2008-11-01 09:49 241人閱讀 評論(1) 收藏 舉報
          <!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=gb2312" />
          <title> 新網頁 </title>
          <style type="text/css">
          html { padding:0px;  }
          body { height:100%; margin:0px; }
          #closeshow {
           position: absolute;
           left: 0;
           top: 0;
           width: 100%;
           height: 100%;
          }
          #closewindow {
           z-index: 1002;
           position: absolute;
                  width: 100%;
          }
          #graydiv {
           z-index: 1000;
           background: #DDDDDD;
           position: absolute;
           left: 0;
           top: 0;
           width: 100%;
           height: 100%;
           filter:alpha(opacity=50);
           opacity: 0.5;
           -moz-opacity: 0.5;
          }
          .msg_block {
           margin-top: 100px;
           margin-left: auto;
           margin-right: auto;
           width: 300px;
          }
          .msg_title {
           border: 1px solid #2982BA;
           background-color: #ADDAFB;
           border-bottom: 0;
          }
          .msg_content {
           border: 1px solid #2982BA;
           background-color: #E6F7FF;
           text-align: center;
          }
          </style>
          <script type="text/javascript">
          function showclose() {
           var obj=document.getElementById("closeshow");
           if(obj.style.display=="none")
            obj.style.display="block";
           else
            obj.style.display="none";
          }
          </script>
          </head>
          <body>
          <input type="button" onclick="showclose();" value="退出" />
          <div id="closeshow" style="display:none;">
           <div id="closewindow">
            <div class="msg_block">
             <div class="msg_title">退出</div>
             <div class="msg_content"><p>確定退出?</p><p><input type="button" value="確定" /><input type="button" onclick="showclose();" value="取消" /></p></div>
            </div>
           </div>
           <div id="graydiv">
           </div>
           </div>
          哈哈!
          </body>
          </html>

          posted on 2012-08-12 21:43 ** 閱讀(121) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          統計

          公告

          你好!

          常用鏈接

          留言簿(2)

          隨筆檔案

          文章分類

          文章檔案

          新聞檔案

          相冊

          收藏夾

          C#學習

          友情鏈接

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 淳化县| 嘉善县| 淮南市| 仙桃市| 石首市| 通州区| 海林市| 宜都市| 宁晋县| 玉环县| 苏州市| 龙江县| 长治市| 丽水市| 忻州市| 集贤县| 乌恰县| 米泉市| 封开县| 连平县| 兴国县| 涞源县| 留坝县| 惠州市| 调兵山市| 玛曲县| 淮安市| 日土县| 清水河县| 阆中市| 英超| 金华市| 雅安市| 和硕县| 卓资县| 丰镇市| 巴里| 海门市| 上犹县| 东辽县| 南汇区|