Click to See Complete Forum and Search --> : Plz help!


mazivend
07-10-2003, 07:15 PM
Hi all!
I have to admit that I'm very new with javascript :( :confused:

I found a very good sound script that works very good for playing external sounds when click at a button.

I tried to put the script in my another file that has uses arry. I wnat to play a sound when click at image in the main page but I don't know how to put the sound script inside the main script.
Is there anyone who can look at this scrip and want to help me!?

Would really appreciate it if you could help me with
this big problem.
Here is the file (with the sound script) without the sound files:

Khalid Ali
07-18-2003, 11:35 AM
Here I have put this example together for you.check it out...what you will need to to eventually when you have all the image mapping done then each mapped area will have this onmouseoever event call in it just as I have in the image tag....Let me kno wif you still have any roblem understanding or implementing it.

http://68.145.35.86/temp/mazivend/PlaySound.html

I am sure you know that this will only work with IS and NS<6 browsers

Khalid Ali
07-18-2003, 06:21 PM
I have emailed you the working solution...Enjoy

mazivend
07-20-2003, 05:32 AM
You did a very nice job!
I feel rested, relaxed, and un-stressed now. :D

Thanks ......

Khalid Ali
07-20-2003, 10:15 AM
Yes you can do that in an onclick event,but you already have some functionality associated with the onclick event..what is it you are going to do about that?

mazivend
07-21-2003, 04:50 AM
Its working and everything is OK!
I'm very thankful for your great help!

Thanks... :D :D