看板 Web_Design 關於我們 聯絡資訊
※ 引述《autosmith (UTRS)》之銘言: : 請問我用了 : <embed src="playlist.wmv" width="400" height="200" : loop="false" quality="high"></embed> : playlist.wmv 是用 txt 寫上三個 wmv 檔 a b c 路徑的 : 現在可以依序撥 a b c : 那麼請問我現在要怎麼做才能讓 a b c 在每次上網頁時自動做隨機撥放 : 跟全部隨機撥完了後再重複隨機撥放呢? 那個 playlist.wmv可以去掉 然後... <script language="JavaScript"> <!-- tips = new Array(3); tips[0] = "3333333333333.wmv"; tips[1] = "2222222222222.wmv"; tips[2] = "1111111111111.wmv"; index = Math.floor(Math.random() * tips.length); document.write("<embed src=" + tips[index] + " width='400' height='200' lo op='false' quality='high'></embed>"); // --> </script> 先這樣試試看 @_@ ps.這是模仿首頁製作百寶箱的教學改寫的 -- 我的個人板: P_MDFH Hyper Digi'Studio telnet://hds.twbbs.org -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.168.38.33
autosmith:謝謝 我馬上試試看 ^^ 61.230.78.250 08/27