music box doesnt work |
![]() ![]() |
music box doesnt work |
Apr 15 2006, 05:58 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Apr 2006 Member No: 393,944 |
i want to put the music box in the right side bar, but it doesnt work.
the red text is the script of music box. & i put this script in the Website Stats. please help,, thx so much!! QUOTE <!-- begin code provided by createblog.com -->
<!-- Script by Paul Chen --> <td id="customRight" style="display:none" vAlign="top" width="200"> <!-- <span class='searchlite'>module</span>:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr> <th class="left" vAlign="top" align="center"> <span class='searchlite'></span> Me </th></tr> <tr><td class="left" vAlign="top"> <span class='searchlite'></span> ♥ <b>penguin</b>, apple, Layout, puppy, blue-green </td></tr> </table> <br/> <!-- <span class='searchlite'>module</span>:end --> <!-- <span class='searchlite'>module</span>:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> <span class='searchlite'></span>listening to </th></tr> <tr><td class="left" vAlign="top"> <span class='searchlite'></span><center><img src=" http://img80.imageshack.us/img80/4215/602b...enter><br > <marquee behavior=left> hacken lee </marquee> <object id="musicplayer" 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"> <select name="playlist" size="1"> <option value="0">teen</option> <option value="1">happy ending</option> <option value="2">weird world</option> <option value="3">i still</option> <option value="4">volar</option> <option value="5">i need you tonight</option> </select><br> <input TYPE="BUTTON" NAME="musicplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="musicpause" VALUE="pause" OnClick="document.musicplayer.pause(); playstate=2;"> <input TYPE="BUTTON" NAME="musicstop" VALUE="stop" OnClick="document.musicplayer.stop(); playstate=2;"></p> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 1; songs=new Array(); songs[0]="http://www.geocities.jp/sing2mimi/teen03.mp3"; songs[1]="http://www.geocities.jp/singhnnyin/t3.mp3"; songs[2]="http://www.geocities.jp/singhnnyin/istill.mp3"; songs[3]="http://www.geocities.jp/singhnnyin/volar.mp3"; songs[4]="http://www.geocities.jp/singhnnyin/een1113.mp3"; songs[5]="http://www.geocities.jp/singhnnyin/teen03.mp3"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.musicplayer.FileName = songs[randsg]; document.musicplayer.scr = songs[randsg]; document.forms['form'].playlist.options[randsg].selected = true; } function play(list) { if (playstate == 2) { document.musicplayer.Play(); } else { var snum = list.options[list.selectedIndex].value document.musicplayer.FileName = songs[snum]; document.musicplayer.scr = songs[snum]; } playstate = 1; } //--> </script> </td></tr> </table> <br/> <!-- <span class='searchlite'>module</span>:end --> <!-- <span class='searchlite'>module</span>:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> <span class='searchlite'></span> My moto </th></tr> <tr><td class="left" vAlign="top"> <span class='searchlite'></span> <marquee behavior=alternate>HAPPY ENDING</marquee> <script></script> </td></tr> </table> <br/> <!-- <span class='searchlite'>module</span>:end --> <!-- <span class='searchlite'>module</span>:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> <span class='searchlite'></span>the layout</th></tr> <tr><td class="left" vAlign="top"> <span class='searchlite'></span> <a href=" http://www.xanga.com/BOMBSHELLBEAUTYX3" target="_blank">BOMBSHELLBEAUTYX3♥</a> made this lay glam </td></tr> </table> <br/> <!-- <span class='searchlite'>module</span>:end --> </td> <script> extra=false; j=document.getElementById('MoreoverModule1_lblModuleTitle') if(j){extra=true} index=0; var mytds = document.getElementsByTagName('td'); var i = 0; for(i=0;i< mytds.length-1;i++){ if(mytds[i].width=="200"){ index++; if(index==(extra ? 2 : 1)){break;}} } var sidebar = (extra ? mytds[i]: mytds[i].parentNode) var tsibpc = document.getElementById('customRight'); var rightSide = tsibpc.cloneNode(true); rightSide.style.display = "block"; sidebar.appendChild(rightSide); </script> |
|
|
|
![]() ![]() |