滚动公告代码

基于走马灯的滚动公告效果,鼠标放上后停止,移走时继续滚动,特点是代码简单,使用方便,位置及大小调整都比较容易,可以由你的程序自动读取公告内容,可作为广告代码。

 

代码如下:

<title>滚动公告</title>

 

<div align=center><b>滚动公告</b></div>

 

<table cellspacing=0 cellpadding=1 width="100%" border=0>

 

<tr><th bgcolor=#CCCCCC><marquee direction=up height=120 width=260 id=m onmouseout=m.start() onMouseOver=m.stop() scrollamount=2 align="center">

 

<p><a href="http:" target="_blank">祝大家马年大吉!</a> 

 

<p>2009,祝大家事业有成!</p>

 

<p>大家看见了吗</p>

 

<p>爱在哪里?</p>

 

<p>爱在这里</p>

 

<p>大家把这里改成自己需要的内容</p>

 

</marquee></th>

 

</tr>

 

</table>

posted @ 2019-09-02 17:37  木子欢儿  阅读(1307)  评论(0编辑  收藏  举报