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#學習

          友情鏈接

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 壤塘县| 普安县| 丹凤县| 商丘市| 和龙市| 德格县| 屯留县| 大余县| 昌都县| 商河县| 屏山县| 安国市| 扎兰屯市| 广水市| 旬阳县| 嘉义市| 若羌县| 米脂县| 桐梓县| 漯河市| 南康市| 遵义市| 漳浦县| 临城县| 鹤庆县| 古蔺县| 全南县| 阿图什市| 阳朔县| 阿拉善右旗| 安阳市| 台东市| 项城市| 通州区| 永嘉县| 晋江市| 惠来县| 庆阳市| 南和县| 静乐县| 天津市|