help, musik drop down box.. |
help, musik drop down box.. |
Nov 19 2004, 05:33 PM
Post
#1
|
|
![]() Roses are red so r my cheeks! ![]() ![]() ![]() ![]() Group: Member Posts: 136 Joined: Jun 2004 Member No: 20,115 |
ok.. evry1 is having a porblem with this the musik drop down thing.. can some1 help me and tell me what I am doing wrog? here is my code:
QUOTE <!-- 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="1">one last cry</option> <option value="2">On the way down</option> <option value="3">Vindicated</option> <option value="4">crush</option> <option value="5">Rapid Hope Loss</option> <option value="6">crush </option> <option value="7">I knew I loved you </option> <option value="8">Ocean Avenue </option> <option value="9">I like it, I love it </option> <option value="10">Flavor Of ThE WeEk</option> <option value="11">TiMe StaNdS stilL</option> <option value="12">QuIeT tHiNgS nO1 EvEr KnOWs</option> <option value="13"> Walk alone </option> <option value="14">Beautiful </option> <option value="15">Broken Angel </option> <option value="16">HoLD mE tWice</option> <option value="17">Dreaming 0f You</option> </select><br> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">(document.forms['form'].playlist);"> </form> 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[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/287/26806_1_3_04.asf" songs[2]="http://mfile.akamai.com/9139/wma/stream.wmg.com/atlrec/ryan_cabrera/onthewaydown-wma-full.wma" songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22181/29448_1_1_04.asf" songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/24479/27885_1_7_04.asf" songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/22181/28045_1_2_04.asf" songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/7576/22094_1_7_04.asf" songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/281/10467_1_3_04.asf" songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_1_3_04.asf" songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/1427/1926_1_7_04.asf" songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/18501/20190_1_2_04.asf" songs[11] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_4_04.asf" songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24769/28069_1_5_04.asf" songs[13]="http://195.161.115.251/lofi/26/264128.mp3" songs[14]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/6597/26927_1_11_04.asf" songs[15]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/435/29169_1_8_04.asf" songs[16]="http://www.deadsnotpunk.com/fm_static-what_are_you_waiting_for/07-fm_static-hold_me_twice-antipunk.com.mp3" songs[17]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/5143/7171_1_8_04.asf" 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 --> <!-- end code provided by createblog.com --> WHATS WRONG W/ IT? |
|
|
|
![]() |
Nov 19 2004, 11:41 PM
Post
#2
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Nov 2004 Member No: 64,198 |
heyy i need help with mine too
code: <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"> </object> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 7pt; BACKGROUND:#FFFFFF; WIDTH: 275px; font-face: Kristen ITC" name="playlist" size="1"> <option value="0">Back Home- Yellowcard</option> <option value="1">Measure of a Man- Clay Aiken</option> <option value="2">I Don't Wanna be- Gavin Degraw</option> <option value="3">Autobiography- Ashlee Simpson</option> <option value="4">Hands Down- Dashboard Confessional</option> <option value="5">Say Anything- Good Charlotte</option> <option value="6">Baby its You- JoJo</option> <option value="7">I Have Loved You- Jessica Simpson</option> <option value="8">You Raise Me Up- Josh Groban</option> <option value="9">Beautiful Disaster- Kelly Clarkson</option> <option value="10">Nobody's Home- Avril Lavigne</option> <option value="11">If I Ain't Got You- Alicia Keys</option> <option value="12">Time Stands Still- All American Rejects</option> <option value="13">Boys of Summer-The Ataris</option> <option value="14">Everytime- Britney Spears</option> <option value="15">One Call Away- Chingy</option> <option value="16">Last Train Home- Lost Prophets</option> <option value="17">Pretty Girl(The Way)- Sugarcult</option> <option value="18">Home- Three Days Grace</option> <option value="19">TNT- Ac/Dc</option> <option value="20">All My Life- K-ci and Jojo</option> <option value="21">Milkshake- Kelis</option> <option value="22">8th World Wonder- Kimberley Locke </option> <option value="23">I Hope You Dance- Lee Ann Womack</option> <option value="24">Over and Over- Nelly feat. Tim McGraw</option> <option value="25">Never Had a Dream Come True- S Club 7</option> <option value="26">Dreaming of You-Selena</option> <option value="27">I'm Just A Kid- Simple Plan</option> <option value="28">Until The Day I Die- Story of the Year</option> <option value="29">Cry- Mandy Moore</option> <option value="30">She Bangs- William Hung</option> </select><br> <input TYPE="BUTTON" NAME="darkplay" VALUE=".play." OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE=".pause." OnClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE=".stop." OnClick="document.darkplayer.Stop(); playstate=2;"></p> </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(); songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_1_13_04.asf" songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/24662/28359_1_11_04.asf"; songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/24479/27885_1_8_04.asf"; songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/24479/27885_1_8_04.asf"; songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/22181/28045_1_1_04.asf"; songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_10_04.asf"; songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/25873/29488_1_2_04.asf"; songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/7595/28061_1_4_04.asf"; songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24310/28512_1_12_04.asf"; songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23893/27514_1_7_04.asf" songs[10="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23004/29435_1_7_04.asf"; songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/192/390_1_5_04.asf"; songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2026/28681_1_6_04.asf"; songs[13]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_4_04.asf"; songs[14]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/5490/27368_1_10_04.asf"; songs[15]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/3087/28652_1_12_04.asf"; songs[16]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24618/28229_1_9_04.asf"; songs[17]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/22347/28838_1_3_04.asf"; songs[18]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/21632/23790_1_8_04.asf"; songs[19]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/24938/28340_1_4_04.asf"; songs[20]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/192/390_1_5_04.asf"; songs[21] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/486/1189_1_11_04.asf"; songs[22] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/8036/28599_1_3_04.asf"; songs[23] ="http://delphinecrane.myknet.org/music/8thworldwonder.wma"; songs[24] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/1741/14580_1_2_04.asf"; songs[25] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/9626/29836_1_9_04.asf"; songs[26] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/3392/19555_1_13_04.asf"; songs[27] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/5143/7171_1_8_04.asf"; songs[28] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/21722/26182_1_4_04.asf"; songs[29] ="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/24767/28066_1_2_04.asf"; songs[30] =http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/7576/25066_1_2_04.asf;songs[31]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/25751/29290_1_2_04.asf" 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> |
|
|
|
chica777708 help Nov 19 2004, 05:33 PM
mona lisa well the others have problems but i noticed the on... Nov 19 2004, 05:48 PM
chica777708 uh.. it still doesnt work.. so u mean like this ..... Nov 19 2004, 06:00 PM
shortvi3tlaydee try this
CODEBOX: -> right click -> copy/paste
... Nov 19 2004, 09:50 PM
chica777708 it still doesnt work.... if u look at my xanga, it... Nov 20 2004, 12:31 PM
chica777708 QUOTE(chica777708 @ Nov 19 2004, 6:00 PM)song... Nov 20 2004, 12:36 PM
drummer78 thanx...but its still not working....damn html -__... Nov 20 2004, 02:59 PM
shortvi3tlaydee for the 2nd person try this
CODEBOX: -> right cl... Nov 20 2004, 03:02 PM
drummer78 thanx, but still nuthin -___- Nov 20 2004, 11:51 PM
erinl13 i need help with mine too....... i heard some wher... Nov 21 2004, 05:13 PM
tungtwista maybe your other scripts are messy . and ruins thi... Nov 24 2004, 11:18 PM![]() ![]() |