<TABLE cellSpacing=0 cellPadding=0 width=769 align=center border=0>
<TBODY>
<TD width="769" height=131 align=right bgColor=#ffffff> <DIV id=move style="OVERFLOW: hidden; WIDTH: 769px">
<TABLE cellPadding=0 align=center border=0 cellspace="0">
<TBODY>
<TR>
<TD id=move1> <TABLE cellSpacing=0 cellPadding=0 width=170
align=center border=0>
<TBODY>
<TR>
<TD> <TABLE
style="BORDER-RIGHT: #d7d7d7 1px solid; BORDER-TOP: #d7d7d7 1px solid; BORDER-LEFT: #d7d7d7 1px solid; BORDER-BOTTOM: #d7d7d7 1px solid"
cellSpacing=0 cellPadding=0 width=135 border=0>
<TBODY>
<TR>
<TD bgColor=#ececec> <DIV align=center> <IMG height=100
src="2006/forumphoto/corpmedlogo/xh.gif"
width=150 border=0> </DIV> </TD>
</TR>
<TR>
<TD bgColor=#ececec> <!-- <DIV align=center>主办单位 </DIV>--> </TD>
</TR>
</TBODY>
</TABLE> </TD>
<!-- <TD> </TD>
<TD> <TABLE
style="BORDER-RIGHT: #d7d7d7 1px solid; BORDER-TOP: #d7d7d7 1px solid; BORDER-LEFT: #d7d7d7 1px solid; BORDER-BOTTOM: #d7d7d7 1px solid"
cellSpacing=0 cellPadding=0 width=135 border=0>
<TBODY>
<TR>
<TD bgColor=#ececec> <DIV align=center> <IMG height=100
src="2006/forumphoto/corpmedlogo/20.gif"
width=150 border=0> </DIV> </TD>
</TR>
<TR>
<TD bgColor=#ececec> <DIV align=center>主办单位 </DIV> </TD>
</TR>
</TBODY>
</TABLE> </TD>
<TD> </TD>-->
<TD> </TD>
<TD id=move2 vAlign=top> </TD>
<script>
var speed=30//速度数值越大速度越慢
move2.innerHTML=move1.innerHTML
function Marquee(){
//alert(demo.scrollLeft);
if(move2.offsetWidth-move.scrollLeft <=0)
demo.scrollLeft-=move1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
move.onmouseover=function() {clearInterval(MyMar)}
move.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
</TD>
</TR>
<td height="2"> </TBODY> </TABLE>
用demo实现一组图片向左无间隙滚动后,可是再加一组图片怎么也不能同时滚动,麻烦了谢谢
<TBODY>
<TD width="769" height=131 align=right bgColor=#ffffff> <DIV id=move style="OVERFLOW: hidden; WIDTH: 769px">
<TABLE cellPadding=0 align=center border=0 cellspace="0">
<TBODY>
<TR>
<TD id=move1> <TABLE cellSpacing=0 cellPadding=0 width=170
align=center border=0>
<TBODY>
<TR>
<TD> <TABLE
style="BORDER-RIGHT: #d7d7d7 1px solid; BORDER-TOP: #d7d7d7 1px solid; BORDER-LEFT: #d7d7d7 1px solid; BORDER-BOTTOM: #d7d7d7 1px solid"
cellSpacing=0 cellPadding=0 width=135 border=0>
<TBODY>
<TR>
<TD bgColor=#ececec> <DIV align=center> <IMG height=100
src="2006/forumphoto/corpmedlogo/xh.gif"
width=150 border=0> </DIV> </TD>
</TR>
<TR>
<TD bgColor=#ececec> <!-- <DIV align=center>主办单位 </DIV>--> </TD>
</TR>
</TBODY>
</TABLE> </TD>
<!-- <TD> </TD>
<TD> <TABLE
style="BORDER-RIGHT: #d7d7d7 1px solid; BORDER-TOP: #d7d7d7 1px solid; BORDER-LEFT: #d7d7d7 1px solid; BORDER-BOTTOM: #d7d7d7 1px solid"
cellSpacing=0 cellPadding=0 width=135 border=0>
<TBODY>
<TR>
<TD bgColor=#ececec> <DIV align=center> <IMG height=100
src="2006/forumphoto/corpmedlogo/20.gif"
width=150 border=0> </DIV> </TD>
</TR>
<TR>
<TD bgColor=#ececec> <DIV align=center>主办单位 </DIV> </TD>
</TR>
</TBODY>
</TABLE> </TD>
<TD> </TD>-->
<TD> </TD>
<TD id=move2 vAlign=top> </TD>
<script>
var speed=30//速度数值越大速度越慢
move2.innerHTML=move1.innerHTML
function Marquee(){
//alert(demo.scrollLeft);
if(move2.offsetWidth-move.scrollLeft <=0)
demo.scrollLeft-=move1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
move.onmouseover=function() {clearInterval(MyMar)}
move.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
</TD>
</TR>
<td height="2"> </TBODY> </TABLE>
用demo实现一组图片向左无间隙滚动后,可是再加一组图片怎么也不能同时滚动,麻烦了谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货