![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 bert ![]()
![]() |
在網頁就會出現漂亮的天氣預報,除了可以設定地區外,也可以設定顏色風格,超EZ的.... ===> 觀看執行結果 ------------------------------------------------------- 分享程式碼 ↓ <script type="text/javascript"><!-- Set_106TV_Face="0"; Set_106TV_City="taipei"; Set_106TV_TableBorderColor="000000"; Set_106TV_TableBgColor="FFFFFF"; Set_106TV_TableHrColor="CCCCCC"; Set_106TV_FontColor_1="000000"; Set_106TV_FontColor_2="F7941D"; Set_106TV_FontColor_3="808080"; Set_106TV_FontColor_4="000000"; Set_106TV_FontColor_5="808080"; Set_106TV_FontColor_6="417AA2"; Set_106TV_FontColor_7="800000"; Set_106TV_FontColor_8="000000"; //--></script><script type="text/javascript" language="Javascript" src="http://www.106tv.com/modules-Weather.htm"></script> 分享程式碼 ↑ ---------------------------------------------------- 顏色風格參數說明: Set_106TV_Face="0"; ← 設定_直式(0)或橫式(1) ( [0]為預設值 ) Set_106TV_City="taipei"; ← 設定_先秀哪一個城市 ( [taipei]為預設值 ) Set_106TV_TableBorderColor="000000"; ← 設定_邊框顏色 ( [000000]為預設值 ) Set_106TV_TableBgColor="FFFFFF"; ← 設定_背景顏色 ( [FFFFFF]為預設值 ) Set_106TV_TableHrColor="CCCCCC" ← 設定_間格線顏色 ( [CCCCCC]為預設值 ) Set_106TV_FontColor_1="000000" ← 設定_(城市英文)字體顏色 ( [000000]為預設值 ) Set_106TV_FontColor_2="F7941D" ← 設定_(天氣預報)字體顏色 ( [F7941D]為預設值 ) Set_106TV_FontColor_3="808080" ← 設定_(更新日期)字體顏色 ( [808080]為預設值 ) Set_106TV_FontColor_4="000000" ← 設定_(今天白天)字體顏色 ( [000000]為預設值 ) Set_106TV_FontColor_5="808080" ← 設定_(溫度值.舒適度.降雨率)字體顏色 ( [808080]為預設值 ) Set_106TV_FontColor_6="417AA2" ← 設定_(溫度值.舒適度)數值顏色 ( [417AA2]為預設值 ) Set_106TV_FontColor_7="800000" ← 設定_(降雨率)數值顏色 ( [800000]為預設值 ) Set_106TV_FontColor_8="000000" ← 設定_(106TV.com 連結)字體顏色 ( [000000]為預設值 ) 如需要城市設定方面 詳細的參數設定方式可以到這裡 ----> http://www.106tv.com/modules/WeatherLinkService.asp
搜尋相關Tags的文章:
[ 天氣 ] , [ 模組 ] , [ 外掛 ] , [ 免費 ] , [ 網站 ] , [ JavaScript ] , [ 天氣預報 ] ,
本篇文章發表於2007-02-12 22:56 |