左右移動轉換文字特效HTML代碼解析 

 

 

http://www.inspirr.com 
 

 


 

 

 

跑馬燈效果就是經常看到的文字左右移動轉換效果,這是籠統說法,雖然這種效果目前已經被許多很酷的JS代替,但在有些時候有可能會用到,這里講解的就是最常見的跑馬燈效果文字公告欄置

div align="center">→文字公告欄置中
center=居中;left=靠左;right=靠右

<table style="color:white; font-size:10pt" border="1" style="color:white; font-size:10pt"

color:white →公告欄背景白色

bordercolor="#FF9900">→框線顏色(橘色)


<td background="圖檔網址.gif">→可有可無

<p>
<font color="#FFFF00" →公告欄內容文字顏色(藍色)

face="新細明體" size="2">→文字字體大小

<marquee scrollamount='2' scrolldelay='150' →跑馬燈速度數值越大跑越慢

direction= 'up' →文字跑馬燈向上

跑馬燈移動:

往左=left
往右=right
往上=up
往下=down
左右=alternate

width='105' id=xiaoqing height='120' →跑馬燈公告欄寬高

onmouseover=xiaoqing.stop()
onmouseout=xiaoqing.start() style="color: #0000FF; font-size: 10pt; font-weight: bold; font-family:新細明體">文字跑馬燈公告欄<br>在這輸入文字內容<br></marquee>
</font></td></table>

<br>跳行語法

 

 

   

 

  Tag: 設計公司 | 網頁設計公司 | 廣告公司 | 網站設計 | 平面設計 | 互動媒體 | 網頁設計 | Web design | Website design | design house | 媒體公司 | Iphone app | 程式設計 | Flash 網頁 | Flash game | 動畫設計 | 後期製作 | 網上商店 | 網上宣傳 | 網頁服務 |

arrow
arrow

    inspirr 發表在 痞客邦 留言(0) 人氣()