图片循环滚动代码改成css+div

来源:百度知道 编辑:UC知道 时间:2024/05/16 09:34:56
<TABLE cellSpacing=0 cellPadding=0 width="884" border=0>
<TBODY>
<TR></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=763 border=0>
<TBODY>
<TR>
<TD><IMG height=16 src="index_files/gongchengtop.gif"
width=763></TD></TR>
<TR>
<TD vAlign=top background=index_files/gongchengbg.gif>
<TABLE cellSpacing=0 cellPadding=0 width=732 align=center
border=0>
<TBODY>
<TR>
<TD width=366 height=130>
<DIV id=demo
style="OVERFLOW: hidden; WIDTH: 560px; COLOR: #ffffff; HEIGHT: 130px"

<DIV id=demo_1 style="OVERFLOW: hidden; HEIGHT: 136px">
<DIV id=demo1_1>
<div id=gleft>
<a href=""><img src="" border="0" width=150 height="120"/></a>
</div>
<div id=gleft>
<a href=""><img src="" border="0" width=150 height="120"/></a>
</div>
<div id=gleft>
<a href=""><img src="" border="0" width=150 height="120"/></a>
</div>
<div id=gleft>
<a href=""><img src="" border="0" width=150 height="120"/></a>
</div>
</DIV>
<DIV id=demo2_1></DIV></DIV>

<SCRIPT>
var speed=25
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.of