help?pls?can u? |
![]() ![]() |
help?pls?can u? |
Jul 11 2004, 08:48 PM
Post
#1
|
|
![]() Rags 2 Riches ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2004 Member No: 29,490 |
can sum1 help me change da control button on dis music playist thingy...wat i meant by control button is like da play,pause and stop...i wanna change da color,but i dunno how...here's da 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="playlist" size="1"> <option value="0">Song Name Here</option> <option value="1">Song Name Here</option> <option value="2">Song Name Here</option> <option value="3">Song Name Here</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]="Url Here"; songs[1]="Url Here"; songs[2]="Url Here"; songs[3]="Url Here"; 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 --> can you help me pls..?can u help me change da control button colors...pls? |
|
|
|
Jul 11 2004, 08:53 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 97 Joined: Jul 2004 Member No: 28,658 |
well first you have to put the song name in where it says "song name" and you have to put the song URL in where it says song URL
|
|
|
|
Jul 11 2004, 08:56 PM
Post
#3
|
|
![]() Rags 2 Riches ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2004 Member No: 29,490 |
i kno that....but wat im tryin 2 ask is...can u help me by changing da control button colors...like da play button...pause button and stop button?dat's wat im tryin 2 ask...i know im supposed 2 put music...but im jus tryin 2 change da colors 4 now...
|
|
|
|
Jul 11 2004, 09:10 PM
Post
#4
|
|
![]() my pet rock doesn't like you ![]() ![]() ![]() ![]() Group: Member Posts: 258 Joined: Feb 2004 Member No: 4,866 |
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 200px; COLOR: #00CCFF; font-face: arial" name="playlist" size="1"> <option value="0">Song Name Here</option> <option value="1">Song Name Here</option> <option value="2">Song Name Here</option> <option value="3">Song Name Here</option> Replace those hexs with the ones you want. |
|
|
|
Jul 11 2004, 09:14 PM
Post
#5
|
|
![]() Rags 2 Riches ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2004 Member No: 29,490 |
no i dont mean the song title...i meant like change da colors of da buttons such as "PLAY""PAUSE""STOP"...those...
|
|
|
|
![]() ![]() |