git-svn-id: http://xe-core.googlecode.com/svn/trunk@605 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-22 06:29:06 +00:00
parent cccf9a0096
commit 18d14721f6
2 changed files with 3 additions and 2 deletions

View file

@ -35,8 +35,9 @@ function insertTable() {
var bg_color = xGetElementById("bg_color_input").value;
if(bg_color.length!=6) bg_color = "FFFFFF";
var text = "\n<table width=\""+width+"\" border=\""+inner_border+"\" cellspacing=\""+cellspacing+"\" cellpadding=\""+cellpadding+"\" ";
text += "style=\"border:"+border+"px solid #"+border_color+";background-color:#"+bg_color+"\"";
var text = "";
text += "<table width=\""+width+"\" border=\""+inner_border+"\" cellspacing=\""+cellspacing+"\" cellpadding=\""+cellpadding+"\" ";
if(border>0) text += " style=\"border:"+border+"px solid #"+border_color+";background-color:#"+bg_color+"\" ";
text +=">";
for(var row=0; row<rows_count;row++) {