如何學好java

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

          showModalDialog

          Posted on 2011-11-27 21:34 哈希 閱讀(178) 評論(0)  編輯  收藏 所屬分類: Js and Jquery 常用總結
          <!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();
          //關掉
              }
          </script>
          </head>

          <body>
              
          <a href="javaScript:pass('大仲馬')">大仲馬</a><br/>
              
          <a href="javaScript:pass('小仲馬')">小仲馬</a><br/>
          </body>
          </html>
             
          </body>
          </html>
          主站蜘蛛池模板: 津市市| 潞西市| 茶陵县| 隆回县| 溆浦县| 彰化县| 灵石县| 桂平市| 泰兴市| 衡山县| 大关县| 西吉县| 平陆县| 福鼎市| 白水县| 宝清县| 阿拉善盟| 江孜县| 稻城县| 桂平市| 泉州市| 扎兰屯市| 金山区| 辽阳县| 二手房| 禄丰县| 保康县| 拜泉县| 思南县| 同江市| 堆龙德庆县| 云安县| 闸北区| 河池市| 赣榆县| 兰考县| 堆龙德庆县| 常州市| 铜鼓县| 蕉岭县| 嘉义县|