dark player, somethign wrong |
dark player, somethign wrong |
![]()
Post
#1
|
|
![]() Magic Crayons ![]() ![]() ![]() ![]() Group: Member Posts: 142 Joined: Nov 2004 Member No: 62,315 ![]() |
Some thigns wrong with the drop down thing. Theres a blank in the middle
My Xanga can some one help? heres my code CODE <!-- begin code provided by createblog.com -->
<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"> <param NAME VALUE> <param NAME="ShowControls" VALUE="0"> <param NAME="ShowStatusBar" VALUE="0"> <param NAME="ShowDisplay" VALUE="0"> <param NAME="DefaultFrame" VALUE="Slide"> <param NAME="Autostart" VALUE="1"> <param NAME="Loop" VALUE="True"> </object> <form name="form"> <select name="playlist" size="1"> <!-- Add song info here --> <option value="0"> Be The One - Boa </option> <option value="1"> Make a Move - Lost Prophets</option> <option value="2"> Time and Time Again - Cronic Future </option> <option value="3"> Just Like You - Three Days Grace </option> <option value="4"> Getting Away With Murder - Papa Roach </option> <option value="5"> Only You - Yellow Card </option> <option value="6"> American Idiot - Green Day <option> <option value="7"> So cold - Breaking Benjamin </option> <option value="8"> How Come - D-12 </option> <option value="9"> Jesus Walks - Kanye West </option> <option value="10"> Let's Get Retarded - Black Eyed Peas </option> <option value="11"> Burn - Usher </option> <option value="12"> Confessions, Part.2 - Usher</option> <option value="13"> Lets Get Away - T.I.</option> <option value="14"> Nothing </option> </select> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 1; // Set to 0 to always play first song in list // Set to 1 to randomly choose the first song to play songs=new Array(); // Add song URLs here songs[0]="http://home.megapass.co.kr/~fromlover/boa55/boa55betheone040131.asf"; songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/22347/28838_1_4_04.asf"; songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/25623/29407_1_1_04.asf"; songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24938/29597_1_2_04.asf"; songs[4]="http://boss.streamos.com/wmedia/geffen/papa_roach/video/gettingawaywithmurder_ecd/gettingawaywithmurder/300_hi.asx?siteid=blistering"; songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_1_6_04.asf"; songs[6]="http://www.warnermusic.com.br/greenday_americanidiot.wmv"; songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/23649/29521_1_1_04.asf"; songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/18672/29348_1_8_04.asf"; songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24822/28866_1_7_04.asf"; songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/803/27860_1_3_04.asf"; songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/292/29068_1_6_04.asf"; songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/292/29068_1_5_04.asf"; songs[13]="http://www.dj-rc.com/getaway.wmv"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.darkplayer.FileName = songs[randsg]; document.darkplayer.scr = songs[randsg]; document.forms['form'].playlist.options[randsg].selected = true; } function play(list) { if (playstate == 2) { document.darkplayer.Play(); } else { var snum = list.options[list.selectedIndex].value document.darkplayer.FileName = songs[snum]; document.darkplayer.scr = songs[snum]; } playstate = 1; } //--> </script> <!-- end code provided by createblog.com --> |
|
|
![]() |
![]()
Post
#2
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 ![]() |
Shoot, try it now, i edited what I saw missing. ![]() //Edit PM me if you have questions ![]() What was missing is that after the song American Idiot the <Option> was missin the / ![]() |
|
|
![]()
Post
#3
|
|
![]() Magic Crayons ![]() ![]() ![]() ![]() Group: Member Posts: 142 Joined: Nov 2004 Member No: 62,315 ![]() |
hey, its working ! thanks
haha, but i still dun understand wats wrong, but as long as it works! ![]() |
|
|
![]()
Post
#4
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 ![]() |
i already explained what's wrong
![]() |
|
|
![]()
Post
#5
|
|
![]() Magic Crayons ![]() ![]() ![]() ![]() Group: Member Posts: 142 Joined: Nov 2004 Member No: 62,315 ![]() |
oh i see! Thanks
TOPIC CLOSED just had to do that! ![]() |
|
|
![]() ![]() |