2个回答
展开全部
<Center>
<table width="1024" border="0">
<tr>
<td height="200">
<DIV id=demo style="OVERFLOW: hidden; WIDTH:1024px; HEIGHT: 250px" align="center">
<TABLE cellSpacing=0 cellPadding=0 align=left border=0 cellspace="0">
<TBODY>
<TR>
<TD id=demo1 vAlign=top>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="250"><img src="images/book/book1.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book2.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book3.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book4.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/lingdao.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/shiya.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/leshi.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/hei.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/riben.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/xiaoyoushang.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/siwei.jpg" width="150" height="200"></td>
</tr>
<tr>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
</tr>
</table>
</TD>
<TD id=demo2 vAlign=top></TD></TR></TBODY>
</TABLE>
</DIV>
<div align="center">
<SCRIPT>
var speed=1
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)}
</SCRIPT>
</div>
</td>
</tr>
</table>
</Center>
<table width="1024" border="0">
<tr>
<td height="200">
<DIV id=demo style="OVERFLOW: hidden; WIDTH:1024px; HEIGHT: 250px" align="center">
<TABLE cellSpacing=0 cellPadding=0 align=left border=0 cellspace="0">
<TBODY>
<TR>
<TD id=demo1 vAlign=top>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="250"><img src="images/book/book1.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book2.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book3.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/book4.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/lingdao.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/shiya.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/leshi.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/hei.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/riben.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/xiaoyoushang.jpg" width="150" height="200"></td>
<td width="250"><img src="images/book/siwei.jpg" width="150" height="200"></td>
</tr>
<tr>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
<td width="250" align="center">文字标签</td>
</tr>
</table>
</TD>
<TD id=demo2 vAlign=top></TD></TR></TBODY>
</TABLE>
</DIV>
<div align="center">
<SCRIPT>
var speed=1
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)}
</SCRIPT>
</div>
</td>
</tr>
</table>
</Center>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
没人要分?????????????
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询