Must have html enabled to see visit fartbutton**** for the page i did but i am doing this for school if you would like a specific image to play a specific sound tell me and ill do it for some vbucks or something
<span id="dummy"></span>
<html>
<body>
<head>
<script language="javascript" type="text/javascript">
function playSound(soundfile) {
document.getElementById("dummy").innerHTML=
"<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
}
</script>
</head>
<center><a href="#" onclick="playSound('http://www.tradebit.com/filedetail.php/829562-fart-sound-effect-2-wav');"><img src="http://www.terminally-incoherent.com/blog/wp-content/uploads/2007/09/redbutton.jpg"></a></center>
</body>
</html>
Bookmarks