我想把下面代码中的第一个
部份显示4行第行二列.用JAVASCRIPT如何写代码呀?
<!--#include file="Connections/Productconn.asp" -->
<%
var rexc__MMColParam = "1";
if (String(Request.QueryString("类别ID")) != "undefined" &&
String(Request.QueryString("类别ID")) != "") {
rexc__MMColParam = String(Request.QueryString("类别ID"));
}
%>
<link href="style.css" rel="stylesheet" type="text/css">
<%
var rexc = Server.CreateObject("ADODB.Recordset");
rexc.ActiveConnection = MM_Productconn_STRING;
rexc.Source = "SELECT * FROM Products WHERE 类别ID = "+ rexc__MMColParam.replace(/'/g, "''") + " ORDER BY 目录ID DESC";
rexc.CursorType = 0;
rexc.CursorLocation = 2;
rexc.LockType = 1;
rexc.Open();
var rexc_numRows = 0;
%>
<table width="260" height="130" border="0" cellpadding="0" cellspacing="0" class="bgimages">
<tr>
<th scope="col"><table width="260" height="130" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<th height="26" colspan="3" valign="top"><!--DWLayoutEmptyCell--> </th>
<th width="143" valign="top" scope="col"><!--DWLayoutEmptyCell--> </th>
</tr>
<tr>
<th width="10" rowspan="2" valign="top"><!--DWLayoutEmptyCell--> </th>
<th width="96" rowspan="2" align="center" valign="middle" nowrap><img src="<%=(rexc.Fields.Item("小图片地址").Value)%>" width="78" height="76"></th>
<th width="11" rowspan="2" valign="top"><!--DWLayoutEmptyCell--> </th>
<th height="44" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="143" height="44" align="left" valign="top" class="showproduct" style="word-break:break-all"><%=(rexc.Fields.Item("名称").Value)%><br>
<br>
免税品销售价: US$ <%=(rexc.Fields.Item("价格").Value)%></td>
</tr>
</table></th>
</tr>
<tr>
<th valign="middle"><img src="images/cpjs.gif" width="100" height="23"></th>
</tr>
<tr>
<th height="25" colspan="3" valign="top"> </th>
<th valign="top" scope="col"> </th>
</tr>
</table></th>
</tr>
</table>
<%
rexc.Close();
%>
---------------------------------------------------------------------------------------
我想把上面代码中的第一个<table>部份显示4行第行二列.用JAVASCRIPT如何写代码呀?