Location: PHPKode > projects > Content*Builder > contentbuilder/plugins/article2/editor_v2/updtable.htm
<!-- update table dialog for contentbuilder, hide@address.com -->
<HTML>
<HEAD>
<TITLE>Enter Table Information</TITLE>

<STYLE TYPE="text/css">
 BODY   {margin-left:10; font-family:Verdana; font-size:12; background:menu}
 BUTTON {width:5em}
 TABLE  {font-family:Verdana; font-size:12}
 P      {text-align:center}
</STYLE>

<SCRIPT LANGUAGE=JavaScript>
<!--
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57))
}
// -->
</SCRIPT>

<SCRIPT LANGUAGE=JavaScript FOR=window EVENT=onload>
<!--
  for ( elem in window.dialogArguments )
  {
    switch( elem )
    {
    case "CellPadding":
      CellPadding.value = window.dialogArguments["CellPadding"];
      break;
    case "CellSpacing":
      CellSpacing.value = window.dialogArguments["CellSpacing"];
      break;
    case "Width":
      Width.value = window.dialogArguments["Width"];
      break;
    case "Border":
      Border.value = window.dialogArguments["Border"];
      break;
    case "WAttr":
      WAttr.value = window.dialogArguments["WAttr"];
      break;
    case "Align":
      Align.value = window.dialogArguments["Align"];
      break;
    }
  }
// -->
</SCRIPT>

<SCRIPT LANGUAGE=JavaScript FOR=Ok EVENT=onclick>
<!--
  var arr = new Array();
  arr["CellSpacing"] = CellSpacing.value;
  arr["CellPadding"] = CellPadding.value;
  arr["Width"] = Width.value;
  arr["WAttr"] = WAttr.value;
  arr["Border"] = Border.value;
  arr["Align"] = Align.value;
  window.returnValue = arr;
  window.close();
// -->
</SCRIPT>

</HEAD>

<BODY>

<table cellspacing="2" cellpadding="2" border="0">
<tr>
    <td><fieldset style="padding : 5px;"><legend> Update Table </legend>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
    <td>Cell Padding:</td>
    <td><input type="text" name="CellPadding" size="3" ONKEYPRESS="event.returnValue=IsDigit();"></td>
    <td>Cell Spacing:</td>
    <td><input type="text" name="CellSpacing" size="3" ONKEYPRESS="event.returnValue=IsDigit();"></td>
</tr>
<tr>
    <td>Width:</td>
    <td><input type="text" name="Width" size="3" ONKEYPRESS="event.returnValue=IsDigit();"></td>
    <td>Width Attribute:</td>
    <td><select name="WAttr">
<option value="%" selected>%</option>
<option value="">Pixel</option>
</select></td>
</tr>
<tr>
    <td>Border:</td>
    <td><input type="text" name="Border" size="3" ONKEYPRESS="event.returnValue=IsDigit();"></td>
    <td>Align:</td>
    <td><select name="Align">
<option value="left">left</option>
<option value="center">center</option>
<option value="right">right</option>
</select></TD></td>
</tr>
<!-- <tr>
    <td>Caption:</td>
    <td colspan="3"><br><input type="text" name="Caption" size="33"></td>
</tr> -->
<tr>
    <td colspan="4" align="center"><br><BUTTON ID=Ok TYPE=SUBMIT>&nbsp;OK&nbsp;</BUTTON>&nbsp;
<BUTTON ONCLICK="window.close();">Cancel</BUTTON></td>
</tr>
</table>
</td></tr></table>
</BODY>
</HTML>
Return current item: Content*Builder