如何學好java

          如何學好java,其實很簡單,只要用心體會,慢慢積累!
          posts - 106, comments - 7, trackbacks - 0, articles - 3
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          showModalDialog

          Posted on 2011-11-27 21:34 哈希 閱讀(178) 評論(0)  編輯  收藏 所屬分類: Js and Jquery 常用總結(jié)
          <!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>
          <script language="javascript">
              function show()
          {
                  var value
          =window.showModalDialog("b.html","","dialogWidth:200px;dialogHeight:200px;");
                  document.write(
          "<h1>"+value+"</h1>");
              }

          </script>
          </head>

          <body onload="show()">
           
          <!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>
          <script language="javascript">
              
          function pass(author){
                  window.returnValue
          =author;
                  window.close();
          //關(guān)掉
              }
          </script>
          </head>

          <body>
              
          <a href="javaScript:pass('大仲馬')">大仲馬</a><br/>
              
          <a href="javaScript:pass('小仲馬')">小仲馬</a><br/>
          </body>
          </html>
             
          </body>
          </html>
          主站蜘蛛池模板: 金寨县| 洛宁县| 巴楚县| 拜泉县| 若尔盖县| 荥经县| 朝阳市| 剑阁县| 泾阳县| 左贡县| SHOW| 东乡| 元氏县| 麦盖提县| 原平市| 牡丹江市| 庆元县| 张北县| 休宁县| 固阳县| 化德县| 西城区| 思南县| 东平县| 富川| 萨嘎县| 无为县| 黄平县| 赣榆县| 拉孜县| 东宁县| 班戈县| 曲阳县| 饶河县| 临邑县| 合川市| 剑川县| 石屏县| 永清县| 乌兰县| 北宁市|