Log In · Register

 
 
Closed TopicStart new topic
Darkplayer Drop Down Box Help
chrisrix16
post Aug 15 2004, 05:18 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



hey..

on my xanga... i have a darkplayer with 4 songs... theres a drop down box... and i edited the code to show the names... but the songs just play randomly when the xanga comes up... and when you select a different song... it wont change _dry.gif ... can anyone see whats wrong in the 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="44" standby="Loading Microsoft Windows Media Player components..." width="195" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><PARAM NAME="transparentatStart" VALUE="true">
</object>
<form name="form">

<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 200px; COLOR: #00CCFF; font-face: arial" name="Yellowcard Songs" size="1">
<option value="0">Only One</option>
<option value="1">Way Away</option>
<option value="2">Ocean Ovenue</option>
<option value="3">Breathing</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_6_04.asf";
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_1_1_04.asf";
songs[2]="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[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_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>

<!-- end code provided by createblog.com -->


Heres my xanga if u wanna see how the problem works:

XavierFactor11's Xanga Page

Any help is appreciated
 
matthufham
post Aug 15 2004, 05:26 PM
Post #2


Senior Member
****

Group: Member
Posts: 164
Joined: Jul 2004
Member No: 28,139



edit: nevermind, here's mine

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" " width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
</object>
<form name="form">

<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 300px; COLOR: #00CCFF; font-face: arial" name="playlist" size="1">

<option value="0">beastie boys - girls</option>
<option value="1">3 days grace - i hate everything about you</option>
<option value="2">beastie boys - paul revere</option>
<option value="3">linkin park - somewhere i belong</option>
<option value="4">trapt - headstrong</option>
<option value="5">50 cent - in da club</option>
<option value="6">50 cent - pimp</option>
<option value="7">blink 182 - feeling this</option>
<option value="8">evanescence - going under</option>
<option value="9">evanescence - my immortal</option>
<option value="10">good charlotte - lifestyles of the rich and the famous</option>
<option value="11">good charlotte - girls and boys</option>
<option value="12">hoobastank - crawling in the dark</option>
<option value="13">hoobastank - the reason</option>
<option value="14">jay z - 99 problems</option>
<option value="15">jay z - dirt off your shoulders</option>
<option value="16">j-kwon - tipsy</option>
<option value="17">kid rock - american bad ass</option>
<option value="18">lil jon and... - get low</option>
<option value="19">linkin park - don't stay</option>
<option value="20">linkin park - hit the floor</option>
<option value="21">linkin park - in the end</option>
<option value="22">lostprophets - last train home</option>
<option value="23">linkin park - numb</option>
<option value="24">ludacris - stand up</option>
<option value="25">the offspring - hit that</option>
<option value="26">william hung - she bangs</option>
<option value="27">chingy - right thurr</option>
<option value="28">young bloodz - damn</option>
<option value="29">outkast - hey ya</option>
<option value="30">sugarcult - bouncing off the walls</option>
<option value="31">three days grace - just like you</option>
<option value="32">modest mouse - float on</option>
<option value="33">blink 182 - i miss you</option>
<option value="34">new found glory - all down hill from here</option>
<option value="35">ac/dc - back in black</option>
<option value="36">ac/dc - shook me all night long</option>
<option value="37">ac/dc - hells bells</option>
<option value="38">switchfoot - meant to live</option>
<option value="39">the offspring - can't get my head (around you)</option>
<option value="40">ac/dc - rock and roll aint noise pollution</option>
<option value="41">ac/dc - for those about to rock</option>
<option value="42">ac/dc - dirty deeds done dirt cheap</option>
<option value="43">ac/dc - tnt</option>
<option value="44">ac/dc - thunderstruck</option>
<option value="45">ataris - boys of summer</option>
<option value="46">story of the year - anthem of our dying day</option>
<option value="47">hoobastank - out of control</option>
<option value="48">hoobastank - running away</option>
<option value="49">hoobastank - same direction</option>
<option value="50">lost prophets - to hell we ride</option>
<option value="51">yellowcard - ocean avenue</option>
<option value="52">3 doors down - here without you</option>
<option value="53">linkin park - a place for my head</option>
<option value="54">kid rock - bawitdaba (ball with the ball)</option>
<option value="55">jimmy eat world - sweetness</option>
<option value="56">jimmy eat world - the middle</option>
<option value="57">fountains of wayne - stacy's mom</option>
<option value="58">eminem - cleaning out my closet</option>
<option value="59">eminem - superman</option>
<option value="60">disturbed - down with the sickness</option>
<option value="61">dashboard confessional - screaming infidelities</option>
<option value="62">dashboard confessional - vindicated</option>
<option value="63">coldplay - the scientist</option>
<option value="64">chingy - holiday inn</option>
<option value="65">bowling for soup - girls all the bad guys want</option>
<option value="66">blink 182 - adams song</option>
<option value="67">blink 182 - all the small things</option>
<option value="68">blink 182 - anthem part 2</option>
<option value="69">blink 182 - first date</option>
<option value="70">blink 182 - give me one good reason</option>
<option value="71">blink 182 - please take me home</option>
<option value="72">blink 182 - reckless abandon</option>
<option value="73">blink 182 - rock show</option>
<option value="74">blink 182 - roller coaster</option>
<option value="75">blink 182 - shut up</option>
<option value="76">blink 182 - stay together for the kids</option>
<option value="77">blink 182 - what's my age again</option>
<option value="78">3 doors down - here without you</option>
<option value="79">ludacris - splash waterfalls</option>
<option value="80">ludacris - what's your fantasy</option>
<option value="81">nelly - hot in here</option>
<option value="82">nelly - country grammer</option>
<option value="83">outkast - roses</option>
<option value="84">P.O.D. - youth of the nation</option>
<option value="85">queen - bohemian rhapsody</option>
<option value="86">simple plan - addicted</option>
<option value="87">story of the year - until the day i die</option>
<option value="88">simple plan - i'd do anything</option>
<option value="89">the hives - hate to say i told you so</option>
<option value="90">T.I. - 24's</option>
<option value="91">T.I. - rubberband man</option>
<option value="92">yeah yeah yeahs - maps</option>
<option value="93">too short - shake that monkey</option>
<option value="94">usher - YEAH</option>
<option value="95">Seether/Amy Lee - Broken</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/1/270/3181_1_6_04.asf";
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/24938/28340_1_3_04.asf";
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/270/3181_1_9_04.asf";
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_3_04.asf";
songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/23963/26847_1_1_04.asf";
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/9052/27297_1_5_04.asf";
songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/9052/27297_1_11_04.asf";
songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/237/28505_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/24393/27356_1_1_04.asf";
songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/24393/27356_1_4_04.asf";
songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_3_04.asf";
songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_6_04.asf";
songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/21164/25271_1_1_04.asf";
songs[13]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/21164/28621_1_8_04.asf";
songs[14]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/308/28642_1_9_04.asf";
songs[15]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/308/28642_1_6_04.asf";
songs[16]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/25329/29100_1_3_04.asf";
songs[17]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/895/15431_1_2_04.asf";
songs[18]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/7706/28104_1_19_04.asf";
songs[19]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_2_04.asf";
songs[20]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_5_04.asf";
songs[21]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16216/17128_1_8_04.asf";
songs[22]="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[23]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_13_04.asf";
songs[24]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/2533/28329_1_3_04.asf";
songs[25]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_4_04.asf";
songs[26]="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";
songs[27]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24618/28229_1_4_04.asf";
songs[28]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/7672/28072_1_2_04.asf";
songs[29]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2362/28387_2_9_04.asf";
songs[30]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/21632/23790_1_4_04.asf";
songs[31]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/24938/28340_1_2_04.asf";
songs[32]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/2371/29093_1_3_04.asf";
songs[33]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/237/28505_1_3_04.asf";
songs[34]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16453/29236_1_2_04.asf";
songs[35]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/192/388_1_6_04.asf";
songs[36]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/192/393_1_2_04.asf";
songs[37]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/192/393_1_6_04.asf";
songs[38]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/4581/28341_1_1_04.asf";
songs[39]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_6_04.asf";
songs[40]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/192/388_1_10_04.asf";
songs[41]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/192/393_1_9_04.asf";
songs[42]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/192/389_1_1_04.asf";
songs[43]="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[44]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/192/391_1_1_04.asf";
songs[45]="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[46]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/24767/28066_1_3_04.asf";
songs[47]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/21164/28621_1_2_04.asf";
songs[48]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/21164/25271_1_3_04.asf";
songs[49]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/21164/28621_1_1_04.asf";
songs[50]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/22347/28838_1_2_04.asf";
songs[51]="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[52]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/9628/26909_1_6_04.asf";
songs[53]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16216/17128_1_9_04.asf";
songs[54]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/895/1124_1_1_04.asf";
songs[55]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/4814/22811_1_5_04.asf";
songs[56]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/4814/22811_1_3_04.asf";
songs[57]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/1224/28112_1_3_04.asf";
songs[58]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/3397/27162_1_4_04.asf";
songs[59]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/3397/27162_1_13_04.asf";
songs[60]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/10690/12406_1_4_04.asf";
songs[61]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/22181/27256_1_12_04.asf";
songs[62]="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[63]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/4092/26673_1_4_04.asf";
songs[64]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24618/28229_1_12_04.asf";
songs[65]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/11456/26676_1_3_04.asf";
songs[66]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/237/18340_1_12_04.asf";
songs[67]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/237/18340_1_16_04.asf";
songs[68]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_1_04.asf";
songs[69]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_3_04.asf";
songs[70]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_11_04.asf";
songs[71]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_13_04.asf";
songs[72]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_9_04.asf";
songs[73]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_6_04.asf";
songs[74]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_8_04.asf";
songs[75]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_12_04.asf";
songs[76]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_7_04.asf";
songs[77]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/237/4383_1_5_04.asf";
songs[78]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/9628/26909_1_6_04.asf";
songs[79]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/2533/28329_1_5_04.asf";
songs[80]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/2533/18027_1_4_04.asf";
songs[81]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/9626/26473_1_3_04.asf";
songs[82]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/9626/19259_1_4_04.asf";
songs[83]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2362/28387_2_10_04.asf";
songs[84]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/4151/23915_1_4_04.asf";
songs[85]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/95/7410_1_1_04.asf";
songs[86]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/21722/26182_1_7_04.asf";
songs[87]="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[88]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/21722/26182_1_1_04.asf";
songs[89]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/22506/25099_1_6_04.asf";
songs[90]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/19755/28051_1_7_04.asf";
songs[91]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/19755/28051_1_8_04.asf";
songs[92]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/23369/27787_1_9_04.asf";
songs[93]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/17666/28672_1_5_04.asf";
songs[94]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/292/29068_1_2_04.asf";
songs[95]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/23109/29088_1_5_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 -->
 
chrisrix16
post Aug 15 2004, 06:41 PM
Post #3


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



so what do i take out to stop the random play and allow the dropbox to work?
 
JlIaTMK
post Aug 15 2004, 06:55 PM
Post #4


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



if im correct then u have to take out this part and change it with something else

CODE
<!-- begin code provided by createblog.com -->

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;
}

<!-- end code provided by createblog.com -->
 
chrisrix16
post Aug 15 2004, 07:43 PM
Post #5


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



Ok now I got the drop down to work thanks matt for the code... but now the problem is that the play stop and pause buttons are blended in with the background... and you cant see them...

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="44" standby="Loading Microsoft Windows Media Player components..." width="195" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><PARAM NAME="transparentatStart" VALUE="true">
</object>
<form name="form">

<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 200px; COLOR: #00CCFF; font-face: arial" name="Yellowcard Songs" size="1">
<option value="0">Only One</option>
<option value="1">Way Away</option>
<option value="2">Ocean Ovenue</option>
<option value="3">Breathing</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_6_04.asf";
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_1_1_04.asf";
songs[2]="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[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24962/28398_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>

<!-- end code provided by createblog.com -->


http://www.xanga.com/home.aspx?user=XavierFactor11

Theres the site to see what i mean...

Thanks for the help with the drop down... any suggestions for that problem?
 
Just AJ
post Aug 16 2004, 07:23 AM
Post #6


Is it maturity, or admitting defeat...?
****

Group: Member
Posts: 152
Joined: Aug 2004
Member No: 36,659



For the blended buttons: You're lucky, on my Xanga(in my sig), my buttons are still big and gray. Go to near the top of the Darkplayer code, where it says
CODE
<!-- begin code provided by createblog.com -->
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 200px; [B]COLOR: #00CCFF[/B]; font-face: arial" name="Yellowcard Songs" size="1">
<!-- end code provided by createblog.com -->

You should change the bolded hex with something else, it should work.
 
espionage
post Aug 16 2004, 12:55 PM
Post #7


Stalking Createblog...
****

Group: Member
Posts: 155
Joined: Jan 2004
Member No: 1,300



CODE
<!-- begin code provided by createblog.com -->
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

<!-- end code provided by createblog.com -->


By the way, did you change that to 0? Make sure you do that.
 
chrisrix16
post Aug 16 2004, 05:59 PM
Post #8


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



Ive been messing with the code part that AJ was talking bout, but it doesnt seem to work... any other suggestions?
 
chrisrix16
post Aug 16 2004, 06:04 PM
Post #9


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



Can I see the code to yours AJ to compare by the way? I'd appreciate it.
 
matthufham
post Aug 16 2004, 06:13 PM
Post #10


Senior Member
****

Group: Member
Posts: 164
Joined: Jul 2004
Member No: 28,139



@ just-aj, lol you can't bold inside coded script. hey if you want my updated script, i'm up to 109 songs as of last night.
 
chrisrix16
post Aug 16 2004, 06:52 PM
Post #11


Newbie
*

Group: Member
Posts: 6
Joined: Aug 2004
Member No: 40,654



The stuff on my xanga is from ur code matt... because when i tried to change parts that were different in mine, it wouldnt work. Would you know how to make the buttons show up on a black background matt?
 

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