BVB Source Codes

Jie Yang v0.6.3 article system Show tablecellsplit.htm Source code

Return Download Jie Yang v0.6.3 article system: download tablecellsplit.htm Source code - Download Jie Yang v0.6.3 article system Source code - Type:.htm
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  4. <style type="text/css">
  5. body, a, table, div, span, td, th, input, select{font-size:9pt;font-family: "宋体", Verdana, Arial, Helvetica, sans-serif;}
  6. body {padding:5px}
  7. </style>
  8.  
  9. <script language=JavaScript src="dialog.js"></script><script language="JavaScript">
  10.  
  11. document.write("<title>单元格拆分</title>");
  12.  
  13. // 判断值是否大于0
  14. function MoreThanOne(obj, sErr){
  15.         var b=false;
  16.         if (obj.value!=""){
  17.                 obj.value=parseFloat(obj.value);
  18.                 if (obj.value!="0"){
  19.                         b=true;
  20.                 }
  21.         }
  22.         if (b==false){
  23.                 BaseAlert(obj,sErr);
  24.                 return false;
  25.         }
  26.         return true;
  27. }
  28.  
  29. // 预览
  30. function doView(opt){
  31.         if (opt=="col"){
  32.                 d_col.checked=true;
  33.                 d_row.checked=false;
  34.         }else{
  35.                 d_col.checked=false;
  36.                 d_row.checked=true;
  37.         }
  38.         if (d_col.checked){
  39.                 d_view.innerHTML = "<table border=1 cellpadding=0><tr><td width=25>&nbsp;</td><td width=25>&nbsp;</td></tr></table>";
  40.                 d_label.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;列数:";
  41.         }
  42.         if (d_row.checked){
  43.                 d_view.innerHTML = "<table border=1 cellpadding=0 width=50><tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr></table>";
  44.                 d_label.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;行数:";
  45.         }
  46. }
  47.  
  48. </script><SCRIPT event=onclick for=Ok language=JavaScript>
  49.         // 行列数的有效性
  50.         if (!MoreThanOne(d_num,'无效的行列数,必须大于1!')) return;
  51.  
  52.         if (d_row.checked){
  53.                 dialogArguments.TableRowSplit(parseInt(d_num.value));
  54.         }
  55.         if (d_col.checked){
  56.                 dialogArguments.TableColSplit(parseInt(d_num.value));
  57.         }
  58.  
  59.         window.returnValue = null;
  60.         window.close();
  61. </script></head>
  62. <body bgcolor=menu>
  63.  
  64. <table border=0 cellpadding=0 cellspacing=0 align=center>
  65. <tr>
  66.         <td>
  67.         <table border=0 cellpadding=0 cellspacing=0>
  68.         <tr><td colspan=3 height=5></td></tr>
  69.         <tr><td><input type=radio id=d_col checked onclick="doView('col')"><label for="d_col">拆分为列</label></td><td rowspan=3 width=30></td><td width=60 rowspan=3 id=d_view valign=middle align=center></td></tr>
  70.         <tr><td height=5></td></tr>
  71.         <tr><td><input type=radio id=d_row onclick="doView('row')"><label for="d_row">拆分为行</label></td></tr>
  72.         <tr><td height=5 colspan=3></td></tr>
  73.         <tr>
  74.                 <td id=d_label></td>
  75.                 <td></td>
  76.                 <td><input type=text id=d_num size=8 value="1" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=3></td>
  77.         </tr>
  78.         </table>
  79. </tr>
  80. <tr><td height=5></td></tr>
  81. <tr><td align=right><input type=submit value='  确定  ' id=Ok>&nbsp;&nbsp;<input type=button value='  取消  ' onclick="window.close();"></td></tr>
  82. </table>
  83.  
  84. <Script Language=JavaScript>
  85. doView('col');
  86. </script></body>
  87. </html>
  88.  
  89.  
downloadtablecellsplit.htm Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top