这一段应该怎么改呢?
不好意思,我完全不懂javascript...
<TABLE border="0" cellSpacing="0" cellPadding="0" width="678" align="center">
<TBODY>
<TR>
<TD>
<DIV id="demo" style="OVERFLOW: hidden; WIDTH: 100%; COLOR: #ffffff">
<TABLE cellSpacing="0px" cellPadding="0px" align="left" border="0px" cellspace="0px">
<TBODY>
<TR>
<TD id=demo1 vAlign="top">
<table width="2300px" height="54px"
border="0px" cellpadding="0px" cellspacing="0px">
<tr>
<!--{block name="bbsmember" parameter="groupid/1,2,3,10,11,12,13,14,15,16,17,18,21/lastvisit/604800/lastpost/604800/order/m.lastvisit/limit/0,9999/cachetime/900/cachename/member/tpl/data"}--><!--member-->
<!--{loop $_SBLOCK['member'] $value}-->
<td id="star">
<a href="http://www.[uid]/" target="_blank"><img src="http://www.[uid]" width="54" height="54" alt="用户名:$value[username]" class="avatar" />
</td>
<!--{/loop}-->
</tr>
</table>
</TD>
<TD id=demo2 vAlign="top"> </TD></TR></TBODY></TABLE></DIV>
<SCRIPT>
var demo = document.getElementById('demo');
var demo1 = document.getElementById('demo1');
var demo2 = document.getElementById('demo2');
var speed3="20"
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<="0")
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed3)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed3)}
</SCRIPT>