★ 多首音樂語法 (隨機)
</style> <SCRIPT Language="JavaScript"> tips = new Array(3); tips[0] = "音樂網址"; tips[1] = "音樂網址"; tips[2] = "音樂網址";index = Math.floor(Math.random() * tips.length); document.write("<EMBED SRC=" + tips[index] + " autostart=true width=200 height=150 loop=true hidden=TRUE></EMBED>"); </SCRIPT> <style>
不限加多少音樂,以上語法是只加三首的語法。 會隨著頁面不同有不同音樂(但有時會跳到同一首)。
|
|