drop down menu, why not work? |
drop down menu, why not work? |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 16 Joined: Jun 2004 Member No: 19,900 ![]() |
i try to use the drop down menu , posting mp3 on it . howeva , it seems dont work at all and just keep on loading.. .....why that happen?
|
|
|
![]() |
![]()
Post
#2
|
|
![]() PUhaha.. NJ azN ![]() ![]() ![]() ![]() Group: Member Posts: 299 Joined: Aug 2004 Member No: 41,986 ![]() |
yeah, i ahvent seen that script for a while, lemme give u the one i saved..good thing im saved it rite???
CODE <!-- begin code provided by createblog.com --> thats the darkplayer one.. it works i sued that for a while...
<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> </p> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#FFFFFF; WIDTH: 160; COLOR: #00000; font-face: verdana; height:174" name="playlist" size="1"> <option value="0">Initial D~Remember Me</option> <option value="1">Initial D~If You Wanna Stay</option> <option value="2">Initial D~Wingz Of Fire</option> <option value="3">Inital D~Space Boii</option> <option value="4">1Tym Rave Mix</option> <option value="5">Initial D~Take My Soul</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 // www.xanga.com/smartypants91780 // unlimited songs, just copy and paste the song line and change the number songs=new Array(); songs[0]="http://www.angelfire.com/ak5/x.o/Initial_D_D_Selection_-_04_-_Remember_Me.mp3" songs[1]="http://idmix.tripod.com/mp3s/ifyouwannastay.mp3" songs[2]="http://www.angelfire.com/ego2/wafflez/Inital_D_-_Wings_Of_Fire.mp3" songs[3]="http://www.angelfire.com/ego2/wafflez/Initial_D_-_Spaceboy.mp3" songs[4]="http://www.angelfire.com/anime6/mp3man/1TYM-_1tym_rave_mix.mp3" songs[5] ="http://www.angelfire.com/ego2/wafflez/Japanese_-_Initial_D_-_Take_My_Soul.mp3" 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 --> |
|
|
![]() ![]() |