Jan
31
<td>
,造成显示效果上的瑕疵。如下图:以PowerEasy® SiteWeaver™ CMS 6.5 Build 0128为例,修改Include/PowerEasy.Article.asp,将Function GetArticleList中的如下代码
If ShowType = 2 Or Cols > 1 Then
strInfoList = strInfoList & "</tr></table>"
替换为strInfoList = strInfoList & "</tr></table>"
If ShowType = 2 Or Cols > 1 Then
ZZF_remainder=Cols-(iCount Mod Cols)
If ZZF_remainder<Cols
If iCount Mod 2 = 0 Then
CssName = CssName1
Else
CssName = CssName2
End If
Do while ZZF_remainder>0
strInfoList = strInfoList & "<td valign='top' class='" & CssName & "'> </td>"
ZZF_remainder=ZZF_remainder-1
Loop
End If
strInfoList = strInfoList & "</tr></table>"
ZZF_remainder=Cols-(iCount Mod Cols)
If ZZF_remainder<Cols
If iCount Mod 2 = 0 Then
CssName = CssName1
Else
CssName = CssName2
End If
Do while ZZF_remainder>0
strInfoList = strInfoList & "<td valign='top' class='" & CssName & "'> </td>"
ZZF_remainder=ZZF_remainder-1
Loop
End If
strInfoList = strInfoList & "</tr></table>"
当然,要在前面补充定义变量 ZZF_remainder。
修改后效果图如下:
昨天写本文时,忘了考虑ZZF_remainder等于Cols的情况,导致求余为零时出错,刚才又添加了判断
If ZZF_remainder<Cols
******************
End If
(更新于2008-02-01 17:34)。
******************
End If
让动易采集系统允许列表只
同学聚会合影200802



