...

View Full Version : Is is possible to have multiple "screaming buttons" on same page



sippenhaft
01-12-2004, 09:46 AM
I have inserted the "screaming Button" on my page and wanted to have more than one. I was able to put more than one button but the same sound keepes comming from both.

Is it possible to make multiple sounds/buttons on the same page?

AND SECONDLY how can I insert a gif to be the "screaming button"

JAVASCRIPT I am referring too is located here
http://wsabstract.com/java/java4.shtml

Thank you for your time
Steve

glenngv
01-12-2004, 10:11 AM
change the sound parameter to a different sound file

<param name=sound value="doh.au">

Regarding the insertion of image, I don't think you can do it.
If it's possible, it should have been defined in the <param> tags (or at least the author mentions it).

sippenhaft
01-12-2004, 10:49 AM
I put a different sound file in. The first one is DOH.au the other is canttakeit.au but the both play the same one??
http://home.comcast.net/~snkjonaitis/
that is where they are located....this is where i store pics,files, and test java.....

glenngv
01-13-2004, 02:42 AM
As there's no documentation provided by the author, I don't know the inner workings of this applet. Better contact the author directly.

sippenhaft
01-13-2004, 09:49 PM
:confused:
I tried to contact him but all his emails get returned undeliverable:mad:

Guess I will hunt for another program that is similar, if you know of any please let me know.

Thanks
Steve:o

Garadon
01-14-2004, 12:36 AM
just an idea of how u could do it, migth not work, and remember to change FileName

<html>
<head>
<script>
function play(aFile)
{
document.getElementById('player').src=aFile;
document.getElementById('player').play;
}
</script>
</head>

<body>
<embed autostart="False" loop="False" id="player" style="visibility:hidden"></embed>

<button onclick="play('FileName');">Play 1</button>
<button onclick="play('FileName');">Play 2</button>

</body>
</html>

sippenhaft
01-14-2004, 03:59 PM
Thanks I will test it when I get a chance and let you know.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum