close


自從雅虎部落格開放【自定欄位】以來,各家格主無不竭盡所能,各展神通


我是知道的啦,我的學員是不會放過偶的,尤其是有心把不落歌唱好的...


其實,自定欄位的功能,雅虎部落格已經透過PHP的技術提供給使用者設定了


我們只需要點按【編輯個人檔案】中﹝進階管理﹞的【管理自定欄位】功能


然後在﹝新增自定欄位﹞的【自訂欄位名稱】中輸入想要的名稱(7字以內),然後選按【儲存】即可


 


問題是,ㄚ...【自訂欄位內容】中...該寫些什麼東西?... ...答案是:HTML & CSS


如果你不會HTML(超文字標示語言)或者 CSS(連接樣式表)的撰寫,其實,也可以輸入一般文字


可不要問我什麼是一般文字蛤~...就是你鍵盤打得出來或你複製得出來的文字、符號...


不過,如果你要提供一些不太一樣的功能,那...很不幸,除非你會自己撰寫HTML與 CSS


否則...就只能~複製別人撰寫好的HTML與 CSS文字碼,然後貼到【自訂欄位內容】中囉


 


為了不讓那些有心的學員失望,在這裡,我就提供一個參考的HTML與 CSS碼(以table方式呈現)


 


<!----------------------------------氣候溫度碼開始------------------------------>


<center>
<table cellspacing="0" cellpadding="3" border="0"><tbody>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/taipeiicon.gif"


width="38"/></td><td colspan="3"><strong><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/taipei.htm">
<font color="#408080">台北</font></a></strong></td></tr>
<tr><td><img height="13" src="
http://udn.com/WEATHER/IMAGES/taipeilowtemp.gif"


width="27"/></td><td>-</td> <td><img height="13"


src="http://udn.com/WEATHER/IMAGES/taipeihightemp.gif" width="27"/></td></tr>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/xinjuicon.gif"


width="38"/></td><td colspan="3"><strong><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/xinju.htm">
<font color="#408080">新竹</font></a></strong></td></tr>
<tr><td><img height="13" src="
http://udn.com/WEATHER/IMAGES/xinjulowtemp.gif"


width="27"/></td><td>-</td> <td><img height="13"


src="http://udn.com/WEATHER/IMAGES/xinjuhightemp.gif" width="27"/></td></tr>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/taitungicon.gif"


width="38"/></td><td colspan="3"><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/taichung.htm"><strong>
<font color="#408080">台中</font></strong></a></td></tr>
<tr><td><img height="13" src="
http://udn.com/WEATHER/IMAGES/taitunglowtemp.gif"


width="27"/></td><td>-</td> <td><img height="13"


src="http://udn.com/WEATHER/IMAGES/taitunghightemp.gif" width="27"/></td></tr>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/hualianicon.gif"


width="38"/></td><td colspan="3"><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/hualian.htm"><strong>
<font color="#408080">花蓮</font></strong></a></td></tr><tr><td><img height="13"


src="http://udn.com/WEATHER/IMAGES/hualianlowtemp.gif" width="27"/></td><td>-</td> <td><img


height="13" src="http://udn.com/WEATHER/IMAGES/hualianhightemp.gif" width="27"/></td></tr>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/tainanicon.gif"


width="38"/></td><td colspan="3"><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/tainan.htm"><strong>
<font color="#408080">台南</font></strong></a></td></tr>
<tr><td><img height="13" src="
http://udn.com/WEATHER/IMAGES/tainanlowtemp.gif"


width="27"/></td><td>-</td> <td><img height="13"


src="http://udn.com/WEATHER/IMAGES/tainanhightemp.gif" width="27"/></td></tr>


<tr><td rowspan="2"><img height="31" src="http://udn.com/WEATHER/IMAGES/kaoshiungicon.gif"


width="38"/></td><td colspan="3"><a style="TEXT-DECORATION:none;"


href="http://udn.com/WEATHER/kaoshiung.htm"><strong>
<font color="#408080">高雄</font></strong></a></td></tr><tr><td><img height="13"


src="http://udn.com/WEATHER/IMAGES/kaoshiunglowtemp.gif" width="27"/></td><td>-</td> <td><img


height="13" src="http://udn.com/WEATHER/IMAGES/kaoshiunghightemp.gif" width="27"/></td></tr>


</tbody></table>
</center>


<!----------------------------------氣候溫度碼結束------------------------------->


 



<!----------------------------------時間溫度碼開始------------------------------->


<center>
<table cellspacing="0" cellpadding="0" border="0"><tbody>


<tr><td><img height=41


 src="http://banners.wunderground.com/banner/gizmotemp/global/stations/58968.gif" width=127


 border=0></td></tr>


</tbody></table>
</center>


<!----------------------------------時間溫度碼結束------------------------------->


 


想要哪個新增欄位功能,您就儘管直接複製後貼到你的【自訂欄位內容】中去吧!


我能保證的是,目前,短期內應該可以正常運作...應該感謝他們的辛勞與慷慨


(氣象溫度的資料,使用的是~聯合新聞網~的網路資源圖片)


之所以這麼說,那是因為前述HTML文字碼中,使用了一些我們無法掌控的網路圖片資源


一旦哪天他們毛起來將URL的內容更動了,那,這些資料也會跟著無法正常連結呈現囉


 


好啦,就這樣蛤~請別再問我計數器、計時器...等等的怎麼做ㄏㄟ


把部落格裝飾得漂漂亮亮不是什麼壞事...但,有種就自己來!~書上也沒寫這些ㄚ


我個人認為,還是文章中的內容比較重要啦,別忘了,Blog的原意是→Web log~網路日誌

arrow
arrow
    全站熱搜

    夜貓 發表在 痞客邦 留言(7) 人氣()