发新话题
打印

水平滚动字幕

水平滚动字幕

<html>
<head>
<title></title>
</head>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD class=ml></TD>
<TD class=mm>
<DIV id=demo style="OVERFLOW: hidden; WIDTH: 300; COLOR: #ffffff; HEIGHT: 100%">
<TABLE cellPadding=0 align=left border=0 cellspace="0">
<TR>
<TD id=demo1 vAlign=top>
<script language=javascript>



document.write("<table cellspace=0 cellPadding=0><tr><td style=\'padding:0px\' align=\'center\'>");


document.write("<td style=\'padding:0px\' align=\'center\'><a target=\'_blank\' href=\'/show_content.jsp?id=14\'><img \'show_img(this)\' src=\'/UploadFile/images/20051228105454609752894.gif\' width=90 height=70 border=0></a></td>");

document.write("<td style=\'padding:0px\' align=\'center\'><a target=\'_blank\' href=\'/show_content.jsp?id=13\'><img \'show_img(this)\' src=\'/UploadFile/images/20051228105418921519829.jpg\' width=90 height=70 border=0></a></td>");

document.write("<td style=\'padding:0px\' align=\'center\'><a target=\'_blank\' href=\'/show_content.jsp?id=12\'><img \'show_img(this)\' src=\'/UploadFile/images/20051228105324031531512.jpg\' width=90 height=70 border=0></a></td>");

document.write("<td style=\'padding:0px\' align=\'center\'><a target=\'_blank\' href=\'/show_content.jsp?id=11\'><img \'show_img(this)\' src=\'/UploadFile/images/20051228105238796780397.jpg\' width=90 height=70 border=0></a></td>");

document.write("<td style=\'padding:0px\' align=\'center\'><a target=\'_blank\' href=\'/show_content.jsp?id=10\'><img \'show_img(this)\' src=\'/UploadFile/images/20051228105048625074884.jpg\' width=90 height=70 border=0></a></td>");

document.write("</tr></table>");
</SCRIPT>
</TD>
<TD id=demo2 vAlign=top></TD>
</TR>
</TABLE>
</DIV>


<script>
var speed=10
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>

</body>
</html>

TOP

发新话题