Jump to content

Background music for all pages

Guest Bubble

Recommended Posts

Guest Bubble

Hi! My first entry here :)I am busy with my first steps in Java and would need some help...Yes, I did search first but couldn't find a solution yet. :)I would like to add background music to my page, but when clicking through, I mean on another link, I would like the song to continue instead of repeating everytime when you click another page.Is this possible? And if so, how?And how do I make it to play in a loop? (now it stops at the end of the song)This is what I have now:http://www.insideabubble.be/downloads.phpAnd the code is as follow: <!-- START SOUND--> <script language="JavaScript" type="text/javascript"> if (navigator.appName == "Microsoft Internet Explorer") { document.write('<bgsound src="Nipponsei_NewDimension.mp3" LOOP="infinite">'); } else { document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="Nipponsei_NewDimension.mp3" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="1" HEIGHT="1" WIDTH="1" loop="infinite"><br>'); } // End --> </script> <!-- END SOUND -->Thanks for the help in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...