Rollover with Sound
 
Here is an example code for a rollover image with a little sound while rolling over:
<HTML>
<HEAD>
<TITLE>Rollover Sound</TITLE>
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
function playSound(SName) {
if (document.embeds[SName] != null && document.embeds[SName].IsReady()) {
document.embeds[SName].play(false);
}
}
// End hiding script from old browsers -->
</SCRIPT> 
</HEAD>
<BODY BGCOLOR=WHITE>
<CENTER><H1>Sounds on rollovers</H1></CENTER>
<P><A HREF="javascript:void('')" onMouseover="playSound('sound')"><IMG SRC="image.gif" WIDTH=43 HEIGHT=34 BORDER=0 ALIGN=LEFT HSPACE=30></A>
<H3>Hear a sound while rolling over!</H3>
<EMBED SRC="sound.mp3" NAME="sound" HIDDEN=TRUE LOOP=FALSE AUTOSTART=FALSE MASTERSOUND>
</BODY>
</HTML>
 
admin / Dec 07, 2003
   
 
 
Login: 
Pass: 
 
 
     
     
2004 - 2019 / lookass.ch
makememad@lookass.ch