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

This commit is contained in:
zero 2007-03-22 05:26:15 +00:00
parent 2a252d8de4
commit cccf9a0096
3 changed files with 6 additions and 4 deletions

View file

@ -77,7 +77,7 @@ img.border_preview_color {
width:30px;
height:16px;
border:1px solid #EEEEEE;
background-color:#88EE22;
background-color:#000000;
}
img.border_preview_none_color {

View file

@ -22,7 +22,7 @@
<div class="body"><input type="text" class="table_input" id="border" value="1" />px</div>
<div class="header">{$lang->table_inner_border} :</div>
<div class="body"><input type="text" class="table_input" id="inner_border" value="1" />px</div>
<div class="body"><input type="text" class="table_input" id="inner_border" value="0" />px</div>
</div>
<div class="item_area">
@ -46,7 +46,7 @@
<tr>
<td><img src="./images/border_solid.gif" alt="blank" class="border_preview_color" id="border_preview_color" /></td>
<td>#</td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="88EE22" onkeyup="manual_select_color('border',this)"/></td>
<td><input type="text" id="border_color_input" size="6" maxlength="6" class="table_input" value="000000" onkeyup="manual_select_color('border',this)"/></td>
</tr>
</table>
</div>

View file

@ -35,7 +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+"\" style=\"border:"+border+"px solid #"+border_color+";background-color:#"+bg_color+"\">";
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+"\"";
text +=">";
for(var row=0; row<rows_count;row++) {
text += "<tr>";