PHP基础
PHP教程
php框架
JavaScript
asp.net
AJAX
正则表达式
ASP
输入
banner图
图片脚本
导航/分类
htmlmarquee标签使用示例介绍
该标签不是HTML3.2的一部分,并且只支持MSIE3以后内核,所以如果你使用非IE内核浏览器(如:Netscape)可能无法看到下面一些很有意思的效果
该标签是个容器标签
Marquee 公告滚动代码
最简单的网站公告滚动代码 ,基于Marquee走马灯,竖直向上滚动,Table表格形式,不懂CSS也能用。
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>公告滚动JS代码</title> </head> <body> <div align="center"> <table border="1" width="206" cellspacing="0" cellpadding="0" style="border-collapse: collapse" height="90" id="table1"> <tr> <td valign="top"><MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=100 direction=up height="99%"> <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0> <TBODY> <TR> <TD vAlign=top height=120> <P style="LINE-HEIGHT: 150%;font-size:9pt"><FONT color=#000033>·<A href="#" >欢迎您光临!</A></FONT> <FONT color=#000033>·<A href="#">脚本之家更多脚本代码...</A></FONT> <FONT color=#000033>·<A href="#">一个学习型的源码网站... </A></FONT> <FONT color=#000033>·<A href="#">如果有建议请提交给我们... </A></FONT> <FONT color=#000033>·<A href="#">非常感谢大家经常光顾</A></FONT> <FONT color=#000033>·<A href="#">再次感谢大家,再见</A></FONT> </TD></TR></TBODY></TABLE></MARQUEE></td> </tr> </table> </div> </body> </html>