⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noname1.htm.bak

📁 用Javascript开发的不少控件的源代码
💻 BAK
字号:
<script language="javascript" src="alai_tc.js"></script>

<table border="1" width="555" cellspacing="2" id="table6">
  <tbody>
    <tr>
      <td height="19" width="62">1</td>
      <td height="19" width="127">
        <p>monitor</p>
      </td>
      <td height="19" width="109">广东东莞</td>
      <td height="19" width="92">
        <p>2,223</p>
      </td>
      <td height="19" width="131">
        <p>04/17/1997</p>
      </td>
    </tr>
    <tr>
      <td height="17" width="62">
        <p>2</p>
      </td>
      <td height="17" width="127">
        <p>printer</p>
      </td>
      <td height="17" width="109">美国加州</td>
      <td height="17" width="92">
        <p>107,526</p>
      </td>
      <td height="17" width="131">
        <p>02/13/1998</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">3</td>
      <td height="19" width="127">
        <p>pc</p>
      </td>
      <td height="19" width="109">台湾</td>
      <td height="19" width="92">
        <p>888</p>
      </td>
      <td height="19" width="131">
        <p>01/01/2000</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">4</td>
      <td height="19" width="127">
        <p>scaner</p>
      </td>
      <td height="19" width="109">美国</td>
      <td height="19" width="92">
        <p>69</p>
      </td>
      <td height="19" width="131">
        <p>11/19/2000</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">5</td>
      <td height="19" width="127">speaker</td>
      <td height="19" width="109">香港</td>
      <td height="19" width="92">
        <p>1,412,351</p>
      </td>
      <td height="19" width="131">
        <p>09/18/2001</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">6</td>
      <td height="19" width="127">
        <p>server</p>
      </td>
      <td height="19" width="109">台湾</td>
      <td height="19" width="92">
        <p>4,097</p>
      </td>
      <td height="19" width="131">
        <p>11/12/2001</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">7</td>
      <td height="19" width="127">hub</td>
      <td height="19" width="109">新加坡</td>
      <td height="19" width="92">
        <p>4,742</p>
      </td>
      <td height="19" width="131">
        <p>12/30/2001</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">8</td>
      <td height="19" width="127">note 
        book</td>
      <td height="19" width="109">美国</td>
      <td height="19" width="92">
        <p>698</p>
      </td>
      <td height="19" width="131">
        <p>02/08/2002</p>
      </td>
    </tr>
    <tr>
      <td height="15" width="62">
        <p>9</p>
      </td>
      <td height="15" width="127">
        <p>pocket pc</p>
      </td>
      <td height="15" width="109">香港</td>
      <td height="15" width="92">
        <p>321</p>
      </td>
      <td height="15" width="131">
        <p>11/01/2002</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">10</td>
      <td height="19" width="127">
        <p>mic</p>
      </td>
      <td height="19" width="109">广州</td>
      <td height="19" width="92">
        <p>5,415</p>
      </td>
      <td height="19" width="131">
        <p>11/27/2002</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">11</td>
      <td height="19" width="127">
        <p>net card</p>
      </td>
      <td height="19" width="109">北京</td>
      <td height="19" width="92">
        <p>7,094</p>
      </td>
      <td height="19" width="131">
        <p>01/28/2003</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">12</td>
      <td height="19" width="127">
        <p>louter</p>
      </td>
      <td height="19" width="109">加拿大</td>
      <td height="19" width="92">
        <p>2,442</p>
      </td>
      <td height="19" width="131">
        <p>05/21/2003</p>
      </td>
    </tr>
    <tr>
      <td height="19" width="62">13</td>
      <td height="19" width="127">
        <p>cpu</p>
      </td>
      <td height="19" width="109">美国</td>
      <td height="19" width="92">
        <p>1,046</p>
      </td>
      <td height="19" width="131">
        <p>12/17/2003</p>
      </td>
    </tr>
  </tbody>
</table>
<script language="javascript">
tc6=new alai_tc(table6)
tc6.setCaption("No|品名|产地|数量|日期")
tc6.setDataType("num|char|cnbh|comma_num|date")
tc6.setTcStyle("font-size:11pt;color:darkblue;background-color:sandybrown;")
tc6.setTblStyle("border-collapse:collapse;border:0;font-size:9pt;")
tc6.setColStyle("color:red;|color:darkblue;|color:green;|color:blue;|color:#800000;")
tc6.setRowStyle("background-color:lightcyan;|background-color:palegoldenrod;")
tc6.doResize()
tc6.selectOne()
tc6.mouseOver()
tc6.contextMenu()
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -