公告栏显示的问题
如何让公告栏里的信息显示完一条之后停顿几秒再显示下一条
<table width="100%" height="280" bgcolor="<%=page_backcolor%>">
<tr>
<td align="middle" valign="middle" height="10" ><font color="red"><strong><big>公告栏</big></srong></font></td>
</tr>
<tr>
<td height="250" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<MARQUEE height='200' id='M' scrolldelay='100' scrollAmount='2' vspace='1' onMouseOver='this.stop()' onMouseOut='this.start()' direction='up'>
<%
StrDSN="DBQ="+server.mappath("FMIS/data.mdb")+";DRIVER={Microsoft Access Driver (*.mdb)};"
set cn10=server.createobject("ADODB.Connection")
cn10.open StrDSN
set rs=server.createobject("adodb.recordset")
sql="select g_title,g_text from gg_cont order by id desc"
rs.open sql,cn10,1,1
if rs.eof and rs.bof then
Response.Write "没有公告 "
else
Do while not rs.eof
response.write rs("g_title")&"<br>"&rs("g_text")&"<br>"
rs.movenext
i=i+1
if i=5 then exit do
loop
%>
</marquee>
</td>
</tr>
<% end if
rs.close
cn10.close%>
<tr>
<td align="center" height="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"><a class="middle" href="FMIS/gg_fb.asp">新公告</a></td>
</tr>
</table>
不会用js特效,请教高手
------解决方案--------------------
那就写一个定时器啊!楼主搜搜就是了,这种例子应该很多。