📄 list.html
字号:
<html>
<head>
<title>歌曲列表</title>
<META name="Author" content="戏蝶网">
<META name="Keywords" content="exobud Play list">
<META name="Description" content="mp3,asf,wav,mid,网上媒体播放">
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
BODY {
scrollbar-track-color:#ffffff;
SCROLLBAR-FACE-COLOR: #ffffff;
FONT-SIZE: 9pt;
SCROLLBAR-HIGHLIGHT-COLOR: #FFECC8;
SCROLLBAR-SHADOW-COLOR: #FFECC8;
SCROLLBAR-3DLIGHT-COLOR: #ffffff;
SCROLLBAR-ARROW-COLOR: #ffffff;
FONT-FAMILY: "Verdana";
SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
background-attachment: fixed;
background-image: url(images/bg.jpg);
background-repeat: no-repeat;
background-position: right bottom;
}
A {COLOR: #3D3525; TEXT-DECORATION: none }
A:visited {COLOR: #3D3525; TEXT-DECORATION: none}
A:active {COLOR: #ffffff; TEXT-DECORATION: none}
A:hover {COLOR: #3D3525;border-bottom:1px dotted #3D3525; background-color:#FFF8E8;}
td {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana"; color:#3D3525;letter-spacing : 1pt ;line-height :16pt}
.font{
FILTER: dropshadow(color=#F0F4B0, offx=2, offy=2, positive=2); FONT-FAMILY: "Verdana"; FONT-SIZE: 10pt; width:100%; COLOR: #3D3525}
</style>
<script language="JavaScript">
<!--
//File:cnsidepl.html
//Writen by hoja
//via:the opener document.
//Tmv Tgasa Tnew replace the images of the list menu title(only for the access version).
//elmABlock:how many songs in one page.
//cookie_path:save the list cookie used of cookie_path.
//cookie_domain:save the list cookie used of cookie_domain.
//you can also change the day to change the cookies expdate
var via = opener;
var write_via = "opener";
var iLoc= self.location.href;
function playSel(){via.wmpStop();via.startExobud();}
function refreshPl(){ self.location=iLoc;}
function chkSel(){via.chkAllSel();refreshPl();}
function chkDesel(){via.chkAllDesel();refreshPl();}
function dspList(n){
var elmABlock= 13;
var totElm = via.intMmCnt;
var totBlock= Math.floor((via.intMmCnt -1) / elmABlock)+1;
var cblock;
if(n==null){cblock=1;}
else{cblock=n;}
var seed;
var limit;
if(cblock < totBlock){seed= elmABlock * (cblock-1); limit = cblock*elmABlock -1}
else{seed=elmABlock * (cblock-1); limit= totElm-1;}
if(via.intMmCnt >0 ){
var list_num=0;
mmList.innerHTML='<p>';
pageList.innerHTML=' Page ';
for (var i=seed; i <= limit; i++)
{
var Tmv='<img src=img/mv.gif alt=MV width=14 height=14 border=0 align=absbottom>';
var TGasa='<img src=img/gasa3.gif alt=有歌词 width=14 height=14 border=0 align=absbottom>';
var Tnew='<img src=img/up.gif alt=新歌速递 width=12 height=9 border=0 align=absbottom>';
var TitleInfo=via.objMmInfo[i].mmTit.replace(Tmv," ").replace(TGasa," ").replace(Tnew," ");
list_num = i + 1;
if(via.objMmInfo[i].selMm=="t"){elm='<input type=checkbox style="cursor:hand;" onClick='+ write_via + '.chkItemSel('+ i +'); checked>' ;}
else{elm = '<input type=checkbox style="cursor:hand;" onClick='+ write_via + '.chkItemSel('+ i +');>' ;}
elm = elm + ' <font face="Webdings">4</font>' + list_num + '. '
elm = elm + '<a href=javascript:' + write_via + '.selPlPlay(' + i + ');'
elm = elm + ' onclick=\"this.blur();\" title=\"' + TitleInfo + '\">' + via.objMmInfo[i].mmTit + '</a><br>';
mmList.innerHTML=mmList.innerHTML+elm;
}
var pmin=cblock-3;
var pmax=cblock+3;
var ppre=cblock-1;
var pnext=cblock+1;
if(pmin<=3){pmin=1;pmax=7;}
if(pmax>totBlock){pmax=totBlock;}
if(ppre<=1){ppre=1;}
if(pnext>totBlock){pnext=totBlock;}
for(var j=pmin; j<=pmax; j++){
page='<a href=javascript:dspList('+j+') title=第'+j+'页>['+j+']</a> ';
pageList.innerHTML=pageList.innerHTML+page;
}
pageInfo.innerHTML=''
+'<br>'
+'<a href=javascript:dspList(1) title=首页>|<<</a> <a href=javascript:dspList('+ppre+') title=上一页><</a> 第<font color=#3399FF><b>'+cblock+ '</b></font>页 共'+ totBlock+'页 共'+totElm+'首 <a href=javascript:dspList('+pnext+') title=下一页>></a> <a href=javascript:dspList('+totBlock+') title=尾页>>>|</a>';
}
else { mmList.innerHTML='<div align=center>www.xidie.com</div>'; }
}
//Cookie Function
function setCookies(n){
var cookie_path = location.pathname.replace('cnsidepl.html','');
var cookie_domain = location.hostname;
var days = 7;//设定Cookies过期时间
var expdate = new Date();
expdate.setTime (expdate.getTime() + (86400 * 1000 * days));
switch (n){
case 1:
var songlist = "";
document.cookie = "mylist=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
case 2:
var songlist = "1";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
case 3:
var songlist = "2";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
case 4:
var songlist = "3";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
case 5:
var songlist = "4";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
case 6:
var songlist = "5";
document.cookie = "mytype=" + songlist + ";expires="+ expdate +"; path="+cookie_path+"; domain="+cookie_domain+"";
changeList();
break;
}
}
function changeList(){
via.location.reload();
setTimeout(self.location.reload,3000);
}
function returnfalse()
{return false; }
document.oncontextmenu = returnfalse
document.ondragstart = returnfalse
document.onselectstart = returnfalse
-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</HEAD>
<BODY onLoad="dspList();this.focus();" onDragStart="return false" onSelectStart="return false" text="silver" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 style="border: 0px solid black; margin: 0pt;">
<NOSCRIPT><IFRAME SRC=*.htm></IFRAME></NOSCRIPT><table border=0 cellpadding=0 cellspacing=0 width=100% height=475>
<tr>
<td class=font width="100%" height="25" align=center valign=middle>歌 曲 选 单</td>
</tr>
<tr><td width=100% height=*% background="white" valign=top align=left ><div id="mmList"></div></td></tr>
<tr>
<td height=20 valign=top>
<div id="pageList"></div>
<div align="center"><br>
<span id="pageInfo"></span> </div></td></tr></table>
<table border=0 cellpadding=0 cellspacing=0 width=100% height=50>
<tr>
<td height=25 width=200 align=center valign=middle> <a href="#" onClick="chkSel();" onFocus="this.blur()" title="全选">全选</a>
<a href="#" onClick="chkDesel()" onFocus="this.blur()" title="清除">清除</a>
<a href="#" onClick="playSel();" onFocus="this.blur()" title="播放">播放</a>
<a href="#" onClick = "window.close();" onFocus='this.blur()' title="关闭">关闭</a>
</td>
</tr>
<tr>
<td height=25 align=center valign=middle><a href="http://www.xidie.com/" target="_blank">·{
-戏 蝶 网- }·</a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -