不间断上下滚动公告代码
<table align=center border="0" cellpadding="0" style="border-collapse: collapse">
<tr><td height=5></td></tr>
<tr><td>
<div id=design style="OVERFLOW: hidden; WIDTH: 180px; HEIGHT: 185px">
<div id=design1 style="OVERFLOW: hidden">
<TABLE cellSpacing=0 cellPadding=0 width=180 align=center border=0>
<tr>
<td align=left width="180" height="21">·<a class="b2" href=http://ybyddy.diandian.com/ title="羽博移动电源" target="_blank" class="tag_title_link"><samp style="color:#FF0000;font-weight:bold;">羽博移动电源</samp></a></td>
</tr>
</table>
</div>
<div id=design2>
</div>
</div>
<script>
var speed=65
design2.innerHTML=design1.innerHTML
function Marquee2()
{
if(design2.offsetTop-design.scrollTop<=0)
design.scrollTop-=design1.offsetHeight
else
{
design.scrollTop++
}
}
var MyMar2=setInterval(Marquee2,speed)
design.onmouseover=function()
{
clearInterval(MyMar2)
}
design.onmouseout=function()
{
MyMar2=setInterval(Marquee2,speed)
}
</script>
<script language="javascript">
<!--
function showchargemenu(m1)
{
document.getElementById("test").innerHTML = m1.innerHTML;
}
//-->
</script>
</td>
</tr>
</table>