Adding banner to this code
Hi there.
I have this code that show my records in two cols per row.
Is there anyone that can help so this code can show banners between row 1 and 2, and row 2 and 3? Is this possible in a easy way?
I also want to able to add URL to the banners, and maybe also in a easy way change where the banners appears.
Any tips and/or code examples?
<table border="0" cellpadding="5" cellspacing="0" width="640">
<%
i=0
Do While Not RecordSet.EOF
if i mod 2=0 then
Response.Write "<tr>"
end if
Response.Write "<td align='left' valign='top' width='50%'>"&_
"" & RecordSet("Information") & "<br>"
%>
<%
RecordSet.MoveNext
i=i+1
Loop
RecordSet.Close
Connection.Close
set RecordSet = nothing
set Connection = nothing
%>
</td>
</tr>
</table>
Regards
Einar Hansen, Norway
|