js滚动新闻

 

<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://www.wangtx.com/" title="青浦海湘缘酒楼"  target="_blank" class="tag_title_link"><samp style="color:#FF0000;font-weight:bold;">青浦海湘缘酒楼</samp></a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.yamaxun.org/" title="青浦盈港河鲜馆"  target="_blank" class="tag_title_link"><samp style="color:#FF0000;font-weight:bold;">青浦盈港河鲜馆</samp></a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.18115.com/" title="上海宝莹电器有限公司"  target="_blank" class="tag_title_link">上海宝莹电器有限公司</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.qpsh.com/" title="上海新天宇五金"  target="_blank" class="tag_title_link"><samp style="color:#FF0000;font-weight:bold;">上海新天宇五金</samp></a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.50054.com/" title="苏宁电器青浦公园路店"  target="_blank" class="tag_title_link">苏宁电器青浦公园路店</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.cnwenger.com/" title="青浦千味红景庭酒家"  target="_blank" class="tag_title_link">青浦千味红景庭酒家</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.qpsh.com/" title="青浦山湾河鲜馆"  target="_blank" class="tag_title_link">青浦山湾河鲜馆</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.ddgoushu.com/" title="天天渔港青浦店"  target="_blank" class="tag_title_link">天天渔港青浦店</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.qpsh.com/" title="白玉兰海鲜馆"  target="_blank" class="tag_title_link">白玉兰海鲜馆</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.qpsh.com/" title="青浦浦东鸡美食店"  target="_blank" class="tag_title_link">青浦浦东鸡美食店</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.3sdo.cn/" title="盛大白金帐号"  target="_blank" class="tag_title_link">盛大白金帐号</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.jiaoyu5.com/" title="教育范文"  target="_blank" class="tag_title_link">教育范文</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.pc555.com/" title="网页游戏大全"  target="_blank" class="tag_title_link">网页游戏大全</a></td>
</tr>
<tr>
<td align=left width="180" height="21">·<a class=b2 href="http://www.sanguo5.com/" title="三国游戏"  target="_blank" class="tag_title_link">三国游戏</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>
本代码由<a href=http://www.qpsh.com>网页特效网</a>提供

阅读更多
个人分类: javascript
想对作者说点什么? 我来说一句

js滚动

2011年10月31日 10KB 下载

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭