ho un recordset incolonnato su 4 colonne...
Il risultato da una serie di immagini...codice:<% set rs_conta=conn.execute ("Select count(*) as contanote FROM pren3 WHERE note_vista = 1 ") Set rs = Server.CreateObject("ADODB.Recordset") strSql =("SELECT TOP 30 note_interne,id_ogg,codoff,idpren FROM pren3 WHERE note_vista = 1") rs.open strSql, conn Dim Conta Conta = 0 While not Rs.eof %> <% nota="nota_pic_2" if request("a")="sel" then nota="nota_pic" end if %> <td width="100"> <p align="center"> <a href="admin.asp?view=info&idpren=<%=rs("idpren")%>&id_ogg=<%=rs("id_ogg")%>&codoff=<%=rs("codoff")%>&dettagli=pratica&a=sel"> [img]../images/<%=nota%>.gif[/img]"></a></td> <% Conta = Conta + 1 if Conta = 4 then conta = 0 %> </tr><tr> <%end if Rs.MoveNext Wend Rs.close Set Rs = Nothing %> </tr> </table>
quando linko su un immagine vorrei che solo quella linkata appaia in un altro modo.....
come ho fatto adesso quando linko..
tutte le immagini cambiano....
coem farre senza dover fare 30 immagini?

Rispondi quotando
