<%
set rs = conn.execute("select * from table")
if not rs.eof then
i=0
do while not rs.eof
%>
bannerAD[<%=i%>]="<%=rs("pic")%>";
bannerADlink[<%=i%>]="<%=rs("link")%>";
<%
rs.movenext
loop
end if
set rs = nothing
%>
代码如上,就是把需要显示图片的位置用循环代替就行,希望你能看懂
这个没那么难的,你只是懒得研究而已
在网上搜一下"仿FLASH焦点图片特效"
会有许多供你选择的源代码