[thelist] play sound onclick

Barret A Monchka bmonchka at hotmail.com
Sat Oct 28 00:01:10 CDT 2000


I want to play a sound when the user clicks on one of my links.  The 
javascript I have is working perfectly except for one small problem.  I am 
using the following html code:

<a href=# onClick="javascriptfunction()">Link and Sound</a>

When the link is set to # the sound plays fine, but when I change the link 
to <a href="link.htm" onClick="javascriptfunction()"></a> the sound does not 
play anymore.  Does anyone know how I can play the sound and load a url at 
the same time?

Thank you,

bmonchka at hotmail.com
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





More information about the thelist mailing list