日期:2014-05-16 浏览次数:20438 次
<table class="table-css" id="showList" style="margin-left: 1px;">
<thead>
<tr role="head">
<th style="width:135px"></th>
<th sort="true" width="144px">aaa</th>
<th style="width:48px"></th>
<th style="width:116px"></th>
<th style="width:120px"></th>
<th style="width:136px"></th>
<th style="width:88px"></th>
<th style="width:145px"></th>
<th style="width:124px"></th>
</tr>
</thead>
<tbody>
<s:iterator value="data" id="date1" status="st">
<tr>
<td style="width:135px"><s:property value="date" /></td>
<td style="width:144px"><s:property value="time" /></td>
<td style="width:48px"><s:property value="userip" /></td>
<td style="width:116px"><s:property value="servclass" /></td>
<td style="width:120px"><s:property value="serverip" /></td>
<td style="width:136px"><s:property value="gotoclass" /></td>
<td style="width:88px"><s:property value="state" /></td>
<td style="width:145px"><s:property value="WTserverip" /></td>
<td style="width:124px"><s:property value="usernum" /></td>
</tr>
</s:iterator>
</tbody>
</table>
function table_rowspan(table_id,colnum){
var table_firsttd = "";
var table_currenttd = "";
var table_SpanNum = 0;
var table_Obj = $(table_id + " tr td:nth-child(" +colnum + ")");
table_Obj.each(function(i){
if(i>0){
$(this).css("color","#1E47BC");
}
if(i==0){
table_firsttd = $(this);