PDA

View Full Version : Sounds


Arney
11-09-1999, 12:13 PM
How do i make a sound play when someone comes to my site? Please help, I'm having trouble!

Administrator
11-09-1999, 12:57 PM
Hi Arney,

Do you have any code already started? I could take a look at it and see where there are any problems or if you want I can post some totally new code.



------------------
Jacob Wheeler
jacob@123webmaster.com
http://www.123webmaster.com

Arney
11-09-1999, 01:50 PM
Yes! Please post some code!

Administrator
11-09-1999, 03:56 PM
Here ya go arney:

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
&lt;EMBED SRC="mysong.mid" AUTOSTART=true LOOP=false&gt; &lt;BGSOUND SRC="mysong.mid" LOOP=1&gt;
[/code]

Replace the mysong.mid with the filename of your midi or wave file you wish to play in the background. Set loop to '=0' if don't want it to loop.

Tell me if this works!

------------------
Jacob Wheeler
jacob@123webmaster.com
http://www.123webmaster.com