基本語法: # r3 m. v; f6 ~
請把程序中<>自行替換為<> V2 a7 @1 n+ B! m/ ^$ K: }4 _9 a. ~: M
0 R0 k! n) J9 ], q6 T' O1 K <marquee>需要移動的文字</marquee><direction=#>
% c9 A1 p- T L% w$ [/ j, G3 M 1.方向#=left, right 6 O" }2 ~) q X- g9 v/ n
例:<marquee direction=left>從右向左移動</marquee>>
: T9 G3 t. J0 B* e <marquee direction=right>從左向右移動</marquee>> : b* l3 {9 N- S7 V
0 I4 P/ W4 ]6 `: e# a 2.次數<bihavior=#>#=scroll, slide, alternate , ~- y. [7 d9 ]/ a$ J( E+ Z
例:<marquee behavior=scroll>一圈一圈的繞著移動</marquee>
* e# k& ~5 Y3 _- o <marquee behavior=slide>只移動一次就停</marquee>><marqueebehavior=alternate>來回移動,不停</marquee> ; H3 N; V& d A
& F- _9 p& z# ]: s, l1 a' @1 Q
3 .循環<loop=#>#=次數,若未指定則循環不止(infinite)
{/ B \, z$ p. U$ C% b: l 例:<marquee loop=3 width=50%behavior=scroll>只走3趟</marquee>
* A" N' t7 S* z) `, r8 @
$ O' }; v# x4 y# Q 4.速度加快<scrollamount=#> ( B7 \, Y4 K: R3 ?# Y
例:<marquee scrollamount=20>移動速度加快</marquee>>
% V: g: t _( }6 s2 c, Q, w: s8 H * l. h6 u& A7 V- [; S
5.速度減慢<scrolldelay=#> ' G# k6 r' x/ x1 }
例:<marquee scrolldelay=500 scrollamount=100>移動速度減慢</marquee>
4 B0 U/ P! _6 r/ X- o( D& X
1 o: H, E8 {+ t9 _5 s 6.底色<bgcolor=#>#=rrggbb 16進制數碼,或者是下列預定義色彩:Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,Fuchsia,White, Green, Purple, Silver, Yellow, Aqua $ ?4 Y! y8 G& t# W i! n
例:<marquee bgcolor=red>是紅色的</marquee>
" o. t( N8 E' R z - W% w# A8 ^9 O" s* G C
7.面積<height=#width=#> 6 x/ W! i4 E6 s# d; w- X; o6 D
例:<marquee height=80 bgcolor=red>面積變大了</marquee> |
評分
-
查看全部評分
|