rem:  dialog.content.style.width = "400px"; dialog.content.innerHTML = " \ 
add:  dialog.content.style.width = "400px"; dialog.content.innerHTML = " \ 
context: 	function (dialog) {		var f_align = element.align;		var f_valign = element.vAlign;		var f_char = element.ch;		function selected(val) {			return val ? " selected" : "";		};		// dialog contents		dialog.content.style.width = "400px";		dialog.content.innerHTML = " \<div class='title'\ style='background: url(" + dialog.baseURL + dialog.editor.imgURL(cell ? "cell-prop.gif" : "row-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n[cell ? "Cell Properties" : "Row Properties"] + "</div> \<table style='width:100%'> \  <tr> \    <td id='--HA-layout'> \"+//      <fieldset><legend>" + i18n["Layout"] + "</legend> \//        <table style='width:100%'> \//         <tr> \//           <td class='label'>" + i18n["Align"] + ":</td> \//           <td> \//             <select name='f_align'> \//               <option value='left'" + selected(f_align == "left") + ">" + i18n["Left"] + "</option> \//               <option value='center'" + selected(f_align == "center") + ">" + i18n["Center"] + "</option> \//               <option value='right'" + selected(f_align == "right") + ">" + i18n["Right"] + "</option> \//               <option value='char'" + selected(f_align == "char") + ">" + i18n["Char"] + "</option> \//             </select> \//             &nbsp;&nbsp;" + i18n["Char"] + ": \//             <input type='text' style='font-family: monospace; text-align: center' name='f_char' size='1' value='" + f_char + "' /> \//           </td> \//         </tr><tr> \//           <td class='label'>" + i18n["Vertical align"] + ":</td> \//           <td> \//             <select name='f_valign'> \//               <option value='top'" + selected(f_valign == "top") + ">" + i18n["Top"] + "</option> \//               <option value='middle'" + selected(f_valign == "middle") + ">" + i18n["Middle"] + "</option> \//               <option value='bottom'" + selected(f_valign == "bottom") + ">" + i18n["Bottom"] + "</option> \//               <option value='baseline'" + selected(f_valign == "baseline") + ">" + i18n["Baseline"] + "</option> \//             </select> \//           </td> \//         </tr> \//        </table> \//       </fieldset> \"    </td> \  </tr> \  <tr> \    <td id='--HA-style'></td> \  </tr> \</table> \";		var st_prop = TableOperations.createStyleFieldset(dialog.doc, dialog.editor, element);		var p = dialog.doc.getElementById("--HA-style");		p.appendChild(st_prop);		var st_layout = TableOperations.createStyleLayoutFieldset(dialog.doc, dialog.editor, element);		p = dialog.doc.getElementById("--HA-layout");		p.appendChild(st_layout);		dialog.modal = true;		dialog.addButtons("ok", "cancel");		dialog.showAtElement(dialog.editor._iframe, "c");	});
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2641/b95cfe0a8ebbc3a21a218afd124442c6ec979137/table-operations.js/clean/lib/editor/plugins/TableOperations/table-operations.js