onMouseOver Code For Link or Image To Hear Sound
onMouseOver Code For Image Change With No Sound
The below codes are placed in the body of a web page where you want the link with the onMouseOver link/sound to appear.
Highlight
this to hear the sound effect and you'll automatically hear the sound plus the hyperlink works as well.
Here is another sound if you click on the word
drill instructor you'll hear a sound from the movie Full Metal Jacket.
Here are the codes and watch the single and double quotation marks:
Or if you want to get fancy you can may, LOL, click very carefully on my USMC flag:
Here is what I used for the above:
Now if you want an image to change to another image onMoseOver without sound here are the codes and BTW both images should be fairly close with the same dimensions. Once again watch the quotation marks.
Here is what I used for the above:
I used all relative URL's since all images and or sounds come from the same server instead of absolute URL's which is another way of enhancing loading time plus I used width, height and border="0" dimensions on the flag images. For more on realtive and absolute URL's click here. If you use any of these sounds please remember to transload to your host server. For different sound effects you can click here and then scroll down and look for WAV Sound File or click here to go ASAP to the Movie Sound Page page. Here is another tute by Tyhart that is worth a click.
If you're looking for a site that has more sounds than you can possibly think of or even heard of try this one.