Results 1 to 3 of 3

Thread: Script for a Web Midi Jukebox

  1. #1
    larryjs
    Guest

    Script for a Web Midi Jukebox

    <html>
    <!--
    Web midi JukeBox application
    © Rochelle
    License freeware under Not For Resale Terms
    -->
    <head>


    <script language="JavaScript">
    // Web midi JukeBox application
    // © Rochelle
    // rochelle@freenet.co.uk
    // http://www.freenetpages.co.uk/hp/rochelle
    // online demo at http://www.geocities.com/Wellesley/A...15/page2a.html
    //
    function playit(){
    // halt any current selected played music file
    var mloop = document.selform.music.length;
    mloop--;
    for (num = 0; num < mloop; num++){
    document.embeds[num].stop();
    }
    // play music selected
    var sel = document.selform.music.selectedIndex;
    if (sel != 0) {
    sel--;
    document.embeds[sel].play();
    }
    }
    </script>

    </head>


    <body onLoad="document.all.selbutton.style.visibility = 'visible';">




    <form name="selform">


    Web JukeBox <select name="music" onChange="playit();" size="1" style="vertical-align middle; vertical-align: middle; visibility: "hidden"">
    <option VALUE="0" SELECTED>- select music (stopped)</option>
    <option VALUE="1">Sound Filename title 1</option>
    <option VALUE="2">Sound Filename title 2</option>
    <option VALUE="3">Sound Filename title 3</option>
    <option VALUE="4">Sound Filename title 4</option>
    <option VALUE="5">Sound Filename title 5</option>
    </select></p>
    </form>




    <embed src="soundfilename1.mid" hidden="true" autostart="false">
    <embed src="soundfilename2.mid" hidden="true" autostart="false">
    <embed src="soundfilename3.mid" hidden="true" autostart="false">
    <embed src="soundfilename4.mid" hidden="true" autostart="false">
    <embed src="soundfilename5.mid" hidden="true" autostart="false">

    <!-- Your can assign the above src text within quotes for your desired sub-directory for placing your sound files. It is not necessary to suffix the sound file name as I have shown in step four above with a numerical amount for the above drop-down option box. However, the order of the above embed list will determine the order your drop-down menu value selects them with the JavaScript code.
    For an example you want to use a sub-directory called \images, your emded tag would be:
    <embed src="images/U2nyearsday.mid" hidden="true" autostart="false">
    Make sure to feature the correct right slash character for a web directory in your HTML document!
    -->


    </body>
    </html>

    Written by rochelle

  2. #2
    You want to see mine.

    This needs editing before I put it on my site but it works.
    Yeah that's right crasher radio!

    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <TITLE>Crasher</TITLE>
    <META NAME="Description" CONTENT="Programming">
    <META NAME="Keywords" CONTENT="This is the first version of the html">
    <META NAME="Author" CONTENT="Will Wilimek">
    <META NAME="Generator" CONTENT="vanIJperen Software Inc.">
    </HEAD>
    <BODY>

    <HTML>
    <HEAD><TITLE>Crasher Radio(IE)</TITLE>
    </HEAD>

    <BODY background="Crasher Radio.gif">
    <DIV align="right">
    <TABLE BGCOLOR="#ffffff" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <TR>
    <TD bgcolor="#ACACAC"><FONT COLOR="#FFFFFF" SIZE="1" FACE="tahoma, verdana, arial">[B]Crasher Radio</TD>
    </TR>
    <TR>
    <TD valign="Top">


    <OBJECT
    ID="mediaPlayer"
    CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    STANDBY="Loading Microsoft Windows Media Player components..."
    TYPE="application/x-oleobject">
    <PARAM NAME="fileName" VALUE="C:\DaftPunk.wav">
    <PARAM NAME="animationatStart" VALUE="true">
    <PARAM NAME="transparentatStart" VALUE="true">
    <PARAM NAME="autoStart" VALUE="true">
    <PARAM NAME="showControls" VALUE="true">
    </OBJECT>

    </TD>
    </TR>
    </TABLE>
    </DIV>
    </BODY>
    </HTML>


    </BODY>
    </HTML>


  3. #3
    larryjs
    Guest
    I dare the ********** who gave me points on this post to reveal himself....I know he won't though....most cyber poeple are a bunch of chickenshits. All the faggot had to say was "I like dogs"
    I guess he likes to **** them up the ass.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •