• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Turning music on and off

szr

New Member
Does anybody know the old code of maxpages on and off buttons for the background music using two input buttons (Start & Stop input buttons)? I forgot the code :(. If you don't then do you know the HTML Code to stop the music using an Stop button and to start up the music using an Start button?
 
Pleased to see you are one of the ones that offer an option to turn it off :cool:

This is the code I use and works in Netscape and IE.

<p><embed src="nameof.mid" controls=smallconsole autostart=true loop=true width=48 height=14 volume=65>
<br><BGSOUND SRC="nameof.mid" LOOP=1>

If you don't want it to autostart, choose false.
 
(no subject)

I already know about that and your HTML Code is mest up. Plus, that is not what I'm talking about. I said Start & Stop buttons for people that want to hear the music or don't want to hear the music. Oh yeah, and I'm not offering a code to turn off the music. I'm asking for the code not offering the code.
 
When you find it...

Let me know I have been wanting to put music on a webpage but the fact that when your stuck with it you hate it that would be a cool feature...
 
szr, I took that code out of an html file of mine. Why do you think it is messed up?

It has worked fine for me for 4 years so if it ain't broke, don't fix it it.

AND it has a stop and start button when viewed in a webpage.

So 1st you can use this if you want people to choose to turn it off.
 
(no subject)

I don't want no damn Windows Media Player showing on my web site. It takes up space on my page. All I'm freakin' askin' for is the freakin' Start & Stop INPUT BUTTONS! How hard is it for you to give me the god dang freakin' code that I want? MY GOD :angry2:!!!!!!!!!!!
 
Last edited:
My sincere apologies for misunderstanding you. But I don't think that gives you a reason to be so rude.

It will make anyone stop and think about helping you in the future.
 
(no subject)

I'm so sorry. I'm having a ----in' bad day today. I'm such a ----in' loser. Then again, I'm sorry....
 
ok this is easy really you just make some graphics that say on and off then you do this:

<TD ROWSPAN="1" COLSPAN="1" WIDTH="" HEIGHT="">
<a href="musicon url" target="music"><IMG SRC="" WIDTH="" HEIGHT="" BORDER="0" alt="Turn On Music!"></a></TD>

<TD ROWSPAN="1" COLSPAN="1" WIDTH="" HEIGHT="">
<a href="music url here" target="music off url"><IMG SRC="image of music off here" WIDTH="" HEIGHT="" BORDER="0" alt="Turn the Music OFF!!"></a></TD>

<iframe name="music" marginwidth="0" marginheight="0" height="1" width="1" scrolling="no" align="left" border="0" frameborder="0" src="start it off with the musicoff url"></iframe>

you put all that code inside the body of the html. :)
keep everything the same except height,width,the put url here text put image here text.

i got this code from another site it's url is:
http://www.blackgoku.com/main.shtml
so you can know that that code does work.
 
Tables are fine if you need to bloat your code and make your page load slower and display incorrectly.

Using this reliable script: http://wsabstract.com/script/script2/soundlink.shtml

...simply add:

<form><input type="button" name="on" value="Start" onclick="playsound(1)"></form>

and

<form><input type="button" name="off" value="Stop" onclick="stopsound(1)"></form>

Works cross-browser with no player popping up :D
 
Originally posted by Jan
My sincere apologies for misunderstanding you. But I don't think that gives you a reason to be so rude.

It will make anyone stop and think about helping you in the future.
Jan, don't feel so bad. There's a reason why we dub him as GC the Second. ;) :p

If you want some amusement, search for his posts in the free webspace section. You're as sure as hell gonna get a laugh out of it. :D
 
Back
Top