- Replay a sound using EvalSound before the sound is ended
- <script>
- function EvalSound(soundobj) {
- var thissound=document.getElementById(soundobj);
- thissound.Play();
- }
- </script>
- <embed src="success.wav" autostart=false width=1 height=1 id="sound1"
- enablejavascript="true">
- -function code-
- pA = false;
- EvalSound('sound1');
- } else {
- -more code-