嵌套的Marquee用法
来源:互联网 发布:装修公司网站php源码 编辑:程序博客网 时间:2024/04/29 01:43
Marquee都会用,嵌套的Marquee你试过?
来字经典论坛的沧海水朋友着实让人大跌眼镜:D
HTML代码:
<marquee height="400" direction="up" width="500" bgcolor="#3366cc">
<marquee height="50" direction="left" width="100%">
<font style="font-size: 35px; color:#fff">Guo's Blog</font>
</marquee>
</marquee>
<marquee height="50" direction="left" width="100%">
<font style="font-size: 35px; color:#fff">Guo's Blog</font>
</marquee>
</marquee>
再来个参数behavior="alternate"
scroll:Marquee 根据 direction 设置的方向滚动,文本滚到头以后再重头开始,这是默认值。.
alternate:Marquee 的内容到达容器的边缘后又按照相反的方向滚动回来,周而复始,形成周期
slid:Marquee 根据 direction 设置的方向滚动,到边缘就停止滚动,不再重复
就变成下面的
HTML代码:
<table>
<tr>
<td bgcolor=#cc3300 width=468>
<marquee direction="down" behavior="alternate" scrollamount=1 height="60">
<marquee direction="right" behavior="alternate" scrollamount=4 width="468">
我被墙撞回@_@!GuoBlog.com
</marquee>
</marquee>
</td>
</tr>
</table>
<tr>
<td bgcolor=#cc3300 width=468>
<marquee direction="down" behavior="alternate" scrollamount=1 height="60">
<marquee direction="right" behavior="alternate" scrollamount=4 width="468">
我被墙撞回@_@!GuoBlog.com
</marquee>
</marquee>
</td>
</tr>
</table>
51js的小恐龙朋友继续发挥
HTML代码:
<table bgcolor="#EFEFEF">
<tr><td width="1" valign="top" >
<marquee direction="down" behavior="alternate" scrollamount=1 height="60">
<marquee direction="right" scrollamount=4 behavior="alternate" width="468">
≮『 Guo's Blog 』≯
</marquee>
</marquee>
</td>
<td width="468">
<marquee direction="up" behavior="alternate" scrollamount=1 height="60">
<marquee direction="left" scrollamount=4 behavior="alternate" width="468">
http://www.guoblog.com
</marquee>
</marquee>
</td></tr></table>
<tr><td width="1" valign="top" >
<marquee direction="down" behavior="alternate" scrollamount=1 height="60">
<marquee direction="right" scrollamount=4 behavior="alternate" width="468">
≮『 Guo's Blog 』≯
</marquee>
</marquee>
</td>
<td width="468">
<marquee direction="up" behavior="alternate" scrollamount=1 height="60">
<marquee direction="left" scrollamount=4 behavior="alternate" width="468">
http://www.guoblog.com
</marquee>
</marquee>
</td></tr></table>
- 嵌套的Marquee用法
- marquee标记的用法
- Marquee的用法
- marquee的用法
- marquee的用法
- marquee的用法
- marquee 的终极用法
- marquee嵌套这后出现的效果
- 让人跌眼镜的Marquee用法
- marquee用法的详细解释
- html的marquee标签用法
- 跑马灯marquee的用法
- CSS中滚动效果<MARQUEE>的用法
- marquee用法详解
- marquee 用法详解
- 嵌套类的用法
- 嵌套循环的用法:
- 无间断滚动marquee的详细用法解析(转)
- C++代码优化
- struts中,解决中文显示问题个人体会!
- [安全设置]Windows下权限设置详解
- 快速保存网页中所有图片的方法
- 新的工作,风险期
- 嵌套的Marquee用法
- ASP错误信息参考
- 成功必备的心态
- 20050927
- 今天给同学们上课的感受
- 利用Adodb.Stream直接下载文件
- 国家计算机病毒应急处理中心病毒监测周报(2005.9.17-2005.9.23)
- 2005中国计算机网络安全应急年会会议报告(CNCERT/CC)
- JS 无刷新排序