脚本宝典收集整理的这篇文章主要介绍了jsp 页面上图片分行输出小技巧,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
<table border="0" cellpadding="2">
<c:for
each ITems="${pics}"
VAR="pic" var
status="status">
<c:if
test="${((status.index)%3)
==0}"><tr></c:if>
<td>
<input class='Input-0-border' n
ame="bk_no" ty
PE="radio" value="${pic.piccode}"
<c:if test="${status.index==0}">checked</c:if>
onClick='changeVal(this.value)'/>
<c:if test="${not empty(pic.
LOGoPath)}"><
img src="${pic.logoPath}"></c:if>
<c:if test="${empty(pic.logoPath)}"><c:out value="${pic.picname}"/></c:if>
<input type="hidden" name="bk_name" value="<c:out value="${pic.picname}"/>">
</td>
<c:if test="${((status.index+1)%3)==0}"></tr></c:if>
</c:forEach>
</table>
脚本宝典总结
以上是脚本宝典为你收集整理的jsp 页面上图片分行输出小技巧全部内容,希望文章能够帮你解决jsp 页面上图片分行输出小技巧所遇到的问题。
如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。