Sounds & Music     
**************************************
Free Html & JavaScript tips provided by ©2003-VB'Breizh

  body onload event :

  • loop=1 : file played one time
  • loop=x : file played x times
  • loop=-1 : file played indefinitely

  onmouseOver event :

...Move the mousepointer over these cliparts below...

  onclick event, text link :

In this case the browser will open a new sound control window you'll have to close manually...

     Mid link    

  embed tag :

In this case the browser will insert the plug-in control of the associated audio program on your page : Media Player, QuickTime,...
Define width, height, loop, hidden, autostart properties

  Preloading sound files in the browser cache :

Use the embed tag and set parameters as follow :
"name=zik src=zikurl loop=false autostart=false hidden=true mastersound"

...Download the Html-JavaScript source code (4.24 kb)

...Thanks to my irish friends for their nice music...



Comment, question ?