ASP首页图片调用 怎么改成滚动显示的?

来源:百度知道 编辑:UC知道 时间:2024/06/04 23:37:40
============================================================推荐图片
sub index_pic()%>
<table width="530" border="0" cellpadding="1" cellspacing="0" align="center">
<tr>
<%
sql="select top "&indexpic&" * from pic where isbest = 1 ORDER by pic_date DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
do while not rs.eof%>
<td align="center" valign="middle">

<table width="154" height="114" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="170" align="center">
<table width="170" height="130" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td bgcolor="#FFFFFF">

<%
sub index_body()
%>
<TABLE align=center border=1 cellPadding=0 cellSpacing=0 width=760 borderColor="<%=border%>" frame=vsides rules=none height="3">
<tr>
<td width="100%" bgcolor="#FFFFFF" valign="top" height="5">
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE align=center border=1 cellPadding=0 cellSpacing=0 width=760 borderColor="<%=border%>" frame=vsides rules=none>
<TBODY>
<TR>
<td width=204 align=left vAlign=top background=img/left_bg.gif>
<TABLE width=100% border=0 align=center cellPadding=0 cellSpacing=0>
<TBODY>
<TR><td width=204><img src=img/left_top.gif usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="41,11,67,24" hr