Salve a tutti
Mi servirebbe una mano sulla modifica di questo metodo di impaginazione record.
Attualmente utilizzo questa funzione che implica l'inserimento del record da duplicare in un <tr><td>
ma io vorrei utilizzare solo il <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<% If Not rsPictures.EOF Or Not rsPictures.BOF Then %>
<%
startrw = 0
endrw = HLooper2__index
numberColumns = 1 'strCols
numrows = 5 'strRows
while((numrows <> 0) AND (Not rsPictures.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<tr valign="top">
<%
While ((startrw <= endrw) AND (Not rsPictures.EOF))
%>
<td>
<!-- start .annuncio -->
<div id="post-178" class="clearfix full_entry">
<div class="small-thumb">
<a href="details.asp?iPicture=<%=rsPictures("PIC_ID") %>&iCat=<%=rsPictures("PIC_CATEGORY")%>">
<img src="<%= strPublicPath %>/<%= Thumbnail("_small",(rsPictures.Fields.Item("PIC_FI LE").Value)) %>" alt="<%=rsPictures("PIC_TITLE")%>" width="159" height="159">
<span class="overlay"></span>
</a>
</div>
<!-- end .small-thumb -->
<div class="entry_content setwidth">
<h2 class="title"><a href="#"><%=rsPictures("PIC_TITLE")%></a></h2>
<!--p class="postinfo">Posted by <a href="http://www.elegantthemes.com/preview/ElegantEstate/author/admin/" title="Posts by admin" rel="author">admin</a> on Sep 5, 2008 in <a href="http://www.elegantthemes.com/preview/ElegantEstate/category/blog/" rel="category tag">Blog</a> | <a href="http://www.elegantthemes.com/preview/ElegantEstate/2008/09/ut-sagittis-ultrices-urna-eget-erat-non-purus-varius/#comments" title="Comment on Ut sagittis ultrices urna eget erat non">23 comments</a></p-->
<p><%=rsPictures("PIC_DESCRIPTION")%>...</p>
</div>
<!-- end .entry_content -->
<a href="details.asp?iPicture=<%=rsPictures("PIC_ID") %>&iCat=<%=rsPictures("PIC_CATEGORY")%>" class="readmore"><span>Visualizza dettagli</span></a>
</div>
<!-- end .annuncio -->
</td>
<%
startrw = startrw + 1
rsPictures.MoveNext()
Wend
%>
</tr>
<%
numrows=numrows-1
Wend
%>
<% else%>
<tr>
<td colspan="3" align="center">
*** Non ci sono annunci in questa categoria ***
</td>
</tr>
<% End If ' end Not rsPictures.EOF Or NOT rsPictures.BOF %>
</table>
In pratica vorrei eliminare tutto ciò che è tabella tr e td
Spero di essermi spiegato
Grazie anticipatamente