playlist help needed!!, my droplist isnt working! |
![]() ![]() |
playlist help needed!!, my droplist isnt working! |
Nov 28 2004, 07:47 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Nov 2004 Member No: 59,970 |
when i enter my xanga page, and click on the droplist, only half of my playlist shows up.. and i have to click again, for the rest to show... is there something wrong with my code?
check my xanga: my xanga and here is the 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" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><PARAM NAME="transparentatStart" VALUE="true"><param NAME="Loop" VALUE="True"> </object> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 7.5pt; BACKGROUND:#FFFFFF; WIDTH: 200px; COLOR: #CC6699; font-face: "century gothic" name="playlist" size="1"> <option value="0">// - - - - -♥ ViVi's MUSiCBoX ♥- - - - - //</option> <option value="1">DontWannaTry // Frankie J</option> <option value="2">TheWorldIsU // Jealousy Curve</option> <option value="3">MyBoo // Usher ft.AliciaKeys</option> <option value="4">PassYouBy // Boys2Men</option> <option value="5">SameCry // Jin ft.LT</option> <option value="6">CurtainsFall // Blue</option> <option value="7">BrandNew // Shinhwa</option> <option value="8">SaveUrKisses4Me // NatashaThomas</option> <option value="9">Everything // B2K</option> <option value="10">直到成為我的那一天 // NaYoonKwon </option> <option value="11">HeyBaby // Machi</option> <option value="12">戀愛達人 // 羅志祥ft.小S</option> <option value="13">零 // 柯友倫</option> <option value="14">燕尾蝶 // 梁靜茹</option> <option value="15">肯定就是你 // 許慧欣</option> <option value="16">再見過去 // 黃湘怡</option> <option value="17">情不自禁 // 胡彥斌</option> <option value="18">招牌動作 // 蔡依琳</option> </select><br> <style type="text/css"> <!-- INPUT { background-color: ffffff; border-color: cc6699; color: cc6699; font-family: century gothic; font-size: 7.5pt; text-align: center; } --> </style> <input TYPE="BUTTON" NAME="darkplay" VALUE=".pLaY." STYLE="border:dashed 1 #cc6699" onClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE=".PaUsE." STYLE="border:dashed 1 #cc6699" onClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE=".sToP." STYLE="border:dashed 1 #cc6699" 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(); // Add song URLs here songs[0]="http://www.angelfire.com/oh5/veeveeanne/YourMove.mp3"; songs[1]="http://www.angelfire.com/oh5/vivian/DontWannaTry.mp3"; songs[2]="http://www.angelfire.com/oh5/vivian/TheWorldIsU.mp3"; songs[3]="http://www.angelfire.com/oh5/vivianchen/MyBoo.mp3"; songs[4]="http://www.angelfire.com/oh5/vivianchen/PassYouBy.mp3"; songs[5]="http://www.angelfire.com/oh5/djanju/SameCry.mp3"; songs[6]="http://www.angelfire.com/oh5/veeveeanne/CurtainsFall.mp3"; songs[7]="http://www.angelfire.com/oh5/veeveeanne/BrandNew.mp3"; songs[8]="http://www.angelfire.com/oh5/vivian/SaveKisses.mp3"; songs[9]="http://www.angelfire.com/oh5/vivi/Everything.mp3"; songs[10]="http://www.angelfire.com/oh5/veeveeanne/UntilMe.mp3"; songs[11]="http://www.angelfire.com/oh5/vivichen/HeyBaby.mp3"; songs[12]="http://www.angelfire.com/oh5/vivianchen/LoveExpert.mp3"; songs[13]="http://www.angelfire.com/oh5/vivi/zero.mp3"; songs[14]="http://www.angelfire.com/oh5/vivi/jasmineLeung.mp3"; songs[15]="http://www.angelfire.com/oh5/vivichen/SureItsU.mp3"; songs[16]="http://www.angelfire.com/oh5/vivichen/Goodbye.mp3"; songs[17]="http://www.angelfire.com/oh5/vivichen/CantHelp.mp3"; songs[18]="http://www.angelfire.com/oh5/veeveeanne/YourMove.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 --> |
|
|
|
Nov 28 2004, 10:02 AM
Post
#2
|
|
![]() All i want is a HERO to be there for me...is it too much to ask? ![]() ![]() ![]() ![]() Group: Member Posts: 287 Joined: Nov 2004 Member No: 66,293 |
QUOTE(veeveeanne @ Nov 28 2004, 7:47 AM) when i enter my xanga page, and click on the droplist, only half of my playlist shows up.. and i have to click again, for the rest to show... is there something wrong with my code? check my xanga: my xanga and here is the 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" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><PARAM NAME="transparentatStart" VALUE="true"><param NAME="Loop" VALUE="True"> </object> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 7.5pt; BACKGROUND:#FFFFFF; WIDTH: 200px; COLOR: #CC6699; font-face: "century gothic" name="playlist" size="1"> <option value="0">// - - - - -♥ ViVi's MUSiCBoX ♥- - - - - //</option> <option value="1">DontWannaTry // Frankie J</option> <option value="2">TheWorldIsU // Jealousy Curve</option> <option value="3">MyBoo // Usher ft.AliciaKeys</option> <option value="4">PassYouBy // Boys2Men</option> <option value="5">SameCry // Jin ft.LT</option> <option value="6">CurtainsFall // Blue</option> <option value="7">BrandNew // Shinhwa</option> <option value="8">SaveUrKisses4Me // NatashaThomas</option> <option value="9">Everything // B2K</option> <option value="10">直到成為我的那一天 // NaYoonKwon </option> <option value="11">HeyBaby // Machi</option> <option value="12">戀愛達人 // 羅志祥ft.小S</option> <option value="13">零 // 柯友倫</option> <option value="14">燕尾蝶 // 梁靜茹</option> <option value="15">肯定就是你 // 許慧欣</option> <option value="16">再見過去 // 黃湘怡</option> <option value="17">情不自禁 // 胡彥斌</option> <option value="18">招牌動作 // 蔡依琳</option> </select><br> <style type="text/css"> <!-- INPUT { background-color: ffffff; border-color: cc6699; color: cc6699; font-family: century gothic; font-size: 7.5pt; text-align: center; } --> </style> <input TYPE="BUTTON" NAME="darkplay" VALUE=".pLaY." STYLE="border:dashed 1 #cc6699" onClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE=".PaUsE." STYLE="border:dashed 1 #cc6699" onClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE=".sToP." STYLE="border:dashed 1 #cc6699" 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(); // Add song URLs here songs[0]="http://www.angelfire.com/oh5/veeveeanne/YourMove.mp3"; songs[1]="http://www.angelfire.com/oh5/vivian/DontWannaTry.mp3"; songs[2]="http://www.angelfire.com/oh5/vivian/TheWorldIsU.mp3"; songs[3]="http://www.angelfire.com/oh5/vivianchen/MyBoo.mp3"; songs[4]="http://www.angelfire.com/oh5/vivianchen/PassYouBy.mp3"; songs[5]="http://www.angelfire.com/oh5/djanju/SameCry.mp3"; songs[6]="http://www.angelfire.com/oh5/veeveeanne/CurtainsFall.mp3"; songs[7]="http://www.angelfire.com/oh5/veeveeanne/BrandNew.mp3"; songs[8]="http://www.angelfire.com/oh5/vivian/SaveKisses.mp3"; songs[9]="http://www.angelfire.com/oh5/vivi/Everything.mp3"; songs[10]="http://www.angelfire.com/oh5/veeveeanne/UntilMe.mp3"; songs[11]="http://www.angelfire.com/oh5/vivichen/HeyBaby.mp3"; songs[12]="http://www.angelfire.com/oh5/vivianchen/LoveExpert.mp3"; songs[13]="http://www.angelfire.com/oh5/vivi/zero.mp3"; songs[14]="http://www.angelfire.com/oh5/vivi/jasmineLeung.mp3"; songs[15]="http://www.angelfire.com/oh5/vivichen/SureItsU.mp3"; songs[16]="http://www.angelfire.com/oh5/vivichen/Goodbye.mp3"; songs[17]="http://www.angelfire.com/oh5/vivichen/CantHelp.mp3"; songs[18]="http://www.angelfire.com/oh5/veeveeanne/YourMove.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 --> |
|
|
|
| *mona lisa* |
Nov 28 2004, 10:24 AM
Post
#3
|
|
Guest |
|
|
|
|
Nov 28 2004, 02:29 PM
Post
#4
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Oct 2004 Member No: 59,400 |
dear whoever you are...
this is a part of your 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" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><PARAM NAME="transparentatStart" VALUE="true"><param NAME="Loop" VALUE="True"> </object> <form name="form"> this is a part of my 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"> <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"> |
|
|
|
Nov 29 2004, 05:31 AM
Post
#5
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Nov 2004 Member No: 59,970 |
i added the missing part of the code
QUOTE this is a part of my 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"> <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"> but the list still shows up missing the top half... >_< |
|
|
|
Nov 29 2004, 07:12 PM
Post
#6
|
|
![]() Look its... ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,817 Joined: Feb 2004 Member No: 4,767 |
try adding the links in again and make sure to not delete and parts of it
|
|
|
|
![]() ![]() |