Log In · Register

 
 
Closed TopicStart new topic
music playlist background soun
swtaznpride
post Sep 18 2004, 11:40 AM
Post #1


Senior Member
*****

Group: Member
Posts: 491
Joined: May 2004
Member No: 18,689



does anyone knwo the code of the music playlist that is a drop down menu without the play stop pause and like the one wen u click on the song it like plays the song u pick.
 
persongp
post Sep 18 2004, 04:04 PM
Post #2


Senior Member
***

Group: Member
Posts: 72
Joined: Jun 2004
Member No: 20,383



</div><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">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#777777; WIDTH: 250px; COLOR: #ffffff; font-face: verdana" name="playlist" size="1">
<option value="0">1. Dashboard Confessionals-Screaming Infedilities</option>
<option value="1">2. Dashboard Confessionals-Hands Down</option>
<option value="2">3. Thrice-Silhoette </option>
<option value="3">4.Yellow Card-Breathing </option>
<option value="4">5.Yeloow Card-Empty Apartment :’( </option>
<option value="5">6.Yellow Card-Only One </option>
</option>
<option value="44">45. trapt-echo </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...256_1_12_04.asf ";
songs[1]=" http://a420.v8383d.c8383.g.vm.akamaistream...8045_1_1_04.asf ";
songs[2]=" http://a420.v8383d.c8383.g.vm.akamaistream...8048_1_4_04.asf ";
songs[3]=" http://www.boomspeed.com/social_freak/YELL...D_breathing.wma ";
songs[4]=" http://a420.v8383d.c8383.g.vm.akamaistream...8398_1_4_04.asf ";
songs[5]=" http://a420.v8383d.c8383.g.vm.akamaistream...8398_1_6_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>
 
Deminies
post Sep 18 2004, 04:36 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2004
Member No: 45,456



Uh, I copy the enitre script, but it dosent work. I change the links to song and everything. But no drop down menu. WTF! Also iam using the yellow lamborghini skin. Wonder is the skin got something to do with it.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: