日期:2014-05-18  浏览次数:20743 次

请问如何将从数据库中查询出来的记录从下向上滚动显示。就象是公告信息一样??
以下这就是从数据库查询出来表格内容,如何实现按序滚动!!!!!!谢谢各位大虾  
<table   width= "381 "   border= "1 "   cellpadding= "0 "   cellspacing= "0 ">  
<tr>  
<td   width= "30 "   height= "30 "> <span   class= "style3 "> 片名 </span> </td>  
<td   width= "251 "> <span   class= "style3 "> <%=rs.getString( "movie_name ")%> </span> </td>  
<td   width= "100 "> <div   align= "center "> <span   class= "style3 "> 海   报 </span> </div> </td>  
</tr>  
<tr>  
<td> <span   class= "style3 "> 主演 </span> </td>  
<td> <span   class= "style3 "> <%=rs.getString( "movie_player ")%> </span> </td>  
<td   rowspan= "2 "> <input   name= " "   type= "image "   src= " <%=rs.getString( "image_url ")%> "> </td>  
</tr>  
<tr>  
<td> <span   class= "style3 "> 类别 </span> </td>  
<td> <span   class= "style3 "> <%=rs.getString( "movie_sort ")%> </span> </td>  
</tr>  
</table>
问题补充:我用跑马灯试过了,可是不是按序滚动(是所有查询结果一起在动)  

我要的是每条记录都是一个接着一个滚动那种  

就像http://www.emeidy.com/webfolder/Dianyingchangshi.asp上面电影院滚动的那种,不知是如何实现的


------解决方案--------------------
<marquee direction= "up " scrollamount= "2 " scrolldelay= "100 " height= "130 " onmouseover= "this.stop() " onmouseout= "this.start() "> 你想滚动显示的内容 </marquee> ,具体效果可以修改属性参数得到。