marquee的一些基本技巧
来源:互联网 发布:怎样在淘宝上找网址 编辑:程序博客网 时间:2024/04/30 12:15
基本语法
<marquee> ... </marquee>
文字移动属性的设置
方向
<direction=#> #=left, right <marquee direction=left>从右向左移!</marquee>
方式
<bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll>一圈一圈绕着走!</marquee>
<marquee behavior=slide>只走一次就歇了!</marquee>
<marquee behavior=alternate>来回走</marquee>
循环
<loop=#> #=次数;若未指定则循环不止(infinite) <marquee loop=3 width=50% behavior=scroll>只走 3 趟</marquee> <P>
<marquee loop=3 width=50% behavior=slide>只走 3 趟</marquee>
<marquee loop=3 width=50% behavior=alternate>只走 3 趟!</marquee>
速度
<scrollamount=#> <marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee>
延时
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100>啦啦啦,我走一步,停一停!</marquee>
外观(Layout)设置
对齐方式(Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400>啦啦啦,我会移动耶!</marquee>
</font>
底色
<bgcolor=#> #=rrggbb 16 进制数码,或者是下列预定义色彩:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor=aaaaee>颜色!</marquee>
面积
<height=# width=#> <marquee height=40 width=50% bgcolor=aaeeaa>面积!</marquee>
空白
(Margins)<hspace=# vspace=#>
<marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle>面积!</marquee>
示例:
<html>
<head>
</head>
<body>
<MARQUEE onmouseover=stop() onmouseout=start() scrollAmount=1 scrollDelay=100 direction=up width="300" height=80>
<a href=#>这个世界真的好美</a>
</marquee>
</body>
</html>
- marquee的一些基本技巧
- 一些基本的ABAP技巧
- 一些基本的编程技巧
- ubuntu的一些基本技巧
- 一些基本的ABAP技巧
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee基本语法的全解释
- marquee的基本语法(滚动窗)
- VS调试的一些基本的技巧
- 一些基本的.net技巧
- 一些与搜索引擎有关的基本技巧
- SAP的一些基本使用技巧
- boost 1_33_1在VC6.0上的安装、编译、配置
- 世界500强公司的面试问题与答案提示
- 成功的12条法则
- 感冒患者须知
- 一个URL正则表达式
- marquee的一些基本技巧
- 一个功能齐全的DataGrid分页例子
- VC++ 界面编程
- 走在消极与积极之间徘徊
- 介绍一下text-transform的使用
- OllyStepNSearch v0.5.0 plugin
- 扩展VC6的编辑能力-宏
- 关于Gridview_rowcommand使用的方法
- 如何正确的理解使用posix1提供的信号量