:::

13-4 index4.php

<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title></title>
 
  <link rel="stylesheet" type="text/css" href="dhtmlxSuite/dhtmlxLayout/codebase/dhtmlxlayout.css">
    <link rel="stylesheet" type="text/css" href="dhtmlxSuite/dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_blue.css">
    <link rel="stylesheet" type="text/css" href="dhtmlxSuite/dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_skyblue.css">
    <script src="dhtmlxSuite/dhtmlxLayout/codebase/dhtmlxcommon.js"></script>
    <script src="dhtmlxSuite/dhtmlxLayout/codebase/dhtmlxcontainer.js"></script>
    <script src="dhtmlxSuite/dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
   
    <script>
    var dhxLayout,Layout1,win_c1;
    function doOnLoad(){   
    dhxLayout = new dhtmlXLayoutObject(document.body, "5H");
    dhxLayout.setCollapsedText("c", "主內容");
    var win_l = dhxLayout.cells('a');
    win_c1 = dhxLayout.cells('c');
    var win_c2 = dhxLayout.cells('d');
    var win_r = dhxLayout.cells('e');
    win_l.setWidth(180);
    win_l.setText("主選單");
    win_l.attachObject("url");
    win_c1.setHeight(300);
    win_c1.setText("主內容");
    win_c1.attachURL("http://www.google.com");
    win_c2.setText("頁尾資訊");
    win_r.setWidth(180);
    win_r.setText("其他資訊");  
   
   
    Layout1 = new dhtmlXLayoutObject(dhxLayout.cells('b'), "2U");
    Layout1.setAutoSize("a;b");   
    var block_l = Layout1.cells('a');
    var block_2 = Layout1.cells('b');
    block_l.setText("左區塊");
    block_2.setText("右區塊");
   
  } 
 
  function link(url){
        win_c1.attachURL(url);
    }

    </script>   
   
    <style>
     html, body { width: 100%; height: 100%; margin: 0px; overflow:hidden;}
    </style>
 
  </head>
  <body onLoad="doOnLoad();">
     <div id="url" style="font-size:12px;padding:4px;">
         <a href="javascript:link('http://tad0616.net');">http://tad0616.net</a><br>
         <a href="javascript:link('http://163.26.52.246');">http://163.26.52.246</a><br>
         </div> 

  </body>
</html>
 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D296%26tbsn%3D9

書籍目錄

展開 | 闔起

線上使用者

62人線上 (10人在瀏覽線上書籍)

會員: 0

訪客: 62

更多…