网页图片左右循环滚动代码

2025-04-30 08:15:40
推荐回答(2个)
回答1:













<%
dim n1
n1=0
%>
<%while not rs.eof and n1<999
if rs("picurl")<>"" then
n1=n1+1
%>



<% end if
rs.movenext
wend
n1=0
rs.movefirst
%>
<%
while not rs.eof and n1<999
if rs("picurl")<>"" then
n1=n1+1
%>
<% end if
rs.movenext
wend
%>





" target="_blank" title="<%=rs("title")%>">' alt='点击查看详细' height="111" border="0">
<% if len(rs("title"))>11 then %><%=mid(rs("title"),1,11)%>...<%else %><%=rs("title")%><%end if%>


回答2:


                        
                        
                        
                        
                        
                       
                       
                       
                       
                       
                       
                       
                       

                        

                        

                        

    

这段代码是从左向右无缝滚动代码,你直接放到放滚动图片的地方就行,记得设置下图片的宽高,还有就是上面css里面设置下整个图片滚动区域的宽度

相关问答
最新问答