這幾天幫主任做好一個報名系統, 並將其連結網址放上系網首頁.
主任提出說想要讓文字訊息可以跳動, 造成有活動的效果,
原以為要用JavaScript寫呢! 後來上網找相關資訊(search: bouncing text),
結果找到了這個好用的Marquee html tag.
在這兩個網頁找到顯示使用Marquee tag 及更改其attribute可產生的效果的一些方法.
問了主任, 他說對對對, 這就是他要的效果, 而Marquee也是他所要
告訴我的.
真開心, 又學到一個好用的tag. 而且主任說這個html tag已經存在很久了喔!
謝謝主任, 讓我多認識一個Html tag. :)
使用方法:
<marquee behavior="alternate" direction="left">快來報名囉! </marquee>
它預設是 bahavior attribute是 "scroll", 並會從右至左移動出去,
所以將其 bahavior 設為 "alternate", 且方向 "direction" attribute
設為 "left", 就會造成文字看起來像左右滾動的效果.
還可以設scrollamount attribute 去改變文字移動的速度喔! 酷吧 :).
對不起. 請原諒我. 謝謝你. 我愛你.
I am sorry. Please forgive me. Thank you. I love you.
Lo siento. Perdóname, por favor. Gracias. Te amo.
"When we are willing to take 100% responsibility and let go, what is right and perfect unfolds." 當我們願意為我們所經歷的一切負百分之百的責任時, 適合我們的及完美的一切, 即為我們顯現.--http://www.self-i-dentity-through-hooponopono.com/index.htm
熱門文章
-
In Today's Carol Tuttle blog update, I found these messages refreshing and great to take into daily practice: "Start Your Day Pos...
-
Say NO to UN's abolishment of Traditional Chinese Characters! With the history of 5000 years of traditional Chinese characters, the beau...
-
This is what I read this morning from BBC's electronic daily news. It's about a young man with great potential talked about his role...
沒有留言:
張貼留言