|  | 
| 复制代码<html>
<head>
<title>─◇顛 僧◆炫 音◇─</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE>
TD {FONT-SIZE: 9pt; COLOR: #ffffff; LINE-HEIGHT: 180%; FONT-FAMILY: dadum10}
DIV {FONT-SIZE: 9pt}
INPUT {WIDTH: 0px; HEIGHT: 0px}
.syes {WIDTH: 38px; HEIGHT: 17px; BACKGROUND: #000000; FONT-SIZE: 9pt; BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #ffffff; CURSOR: hand; COLOR: #cccccc; BORDER-TOP-COLOR: #ffffff; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #ffffff}
a:visited{color:#ffffff;text-decoration:none}
a:visited.white{color:#FFFFFF;text-decoration:none}
a:hover{color:#FF3300;text-decoration:underline}
a:hover.white{color:#FFFFFF;text-decoration:none}
a:active{color:#FF3300;text-decoration:none}
a:active.white{color:#FFFFFF;text-decoration:none}
</STYLE>
</head>
<body bgcolor="#C0C0C0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<SCRIPT language=Javascript> 
var url_str="顛僧--红色革命(国庆60周年)09-11(憨寒)=http://m4.6621.cn/m/200909/dz98/af3c3fdc9aaf2235.mp3,顛僧--迷幻夏日08-25(憨寒)=http://m5.6621.cn/m/200909/dz98/8920a71ea6e42d72.mp3,顛僧--爱在七夕08-25(憨寒)=http://m1.6621.cn/m/200909/dz98/ac89a612707d7d65.mp3";
var je="="; 
var url=","; 
var subject_arr = new Array();var url_arr = new Array();var sel_arr = new Array(); 
var inx=0, old_inx=0;var now_song=0;var max_count=0;var tm=null;var tm_cnt=0;var err_stat=false; 
function p_play(){tm_cnt++;if((SyesPlayer.filename==url_arr[inx])&&(!err_stat)) { 
SyesPlayer.play();clearTimeout(tm);tm=null;tm_cnt=0;} 
if(tm_cnt==5){clearTimeout(tm);tm=null;tm_cnt=0;}} 
function one_play(i){if(tm != null) clearTimeout(tm);old_inx=inx; 
inx=i;SyesPlayer.filename=url_arr[i];tm_cnt=0;err_stat=false;tm=setTimeout("p_play()",1000); 
stat.innerHTML="<marquee bgcolor=#cccccc scrollamount=2 width=170><font color=#000000>"+subject_arr[i]+" - MUSIC  BY  HH  collecting"+"</font></marquee>"; 
eval('m'+old_inx).style.color='';eval('m'+inx).style.color='D9E7FF';} 
function onlistover(src){src.style.color="green"}function onlistout(src){src.style.color=""} 
function syes_next(){if(now_song<(max_count-1)) now_song++;else now_song=0;one_play(sel_arr[now_song]);} 
function listen_check(){ 
var songlist = "" 
var chk = false 
var i, url; 
for(i=0; i<document.list_form.elements.length; i++) { 
var e=document.list_form.elements[i]; 
if(e.name == 'chk') { 
if(e.checked == true) { 
chk = true; 
songlist = songlist + e.value + ",";}}} 
if(chk == true ){ 
sel_arr=songlist.split(','); 
now_song=0; 
max_count=sel_arr.length-1; 
one_play(sel_arr[now_song]); 
}else{ 
max_count=0; 
alert("请选定歌曲");}} 
function all_check(){ 
var i; 
for(i=0; i<document.list_form.elements.length; i++) { 
var e=document.list_form.elements[i]; 
if(e.name == 'chk') { 
if(e.checked != true)e.checked = true;}}} 
function one_check(k){ 
var i; 
for(i=0; i<document.list_form.elements.length; i++) { 
var e=document.list_form.elements[i]; 
if((e.name == 'chk')&&(e.value == k)) { 
e.checked = true;break;}}} 
function un_check(){var i; 
for(i=0; i<document.list_form.elements.length; i++) { 
var e=document.list_form.elements[i]; 
if(e.name == 'chk') { 
if(e.checked == true) e.checked = false}}} 
function set_list(){ 
var i, cnt, str; 
cnt=url_str.split(url).length; 
str="<form name=list_form><table>"; 
for(i=0;i<cnt;i++){ 
subject_arr[i]=(i+1)+'. '+url_str.split(url)[i].split(je)[0]; 
url_arr[i]=url_str.split(url)[i].split(je)[1]; 
str+=" <tr id=m"+i+">"+"<td><input type=checkbox onfocus='this.blur()' name='chk' value="+i+"></td><td><span style=cursor:hand onmouseover='onlistover(this)' onmouseout='onlistout(this)' onclick='one_play("+i+")'>"; 
str+=subject_arr[i]+'</span>';}+"</td></tr></table></form>";document.all["list_tbl"].innerHTML=str;} 
var trackPositionSts;var positionSet = false; 
var varlength=500;var varstartpoint=54; 
function SyesPlayerSetPosition() { 
if(positionSet == true) {antiauto=30; 
positionSet=false;dragapproved = false; 
per = (document.all["position"].style.pixelLeft - varstartpoint)/varlength; 
psit = Math.floor(document.all.SyesPlayer.Duration * per); 
setPosition(psit)}} 
function TrackPosition() { 
positionSet = true;iex = event.clientX;iey = event.clientY; 
tempx = document.all.position.style.pixelLeft; 
tempy = document.all.position.style.pixelTop; 
dragapproved=true; 
document.onmousemove=positionDragControl; 
if(document.all) document.onmouseup = SyesPlayerSetPosition} 
function positionDragControl(){ 
if(dragapproved == true){ 
var mov = tempx + event.clientX - iex; 
if(mov >= varstartpoint && mov <= varstartpoint+varlength) 
{document.all["position"].style.pixelLeft = tempx + event.clientX - iex}return false}} 
function setPosition(psit){document.all.SyesPlayer.CurrentPosition = psit} 
function setTrackIcon() { 
if(positionSet == false){ 
var nowposition = Math.floor(document.all["SyesPlayer"].CurrentPosition); 
var totalposition = Math.floor(document.all.SyesPlayer.Duration); 
if (nowposition > 0){ 
document.all["position"].style.pixelLeft = varstartpoint + (varlength * (nowposition / totalposition));}}} 
function muinit(){trackPositionSts = setInterval('setTrackIcon()',400)} 
</SCRIPT>
<span style="position:relative">
<div id="Layer2" style="position:absolute;left: 200px; top: -0px; width:160px; height:35px; z-index:2;">
<table width="500" border="0" cellspacing="0" cellpadding="0">
<TR><TD>
<DIV id=list_tbl  style="width: 500; height: 95; overflow-y: auto; overflow: auto; font-size: 8pt; color: #333333; font-family: 楷体; letter-spacing: 2pt; line-height: 165%; text-align: left PADDING-TOP 0px; scrollbar-face-color: #8c8c00; scrollbar-highlight-color: #C09D9C; scrollbar-shadow-color: #C09D9C; scrollbar-3dlight-color: #C09D9C; scrollbar-arrow-color: #C09D9C; scrollbar-track-color: #CCCCCC; scrollbar-darkshadow-color: #C09D9C; padding-left: 10px; padding-right: 10px; padding-bottom: 0px"></DIV>
</TD></TR>
<TR><TD height=10></TD></TR>
<TR><TD>
<DIV style="POSITION: relative"> 
          <DIV id=stat style="LEFT: 40px; POSITION: absolute; TOP: 3px"></DIV>
        </DIV>
<TABLE style="BORDER-COLLAPSE: collapse" height=25 cellSpacing=0 cellPadding=0 width=300 bordercolor="#C09D9C" border=0>
<TBODY>
<TR><TD>
<OBJECT id=SyesPlayer style="MARGIN-TOP: 0px; FILTER: xray()" height=24 width=300 classid=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95>
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="volume" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="0">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="1">
</OBJECT></TD></TR></TBODY></TABLE><BR>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD>
   
<INPUT class=syes onfocus=this.blur() onclick=document.SyesPlayer.stop() type=button value=" 停止 "> 
<INPUT class=syes onfocus=this.blur() onclick=document.SyesPlayer.pause() type=button value=暂停> 
<INPUT class=syes onfocus=this.blur() onclick=document.SyesPlayer.play() type=button value=" 播放"> 
<INPUT class=syes onfocus=this.blur() onclick=syes_next() type=button value="下一首"> 
</TD></TR></table></TD></TR></table>
</div>
</span>
<SPAN onmousedown=TrackPosition() id=position style="Z-INDEX: 2; LEFT: -135px; CURSOR: hand; COLOR: white; POSITION: absolute; TOP: -31px" onfucus="this.blur()" ;></SPAN>
<SCRIPT>set_list();all_check();listen_check();</SCRIPT>
<SCRIPT language=javascript event=EndOfStream for=SyesPlayer>syes_next();</SCRIPT>
<SCRIPT language=javascript event=Error for=SyesPlayer> 
var subject=subject_arr[inx];SyesPlayer.stop(); 
if(max_count==1) {err_stat=true;}else {syes_next()} 
</SCRIPT>
</body>
</html>
 | 
 |