Example: modified for "space" web design model

------------------------------------------------------------------------

 

 

Example of sound on mouse over

 

this in to body

<embed name="puk" src="puk.wav" hidden autostart="false">

and this goes in to the hyperlink tag like this:

<a href="#odkaz" onmouseover="document.puk.play()" onmouseout="document.puk.stop()">example of sound on mouse over</a>

-----------------------------------------------------------------------------------------------------------------------------------

bg sound with control:

example:

Start  music  Stop

after the <body> tag put this:

<embed name="pisnicka" src=" bgsound.MID" hidden autostart="false" width="0" height="0">

and where ever you want in to the body put this:

<a href="javascript: document.pisnicka.play()" onmouseover="document.puk.play()" onmouseout="document.puk.stop()">
Start</a><b>&
nbsp; music</b>&nbsp;
<a
href="javascript: document.pisnicka.stop()" onmouseover="document.puk.play()" onmouseout="document.puk.stop()">
Stop</a>

 

 

 

back to the http://miroweb.com/scripts.htm