<%
set rs=server.CreateObject("adodb.recordset")
sql="select top 16 id,name,smallpic from project order by id"
rs.open sql,conn,1,1
do while not rs.eof
%>
" target="_blank">' border="0" title="" class="thumbImage" width='120' height='120' />
<%
rs.movenext
loop
rs.close
set rs=nothing
%>
var speed=30
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}