■ 音楽BOX NO2 ■
<画像Click&ページ表示と同時に、音楽が流れる>
↓のタグソースを
<head>〜</head> 間に書き込んでください。
<IMG id="sound"dynsrc="http://音楽ファイルアドレス.mid" width="0" height="0" panel="0" start="fileopen" loop="infinite">
↓のタグソースを
<body>〜</body> 間に書き込んでください。
<table border=0 width=150> <tr><td> <FONT style="cursor:hand;background-color:#ffffff;" onclick=sound.dynsrc="" onmouseover=this.style.background="aqua"; onmouseout=this.style.background="#ffffff";> <font size="2" color="white"><BR><img src="http://から始まるアイコン画像アドレス.gif" alt=音楽を止める></FONT> </TD> <td> <FONT style="cursor:hand;background-color:#ffffff;" onclick=sound.dynsrc="http://音楽ファイルアドレス.mid" onmouseover=this.style.background="yellow"; onmouseout=this.style.background="#ffffff";> <font size="2" color="white"><br><img src="http://から始まるアイコン画像アドレス.gif" alt=タイトル></FONT></FONT> </td> <td> <FONT style="cursor:hand;background-color:#ffffff;" onclick=sound.dynsrc="http://音楽ファイルアドレス.mid" onmouseover=this.style.background="violet"; onmouseout=this.style.background="#ffffff";> <font size="2" color="white"><br><img src="http://から始まるアイコン画像アドレス.gif"alt=タイトル></FONT></FONT> </td> <td> <FONT style="cursor:hand;background-color:#ffffff;" onclick=sound.dynsrc="http://音楽ファイルアドレス.mid" onmouseover=this.style.background="red"; onmouseout=this.style.background="#ffffff";> <font size="2" color="white"><br><img src="http://から始まるアイコン画像アドレス.gif" alt=タイトル></FONT></FONT> </td><td> <FONT style="cursor:hand;background-color:#ffffff;" onclick=sound.dynsrc="http://音楽ファイルアドレス.mid" onmouseover=this.style.background="#408080"; onmouseout=this.style.background="#ffffff";> <font size="2" color="white"><br><img src="http://から始まるアイコン画像アドレス.gif" alt=タイトル></FONT></FONT> </td></TR> </table>
onmouseove & onmouseoutで背景色が変わるようにしています。
変更させない場合は、色設定しないでください。
SEO
掲示板
[PR]
爆速!無料ブログ
無料ホームページ開設
無料ライブ放送