[部落格密技]部落格跑馬燈示範

今天要來回答一個留言版的問題!!
先說明,這原本是我放在草稿給自己研究的文章,所以忘記原本作者是誰,也無從查考。若有侵權請告知我,我會盡快附上連結與出處!!至於語法要放在哪裡>>網頁管理的網誌描述裡。
基本語法 :
<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>
<marquee loop=3 width=50% behavior=slide>只走 3 趟</marquee>
<marquee loop=3 width=50% behavior=alternate>只走 3 趟!</marquee>
只走 3 趟 只走 3 趟 只走 3 趟!
.速度
<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>
面積!
PS:
1.事實證明,我的無名紫色微笑又不能放了,因為我已經不是VIP,金卡會員不知行不行,我也不知道。
2.別問我問題喔!!因為我只試第一個就成功了,現在老了不想動腦!!
3.想看會動的跑馬燈,請到我的主站http://blog.pixnet.net/smilejean/post/16342775
Jean♡玩味。宜蘭(3)

Sealed (Jul 10)









![[免費]宜蘭蘇澳阿里史冷泉](http://farm4.static.flickr.com/3431/3178518561_e37c14ac57_o.jpg)


使用相機:Panasonic FX07
信箱:smilejean@gmail.com








Only friends can post a comment, Login first