cell




{$lang_table_cell_title}


// Disable auto resize
tinyMCE.getWindowArg('mce_windowresize', false);

function insertTable() {
if (window.opener) {
var args = new Array();

args["width"] = document.forms[0].width.value;
args["height"] = document.forms[0].height.value;
args["align"] = document.forms[0].align.options[document.forms[0].align.selectedIndex].value;
args["valign"] = document.forms[0].valign.options[document.forms[0].valign.selectedIndex].value;
args["className"] = document.forms[0].styleSelect.options[document.forms[0].styleSelect.selectedIndex].value;
args["bordercolor"] = document.forms[0].bordercolor.value;
args["bgcolor"] = document.forms[0].bgcolor.value;

window.opener.tinyMCE.execCommand("mceTableCellProps", false, args);
top.close();
}
}

function init() {
if (tinyMCE.settings['table_color_fields']) {
document.getElementById('colors').style.display = tinyMCE.isMSIE ? 'block' : 'table-row';
TinyMCEPlugin_onLoad(); // Resize again
}

document.forms[0].bordercolor.value = tinyMCE.getWindowArg('bordercolor');
document.forms[0].bgcolor.value = tinyMCE.getWindowArg('bgcolor');

for (var i=0; i

Wyszukiwarka

Podobne podstrony:
cell
Ravi Cell
Cell Cycle
Cell
Apoptosis Induction, Cell Cycle Arrest and in Vitro Anticancer Activity
cell
cell
4 Active Behavior of the Cell Membrane
cell bg changer
[15]Reactive oxygen species, cell signaling, and cell injury
Cancer Cell Metabolism
Single Cell Protein
Design Of A 10 Kw Inverter For A Fuel Cell(1)

więcej podobnych podstron