页面图片浮动左右滑动效果的简单实现案例(3)


<div>
        <table cellpadding="0" cellspacing="0"
        >
         <c:choose>
          <c:when test="${empty image_list}">
           <tr>
            <td colspan="2">
             暂时没有图片信息
            </td>
           </tr>
          </c:when>
          <c:otherwise>
           <%for (int i = 0; i < 3; i++) {%>
            <tr>
           <c:forEach var="image" items="${image_list}"
            begin="<%=i * 5%>" end="<%=(i + 1) * 5 - 1%>" varStatus="strs">

               <td>
                   <ul><li>
                     <a>
                        <img src="<%=WholeProperties.IMAGE_IMAGE_URL %>/${image.imagePathSmall}"/></a>  
                   </li></ul>
              <ul>
                <li>
                  <input type="checkbox" value="${image.id }" />
                  <c:choose>
                    <c:when test="${fn:length(image.imageName) > 6}"> 
                       <c:out value="${fn:substring(image.imageName, 0, 6)}..." /> 
                   </c:when>
                    <c:otherwise> 
                       <c:out value="${image.imageName}" /> 
                    </c:otherwise>
                  </c:choose>
                </li>
                <li>上传时间:<c:out value="${fn:substring(image.uploadTime,0,9)}"></c:out></li>
                <li>图片大小:${image.imageSize }</li>
                       </ul>
                </td>

           </c:forEach>
           </tr>
              <% } %>
          </c:otherwise>
         </c:choose>
        </table>
       </div>
       <div></div>
                   <div></div>
                   <div></div>
       <div>
         <ul>
           <li></li>
              <li></li>
              <li></li>
              <li></li>
          </ul>
       </div>
        <div></div>

 

您可能感兴趣的文章:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wdyxgp.html