<HEAD> </HEAD>タグの中を以下の様にする。 共通
<SCRIPT language=JavaScript> <!-- NS = navigator.appName.charAt(0) == "N"; IE = navigator.appName.charAt(0) == "M"; MAC = navigator.userAgent.indexOf("Mac") >= 0; loadFlag = false; function playSnd(sndID,snd) { if (loadFlag && IE && !MAC) document.all[sndID].src = snd+".WAV"; if (loadFlag && NS) { document[snd].stop();document[snd].play(true); } } // --> </SCRIPT>
普通のリンク <BODY> </BODY> タグの中を以下の様にする。
<BODY bgcolor="#000000"text="#ffffff" background="HP Parts Web..gif" link="#ffffff" vlink="#0000ff" alink="#0000ff" onload=loadFlag=true bgproperties="fixed"> <P><A onmouseover='playSnd("Sound_013SND","Sound_013")' href="http://www.bea.hi-ho.ne.jp/jh8cmz/bbs/index.shtml" target="Postman03">BBS</A> <A href="http://www2g.biglobe.ne.jp/~kcom/v801/kiss.cgi?mika" target="Postman03"><BR> </A></P> <BGSOUND id=Sound_013SND src=""> <EMBED name=Sound_013 src=Sound_013.WAV hidden=true AUTOSTART="false" MASTERSOUND>
普通のGIFにリンク
<BODY bgcolor="#000000"text="#ffffff" background="HP Parts Web..gif" link="#ffffff" vlink="#0000ff" alink="#0000ff" onload=loadFlag=true bgproperties="fixed"> <P><A onmouseover='playSnd("Sound_013SND","Sound_013")' href="http://www.bea.hi-ho.ne.jp/jh8cmz/bbs/index.shtml" target="Postman03"> <IMG src="n_5_2.gif" width="37" height="18" border="0" alt="BBS"></A> <A href="http://www2g.biglobe.ne.jp/~kcom/v801/kiss.cgi?mika" target="Postman03"><BR> </A></P> <BGSOUND id=Sound_013SND src=""> <EMBED name=Sound_013 src=Sound_013.WAV hidden=true AUTOSTART="false" MASTERSOUND>
GIFが動く。 "JavaScript 8.カーソルが触れたら画像を変える。" を参考
<BODY bgcolor="#000000"text="#ffffff" background="HP Parts Web..gif" link="#ffffff" vlink="#0000ff" alink="#0000ff" onload=loadFlag=true bgproperties="fixed"> <P><A onmouseover='playSnd("Sound_013SND","Sound_013")' href="http://www.bea.hi-ho.ne.jp/jh8cmz/bbs/index.shtml" target="Postman03"> <IMG src="n_5_2.gif" width="37" height="18" border="0"onmousemove="src='n_5_2b.gif'" onmouseout="src='n_5_2.gif'" alt="BBS"></A> <A href="http://www2g.biglobe.ne.jp/~kcom/v801/kiss.cgi?mika" target="Postman03"><BR> </A></P> <BGSOUND id=Sound_013SND src=""> <EMBED name=Sound_013 src=Sound_013.WAV hidden=true AUTOSTART="false" MASTERSOUND>
Sound_013.wav ダウンロード