Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 
We've teamed up with Firebox.com to bring our readers and visitors the hottest gadgets in our very own shop!


Web Building >> Web design & build

 |  Print Thread
owen
regular


Reg'd: Thu
Posts: 3236
Loc: Lancashire, United Kingdom
Re: Background sound
      Sat May 22 2004 03:50 PM

Delete your existing code and use this code instead. It can go anywhere in the body tag. Wherever you choose to put it, this will appear:



Which will automatically play the song and repeat it 20 times and will stop when you move to another page unless you put the same code into another page. It can only play in Internet Explorer, but for people who don't have Internet Explorer, it displays the text "Click here for sound". This is somewhat a better method than the other because the user can change the volume and pause or stop the song.

<object id="Player1" width="250" height="65"
classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="URL" value="http://www.userclub.de/ucolaf/midi/pop/EltonJohn_CandleInTheWind.mid">
<param name="autoStart" value="true">
<param name="playCount" value="20">
[Click <a href="http://www.userclub.de/ucolaf/midi/pop/EltonJohn_CandleInTheWind.mid">here</a> for sound]
</object>
Owen,
http://www.isecurity.org.uk
"Don't be content with things as they are. The earth is yours and the fullness therof"- Winston Churchill

Post Extras Print Post   Remind Me!     Notify Moderator
Rate this thread

Jump to


Entire topic
Subject Posted by Posted on
* Background sound (resolved) Ellen Sat May 22 2004 12:34 PM
. * * Re: Background sound (resolved) bertox123   Thu Dec 09 2004 03:29 PM
. * * Re: Background sound (resolved) Ellen   Thu Dec 09 2004 04:31 PM
. * * Re: Background sound (resolved) Sam   Thu Dec 09 2004 05:35 PM
. * * Re: Background sound (resolved) m4rk   Fri Dec 10 2004 07:25 AM
. * * Re: Background sound (resolved) Sam   Sat Dec 11 2004 07:10 PM
. * * Re: Background sound owen   Sat May 22 2004 03:13 PM
. * * Re: Background sound Ellen   Sat May 22 2004 03:28 PM
. * * Re: Background sound mw1   Sat May 22 2004 08:05 PM
. * * Re: Background sound TheFatControlleRAdministrator   Sun May 23 2004 01:12 AM
. * * Re: Background sound m4rk   Wed May 26 2004 11:05 PM
. * * Re: Background sound Ellen   Sun May 23 2004 11:51 PM
. * * Re: Background sound mw1   Mon May 24 2004 10:53 AM
. * * Re: Background sound Ellen   Mon May 24 2004 11:10 AM
. * * Re: Background sound Ellen   Sat May 22 2004 08:24 PM
. * * Re: Background sound owen   Sat May 22 2004 03:50 PM
. * * Re: Background sound m4rk   Mon May 31 2004 08:16 AM
. * * Re: Background sound putasolutionsModerator   Mon May 31 2004 10:46 AM
. * * Re: Background sound m4rk   Mon May 31 2004 02:33 PM
. * * Re: Background sound Ellen   Sat May 22 2004 05:44 PM
. * * Re: Background sound Ellen   Sat May 22 2004 04:08 PM
. * * Re: Background sound Ellen   Sat May 22 2004 03:57 PM

Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Thread
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Thread views: 2248

Contact Us | Privacy statement Main website