BVB Source Codes

Pcook CMS bubble guest v3.0 SDCMS version Show tablecellsplit.htm Source code

Return Download Pcook CMS bubble guest v3.0 SDCMS version: download tablecellsplit.htm Source code - Download Pcook CMS bubble guest v3.0 SDCMS version Source code - Type:.htm
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  4. <script language=javascript src="dialog.js"></script>
  5. <link href='dialog.css' type='text/css' rel='stylesheet'>
  6. <title>单元格拆分</title>
  7.  
  8. <script language="javascript">
  9.  
  10. function MoreThanOne(obj, sErr){
  11.         var b=false;
  12.         if (obj.value!=""){
  13.                 obj.value=parseFloat(obj.value);
  14.                 if (obj.value!="0"){
  15.                         b=true;
  16.                 }
  17.         }
  18.         if (b==false){
  19.                 BaseAlert(obj,sErr);
  20.                 return false;
  21.         }
  22.         return true;
  23. }
  24.  
  25. function doView(opt){
  26.         if (opt=="col"){
  27.                 d_col.checked=true;
  28.                 d_row.checked=false;
  29.         }else{
  30.                 d_col.checked=false;
  31.                 d_row.checked=true;
  32.         }
  33.         if (d_col.checked){
  34.                 d_view.innerHTML = "<table border=1 cellpadding=0><tr><td width=25>&nbsp;</td><td width=25>&nbsp;</td></tr></table>";
  35.                 d_label.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;列数:";
  36.         }
  37.         if (d_row.checked){
  38.                 d_view.innerHTML = "<table border=1 cellpadding=0 width=50><tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr></table>";
  39.                 d_label.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;行数:";
  40.         }
  41. }
  42.  
  43. function ok(){
  44.         if (!MoreThanOne(d_num,"无效的行列数,必须大于1!")) return;
  45.  
  46.         if (d_row.checked){
  47.                 dialogArguments.TableRowSplit(parseInt(d_num.value));
  48.         }
  49.         if (d_col.checked){
  50.                 dialogArguments.TableColSplit(parseInt(d_num.value));
  51.         }
  52.  
  53.         window.returnValue = null;
  54.         window.close();
  55. }
  56.  
  57. function InitDocument(){
  58.         adjustDialog();
  59. }
  60.  
  61. </script>
  62.  
  63. </head>
  64. <body onload="InitDocument()">
  65. <table border=0 cellpadding=0 cellspacing=5 id=tabDialogSize><tr><td>
  66.  
  67.  
  68. <table border=0 cellpadding=0 cellspacing=0 align=center width=180 height=150>
  69. <tr>
  70.         <td>
  71.         <table border=0 cellpadding=0 cellspacing=0>
  72.         <tr><td colspan=3 height=5></td></tr>
  73.         <tr><td noWrap><input type=radio id=d_col checked onclick="doView('col')"><label for="d_col">拆分为列</label></td><td rowspan=3 width=30>&nbsp;</td><td width=60 rowspan=3 id=d_view valign=middle align=center></td></tr>
  74.         <tr><td height=5></td></tr>
  75.         <tr><td noWrap><input type=radio id=d_row onclick="doView('row')"><label for="d_row">拆分为行</label></td></tr>
  76.         <tr><td height=5 colspan=3></td></tr>
  77.         <tr>
  78.                 <td noWrap id=d_label></td>
  79.                 <td></td>
  80.                 <td><input type=text id=d_num size=8 value="1" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=3></td>
  81.         </tr>
  82.         </table>
  83. </tr>
  84. <tr><td height=5></td></tr>
  85. <tr><td noWrap align=right><input type=submit value='确定' id=Ok onclick="ok()">&nbsp;&nbsp;<input type=button value='取消' onclick="window.close();"></td></tr>
  86. </table>
  87.  
  88.  
  89. </td></tr></table>
  90.  
  91. <Script Language=JavaScript>
  92. doView('col');
  93. </Script>
  94.  
  95. </body>
  96. </html>
downloadtablecellsplit.htm Source code - Download Pcook CMS bubble guest v3.0 SDCMS version Source code
Related Source Codes/Software:
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
Jie Yang v0.6.3 article system - System functions: 1, the system settings A confi... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
C9 v2.1.1 static post system - Program USES ASP + ACC structure design and develo... 2016-09-21
Imitation green download station perfect version - Before increased | software home page, on the basi... 2016-09-21
Subdomain hosting edition v1.9 s taobao, pat - The background site admin 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