close

 讓blog有背景音樂~




 


yahoo blog的使用者真的很多~雖然是最晚推出blog服務的~但因為是主要的入口網站~使用yahoo信箱與及時通的人也是最多的~自然的yahoo blog變成滿多人的首選~不過~雖說yahoo blog介面很方便~但是也滿陽春的~有些語法與程式碼都無法使用~很多人想在blog播放音樂~但是確受制於 yahoo的介面~再加上yahoo的影音上傳既麻煩又容納量小~在這我就教大家使用框架語法~讓你的留言版有美妙的背景音樂唷~


首先你需要有網頁儲存的空間~最方便的就是yahoo的個人網頁


(不是在blog的自定欄位唷~是需要另外作一份網頁~很簡單的只需到yahoo的個人網頁伸請一個你的網路空間~然後使用文字編輯器 直接用 html 原始碼編輯網頁。將我下列的原始碼貼上經文字編輯器修改並存檔後,就成了一張網頁了)


音樂網址需使用網路空間存放的~這樣瀏覽器方能讀取~別用自己電腦內的唷~如果想播放自己喜歡的音樂那你就要自己上傳囉~我的引用:可顯示FLASH的MP3播放器  與如何在mail或留言版貼圖 中有介紹一些網路空間的資訊


 


要作三張網頁框架~音樂~網頁~音樂背景網頁


1音樂


</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=big5">
<title>音樂</title>
</head>
<body>
<bgsound src="(音樂網址)" loop="infinite">
</body>
</html>


 


2網頁


<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=big5">
<title>(留言版)</title>
</head>
<frameset framespacing="0" border="0" rows="4,*" frameborder="0">
<frame name="top" src="top.htm" target="_self">
<frame name="bottom" src="(留言版網址)" scrolling="auto" target="_self">
</frameset>
</html>


擷取這兩張網頁的網址再組成我們要的


3音樂背景網頁



<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=big5">
<title>歡迎光臨我的留言版</title>
</head>
<frameset framespacing="0" border="0" rows="1%,*" frameborder="0">
<frame name="top" src="1音樂網址" target="_self">
<frame name="bottom" src="2網頁網址" scrolling="auto" target="_self">
</frameset>
</html>


再來就是取得3音樂背景網頁網址


<P align=center><A href="3音樂背景網頁網址"><IMG src="你喜歡的圖檔網址"></a><br>
<P align=center>
<FONT color=#993366(可更改色碼自定文字顏色)



arrow
arrow
    全站熱搜

    H&D幸福小屋 發表在 痞客邦 留言(0) 人氣()