找回密码
 欢迎注册中国音画网

QQ登录

只需一步,快速开始

中国音画网
标识下载

在线书法生成器
(全矢量图)

中国音画网
网页加密器

中国音画网
全屏帖代码

独立上传
空间申请

FTP软件
下载

查看: 1051|回复: 3

3e3

[复制链接]
发表于 2008-6-30 21:16 | 显示全部楼层 |阅读模式
<TABLE style="POSITION: relative; WIDTH: 455px; BORDER-RIGHT-STYLE: dashed; BORDER-LEFT-STYLE: dashed; BORDER-BOTTOM-STYLE: dashed; TOP-STYLE: dashed" border=4 cellSpacing=0 borderColor=#006600 cellPadding=0 align=center>
<TBODY>
<TR>
<TD>
<TABLE id=table13 border=5 cellSpacing=3 borderColor=#006600 cellPadding=1 width=450 background=http://b.thec.cn/qq363075161/zuoye/01_过滤后副本.jpg bgColor=#ffffff align=center height=673>
<TBODY>
<TR>
<TD>
<OBJECT id=aboutplayer height=0 width=0 classid=clsid:6bf52a52-394a-11d3-b153-00c04f79faa6><PARAM NAME="URL" VALUE="http://www.fongfeifei.com.cn/linda/song/完美女人.Wma"><PARAM NAME="rate" VALUE="1"><PARAM NAME="balance" VALUE="0"><PARAM NAME="currentPosition" VALUE="0"><PARAM NAME="defaultFrame" VALUE=""><PARAM NAME="playCount" VALUE="100"><PARAM NAME="autoStart" VALUE="-1"><PARAM NAME="currentMarker" VALUE="0"><PARAM NAME="invokeURLs" VALUE="-1"><PARAM NAME="baseURL" VALUE=""><PARAM NAME="volume" VALUE="100"><PARAM NAME="mute" VALUE="0"><PARAM NAME="uiMode" VALUE="full"><PARAM NAME="stretchToFit" VALUE="0"><PARAM NAME="windowlessVideo" VALUE="0"><PARAM NAME="enabled" VALUE="-1"><PARAM NAME="enableContextMenu" VALUE="0"><PARAM NAME="fullScreen" VALUE="0"><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIFilename" VALUE=""><PARAM NAME="captioningID" VALUE=""><PARAM NAME="enableErrorDialogs" VALUE="0"><PARAM NAME="_cx" VALUE="26"><PARAM NAME="_cy" VALUE="26"></OBJECT><SPAN id=lrcdata><!--[ti:完美女人 ]
[ar:张嘉洵]
[al:你真坏]
[by:快乐相随编辑]
[t_time<img src="./images/smilies/default/sad.gif" border="0" smilieid="2" alt=":(" />04:28)]
[00:13.00]像浮萍一样偶然相遇
[00:19.00]放弃所有走在一起
[00:21.86]欢笑时伴着涩涩的泪水
[00:28.71]时光飞逝如此清晰
[00:33.33]像他们一样就此分离
[00:39.10]依旧爱着那时的你
[00:42.56]心跳声伴着记忆的侵袭
[00:49.51]天不做美我们爱不逢时
[00:54.31]心疼你 我想着你
[00:59.84]知道自己已经无能为力
[01:04.72]还爱恋着你 还放不下你
[01:10.74]可我看看自己却只能忘了你
[01:15.71]你是我心中最完美的女人
[01:21.72]虽然我们不能够走在一起
[01:27.01]你是我生命中走过的完美女人
[01:33.41]任那时光穿梭时间变得美丽
[01:38.75]你是无人代替的完美女人
[01:42.63]可惜你不再完美完美女人
[01:47.85]只能是生命中走过的完美女人
[01:54.52]任那时光穿梭你会更加美丽
[02:03.45]LRC歌词:快乐相随编辑
[02:12.00]欢迎欣赏
[02:22.00]像他们一样就此分离
[02:28.73]依旧爱着那时的你
[02:32.32]心跳声伴着记忆的侵袭
[02:39.12]天不做美我们爱不逢时
[02:44.13]心疼你 我想着你
[02:49.33]知道自己已经无能为力
[02:54.54]还爱恋着你 还放不下你
[03:00.12]可我看看自己却只能忘了你
[03:05.52]你是我心中最完美的女人
[03:11.42]虽然我们不能够走在一起
[03:17.12]你是我生命中走过的完美女人
[03:22.92]任那时光穿梭时间变得美丽
[03:28.35]你是无人代替的完美女人
[03:32.32]可惜你不再完美完美女人
[03:37.95]只能是生命中走过的完美女人
[03:44.05]恨那现实让你变得不再完美
[03:49.26]你是我心中最完美的女人
[03:55.85]虽然我们不能够走在一起
[04:00.94]你是我生命中走过的完美女人
[04:07.36]任那时光穿梭时间变得美丽
[04:12.56]你是无人代替的完美女人
[04:16.58]可惜你不再完美完美女人
[04:21.94]只能是生命中走过的完美女人
[04:28.00]谢谢欣赏
--></SPAN>
<DIV style="LEFT: 100px; POSITION: absolute; WIDTH: 400px; TOP: 300px; HEIGHT: 300px">
<DIV style="OVERFLOW: hidden; WIDTH: 400px; HEIGHT: 300px" id=lrcollbox>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD>
<TABLE style="POSITION: relative; TOP: -20px" id=lrcoll oncontextmenu="return false;" border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD id=lrcwt1 height=20 noWrap align=middle></TD></TR>
<TR>
<TD id=lrcwt2 height=20 noWrap align=middle></TD></TR>
<TR>
<TD id=lrcwt3 height=20 noWrap align=middle></TD></TR>
<TR>
<TD id=lrcwt4 height=20 noWrap align=middle></TD></TR>
<TR>
<TD id=lrcwt5 height=20 noWrap align=middle></TD></TR>
<TR>
<TD id=lrcwt6 height=20 noWrap align=middle></TD></TR>
<TR>
<TD height=20 noWrap align=middle>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD height=20 noWrap><SPAN style="HEIGHT: 20px" id=lrcwt7></SPAN></TD></TR>
<TR style="Z-INDEX: 6; POSITION: relative; TOP: -20px">
<TD height=20 noWrap>
<DIV style="OVERFLOW: hidden; WIDTH: 100%; COLOR: #ffff33; HEIGHT: 20px" id=lrcfilter></DIV></TD></TR></TBODY></TABLE></TD>
<TR style="POSITION: relative; TOP: -20px">
<TD height=20 noWrap align=middle>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD height=20 noWrap><SPAN style="HEIGHT: 20px" id=lrcbox>歌词加载中</SPAN></TD></TR>
<TR style="Z-INDEX: 6; POSITION: relative; TOP: -20px">
<TD height=20 noWrap>
<DIV style="OVERFLOW: hidden; WIDTH: 0px; HEIGHT: 20px" id=lrcbc></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt8 height=20 noWrap align=middle></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt9 height=20 noWrap align=middle></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt10 height=20 noWrap align=middle></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt11 height=20 noWrap align=middle></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt12 height=20 noWrap align=middle></TD></TR>
<TR style="POSITION: relative; TOP: -40px">
<TD id=lrcwt13 height=20 noWrap align=middle></TD></TR></TBODY></TABLE></TD></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE>
<TABLE style="LEFT: 200px; POSITION: absolute; TOP: 600px" border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD width=200 align=middle><INPUT style="BORDER-RIGHT: #787878 0px solid; FONT-SIZE: 10pt; BORDER-TOP: #787878 0px solid; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; COLOR: #006400; BORDER-BOTTOM: #787878 0px solid; HEIGHT: 16px" title=点击停止 onclick=aboutplayer.controls.stop(); value=停止 type=button> <INPUT style="BORDER-RIGHT: #787878 0px solid; FONT-SIZE: 10pt; BORDER-TOP: #787878 0px solid; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; COLOR: #006400; BORDER-BOTTOM: #787878 0px solid; HEIGHT: 16px" title=点击暂停 onclick=aboutplayer.controls.pause(); value=暂停 type=button> <INPUT style="BORDER-RIGHT: #787878 0px solid; FONT-SIZE: 10pt; BORDER-TOP: #787878 0px solid; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; COLOR: #006400; BORDER-BOTTOM: #787878 0px solid; HEIGHT: 16px" title=点击播放或重播 onclick=aboutplayer.controls.play(); value=播放 type=button></TR></TBODY></TABLE>
<SCRIPT language=JavaScript>
    var __cc_uid="CoolHot";
</SCRIPT>

<SCRIPT language=JavaScript>
var lrcO;
ffbb = 0;
lrcobj = new lrcClass(lrcdata.innerHTML.slice(4,-3));

function lrcClass(tt)
{
  this.inr = [];

  this.oTime = 0;

  this.dts = -1;
  this.dte = -1;
  this.dlt = -1;
  this.ddh;
  this.fjh;
lrcbc.style.width = 0;
if(/\[offset\<img src="./images/smilies/default/sad.gif" border="0" smilieid="2" alt=":(" />\-?\d+)\]/i.test(tt))
    this.oTime = RegExp.$1/1000;

  tt = tt.replace(/\[\:\][^$\n]*(\n|$)/g,"$1");
  tt = tt.replace(/\[[^\[\]\:]*\]/g,"");
  tt = tt.replace(/\[[^\[\]]*[^\[\]\d]+[^\[\]]*\:[^\[\]]*\]/g,"");
  tt = tt.replace(/\[[^\[\]]*\:[^\[\]]*[^\[\]\d\.]+[^\[\]]*\]/g,"");
  tt = tt.replace(/<[^<>]*[^<>\d]+[^<>]*\:[^<>]*>/g,"");
  tt = tt.replace(/<[^<>]*\:[^<>]*[^<>\d\.]+[^<>]*>/g,"");

  while(/\[[^\[\]]+\:[^\[\]]+\]/.test(tt))
  {
    tt = tt.replace(/((\[[^\[\]]+\:[^\[\]]+\])+[^\[\r\n]*)[^\[]*/,"\n");
    var zzzt = RegExp.$1;
    /^(.+\])([^\]]*)$/.exec(zzzt);
    var ltxt = RegExp.$2;
    var eft = RegExp.$1.slice(1,-1).split("][");
    for(var ii=0; ii<eft.length; ii++)
    {
      var sf = eft[ii].split(":");
      var tse = parseInt(sf[0],10) * 60 + parseFloat(sf[1]);
      var sso = { t:[] , w:[] , n:ltxt }
      sso.t[0] = tse-this.oTime;
      this.inr[this.inr.length] = sso;
    }
  }
  this.inr = this.inr.sort( function(a,b){return a.t[0]-b.t[0];} );

  for(var ii=0; ii<this.inr.length; ii++)
  {
    while(/<[^<>]+\:[^<>]+>/.test(this.inr[ii].n))
    {
      this.inr[ii].n = this.inr[ii].n.replace(/<(\d+)\<img src="./images/smilies/default/sad.gif" border="0" smilieid="2" alt=":(" />[\d\.]+)>/,"%=%");
      var tse = parseInt(RegExp.$1,10) * 60 + parseFloat(RegExp.$2);
      this.inr[ii].t[this.inr[ii].t.length] = tse-this.oTime;
    }
    lrcbc.innerHTML = "<font>"+ this.inr[ii].n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/%=%/g,"</font><font>") +" </font>";
    var fall = lrcbc.getElementsByTagName("font");
    for(var wi=0; wi<fall.length; wi++)
      this.inr[ii].w[this.inr[ii].w.length] = fall[wi].offsetWidth;
    this.inr[ii].n = lrcbc.innerText;
  }

  this.run = function(tme)
  {
    if(tme<this.dts || tme>=this.dte)
    {
      var ii;
      for(ii=this.inr.length-1; ii>=0 && this.inr[ii].t[0]>tme; ii--){}
      if(ii<0) return;
      this.ddh = this.inr[ii].t;
      this.fjh = this.inr[ii].w;
      this.dts = this.inr[ii].t[0];
      this.dte = (ii<this.inr.length-1)?this.inr[ii+1].t[0]:aboutplayer.currentMedia.duration;

      lrcwt1.innerText = this.retxt(ii-7);
      lrcwt2.innerText = this.retxt(ii-6);
      lrcwt3.innerText = this.retxt(ii-5);
      lrcwt4.innerText = this.retxt(ii-4);
      lrcwt5.innerText = this.retxt(ii-3);
      lrcwt6.innerText = this.retxt(ii-2);
      lrcwt7.innerText = this.retxt(ii-1);
      lrcfilter.innerText = this.retxt(ii-1);
      lrcwt8.innerText = this.retxt(ii+1);
      lrcwt9.innerText = this.retxt(ii+2);
      lrcwt10.innerText = this.retxt(ii+3);
      lrcwt11.innerText = this.retxt(ii+4);
      lrcwt12.innerText = this.retxt(ii+5);
      lrcwt13.innerText = this.retxt(ii+6);
      this.print(this.retxt(ii));
      if(this.dlt==ii-1)
      {
        clearTimeout(lrcO);
        golrcoll(0);
        golrcolor(0);
      }
      this.dlt = ii;
    }
    var bbw = 0;
    var ki;
    for(ki=0; ki<this.ddh.length && this.ddh[ki]<=tme; ki++)
      bbw += this.fjh[ki];
    var kt = ki-1;
    var sc = ((ki<this.ddh.length)?this.ddh[ki]:this.dte) - this.ddh[kt];
    var tc = tme - this.ddh[kt];
    bbw -= this.fjh[kt] - tc / sc * this.fjh[kt];
    if(bbw>lrcbox.offsetWidth)
      bbw = lrcbox.offsetWidth;
    lrcbc.style.width = Math.round(bbw);
  }

  this.retxt = function(i)
  {
    return (i<0 || i>=this.inr.length)?"":this.inr<i>.n;
  }

  this.print = function(txt)
  {
    lrcbox.innerText = txt;
    lrcbc.innerText = txt;
  }

  this.print(" ");
  lrcwt1.innerText = "";
  lrcwt2.innerText = "";
  lrcwt3.innerText = "";
  lrcwt4.innerText = "";
  lrcwt5.innerText = "";
  lrcwt6.innerText = "";
  lrcwt8.innerText = "";
  lrcwt9.innerText = "";
  lrcwt10.innerText = "";
  lrcwt11.innerText = "";
  lrcwt12.innerText = "";
  lrcwt13.innerText = "";
}

function loadfile(url)
{
  aboutplayer.url = url;
  aboutplayer.controls.play();
  file.select();
  document.selection.clear();
  onfocus=file.blur();
}

function bb()
{
  ffbb = ffbb - 0.5;
}

function ff()
{
  ffbb = ffbb + 0.5;
}

function lrcrun()
{
  with(aboutplayer)
  {
    lrcobj.run(controls.currentPosition + ffbb);
  }
  if(arguments.length == 0) setTimeout("lrcrun()",10);
}

function golrcoll(s)
{
  lrcoll.style.top = -2-(s++)*3;
  if(s<=6)
    lrcO = setTimeout("golrcoll("+s+")",100);
}

function golrcolor(t)
{
  lrcfilter.filters.alpha.opacity = 100-(t++)*10;
  if(t<=10)
    setTimeout("golrcolor("+t+")",60);
}

function killErrors()
{
  return true;
}
window.onerror = killErrors;
lrcrun();
</SCRIPT>
</TD></TR></TBODY></TABLE>
 楼主| 发表于 2008-6-30 21:18 | 显示全部楼层
为什么歌词出不了呢?
回复 支持 反对

使用道具 举报

发表于 2008-6-30 21:45 | 显示全部楼层
还成空间帖看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-4 20:45 | 显示全部楼层

代码为

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>完美女人</title><STYLE type=text/css>
TD { FONT-SIZE: 9pt; LINE-HEIGHT: 17px; }
BODY{
FONT-SIZE: 9pt;
LINE-HEIGHT: 17px;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
A:link {COLOR: #006600; FONT-FAMILY:宋体; FONT-SIZE: 10pt; text-decoration: none}
A:visited {COLOR: #006600; text-decoration: none}
A:active {COLOR: #006600; text-decoration: none}
A:hover {COLOR: #ff0000; text-decoration: underline}
#lrcollbox td, #lrcollbox font {font-family: 黑体; font-size: 15px;}
#lrcoll td { color:#006600; cursor: default; }
#lrcbox { color:#00ff00 }
#lrcfilter { filter: alpha(opacity=0) }
#lrcbc { color:#FFFF33 }
</STYLE>
</head>
<body>
<table style="WIDTH:455px; height:673px;BORDER-TOP-STYLE: dashed; BORDER-RIGHT-STYLE: dashed; BORDER-LEFT-STYLE: dashed; POSITION: relative; BORDER-BOTTOM-STYLE: dashed; TOP-STYLE: dashed" bordercolor="#006600" cellspacing="0" cellpadding="0" align="center" border="4"><tbody><tr><td>
        <table id="table13" bordercolor="#006600" height="673" cellspacing="3" cellpadding="1" width="450" align="center" bgcolor="#ffffff" border="5" background="http://b.thec.cn/qq363075161/zuoye/01_过滤后副本.jpg"><tbody><tr><td><object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" id="aboutplayer" width="0" height="0">
<param name="url" value="http://www.fongfeifei.com.cn/linda/song/完美女人.Wma">
<param name="volume" value="100">
<param name="enablecontextmenu" value="0">
<param name="enableerrordialogs" value="0">
<param NAME="PlayCount" VALUE="100">
<param name="mute" value="0">
</object>
<span id="lrcdata">
<!--[ti:完美女人 ]
[ar:张嘉洵]
[al:你真坏]
[by:快乐相随编辑]
[t_time:(04:28)]
[00:13.00]像浮萍一样偶然相遇
[00:19.00]放弃所有走在一起
[00:21.86]欢笑时伴着涩涩的泪水
[00:28.71]时光飞逝如此清晰
[00:33.33]像他们一样就此分离
[00:39.10]依旧爱着那时的你
[00:42.56]心跳声伴着记忆的侵袭
[00:49.51]天不做美我们爱不逢时
[00:54.31]心疼你 我想着你
[00:59.84]知道自己已经无能为力
[01:04.72]还爱恋着你 还放不下你
[01:10.74]可我看看自己却只能忘了你
[01:15.71]你是我心中最完美的女人
[01:21.72]虽然我们不能够走在一起
[01:27.01]你是我生命中走过的完美女人
[01:33.41]任那时光穿梭时间变得美丽
[01:38.75]你是无人代替的完美女人
[01:42.63]可惜你不再完美完美女人
[01:47.85]只能是生命中走过的完美女人
[01:54.52]任那时光穿梭你会更加美丽
[02:03.45]LRC歌词:快乐相随编辑
[02:12.00]欢迎欣赏
[02:22.00]像他们一样就此分离
[02:28.73]依旧爱着那时的你
[02:32.32]心跳声伴着记忆的侵袭
[02:39.12]天不做美我们爱不逢时
[02:44.13]心疼你 我想着你
[02:49.33]知道自己已经无能为力
[02:54.54]还爱恋着你 还放不下你
[03:00.12]可我看看自己却只能忘了你
[03:05.52]你是我心中最完美的女人
[03:11.42]虽然我们不能够走在一起
[03:17.12]你是我生命中走过的完美女人
[03:22.92]任那时光穿梭时间变得美丽
[03:28.35]你是无人代替的完美女人
[03:32.32]可惜你不再完美完美女人
[03:37.95]只能是生命中走过的完美女人
[03:44.05]恨那现实让你变得不再完美
[03:49.26]你是我心中最完美的女人
[03:55.85]虽然我们不能够走在一起
[04:00.94]你是我生命中走过的完美女人
[04:07.36]任那时光穿梭时间变得美丽
[04:12.56]你是无人代替的完美女人
[04:16.58]可惜你不再完美完美女人
[04:21.94]只能是生命中走过的完美女人
[04:28.00]谢谢欣赏
-->
</span>
<div style="LEFT:100px; POSITION: absolute; TOP:300px; width:400px; height:300px" >
<div id="lrcollbox" style="overflow:hidden; height:300; width:400;"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td>
<table  border="0" cellspacing="0" cellpadding="0" width="100%" id="lrcoll" style="position:relative; top: -20px;" oncontextmenu="return false;">
<tr><td nowrap height="20" align="center" id="lrcwt1"></td></tr>
<tr><td nowrap height="20" align="center" id="lrcwt2"></td></tr>
<tr><td nowrap height="20" align="center" id="lrcwt3"></td></tr>
<tr><td nowrap height="20" align="center" id="lrcwt4"></td></tr>
<tr><td nowrap height="20" align="center" id="lrcwt5"></td></tr>
<tr><td nowrap height="20" align="center" id="lrcwt6"></td></tr>
<tr><td nowrap height="20" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td nowrap height="20"><span id="lrcwt7" style="height:20"></span></td></tr>
<tr style="position:relative; top: -20px; z-index:6"><td nowrap height="20"><div id="lrcfilter" style="overflow:hidden; width:100%; color:#FFFF33; height:20"></div></td></tr>
</table>
</td>
<tr style="position:relative; top: -20px"><td nowrap height="20" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td nowrap height="20"><span id="lrcbox" style="height:20">歌词加载中</span></td></tr>
<tr style="position:relative; top: -20px; z-index:6;"><td nowrap height="20"><div id="lrcbc" style="overflow:hidden; height:20; width:0;"></div></td></tr>
</table>
</td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt8"></td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt9"></td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt10"></td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt11"></td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt12"></td></tr>
<tr style="position:relative; top: -40px;"><td nowrap height="20" align="center" id="lrcwt13"></td></tr>
</table></tr></td></tr>
</table>
</div>
</TD></TR></TBODY></TABLE>
<TABLE style="LEFT:200px; POSITION: absolute; TOP:600px" cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD align=middle width=200><input value="停止" title=点击停止 style="BORDER-RIGHT: #787878 0px solid; BORDER-TOP: #787878 0px solid; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; BORDER-BOTTOM: #787878 0px solid; BACKGROUND: ; HEIGHT: 16px; COLOR: #006400; font-size:10pt"onclick="aboutplayer.controls.stop();" type="button" /> <input value="暂停"  title="点击暂停"  style="BORDER-RIGHT: #787878 0px solid; BORDER-TOP: #787878 0px solid; BACKGROUND: ; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; BORDER-BOTTOM: #787878 0px solid; HEIGHT: 16px;COLOR: #006400; font-size:10pt " onclick="aboutplayer.controls.pause();" type="button" /> <input value="播放" title="点击播放或重播" style="BORDER-RIGHT: #787878 0px solid; BORDER-TOP: #787878 0px solid; BACKGROUND: ; BORDER-LEFT: #787878 0px solid; WIDTH: 52px; CURSOR: hand; BORDER-BOTTOM: #787878 0px solid; HEIGHT: 16px; COLOR: #006400; font-size:10pt" onclick="aboutplayer.controls.play();" type="button" /></TBODY></TABLE>
<SCRIPT language=JavaScript>
    var __cc_uid="CoolHot";
</SCRIPT>
<script language="JavaScript">
var lrcO;
ffbb = 0;
lrcobj = new lrcClass(lrcdata.innerHTML.slice(4,-3));

function lrcClass(tt)
{
  this.inr = [];

  this.oTime = 0;

  this.dts = -1;
  this.dte = -1;
  this.dlt = -1;
  this.ddh;
  this.fjh;
lrcbc.style.width = 0;
if(/\[offset\:(\-?\d+)\]/i.test(tt))
    this.oTime = RegExp.$1/1000;

  tt = tt.replace(/\[\:\][^$\n]*(\n|$)/g,"$1");
  tt = tt.replace(/\[[^\[\]\:]*\]/g,"");
  tt = tt.replace(/\[[^\[\]]*[^\[\]\d]+[^\[\]]*\:[^\[\]]*\]/g,"");
  tt = tt.replace(/\[[^\[\]]*\:[^\[\]]*[^\[\]\d\.]+[^\[\]]*\]/g,"");
  tt = tt.replace(/<[^<>]*[^<>\d]+[^<>]*\:[^<>]*>/g,"");
  tt = tt.replace(/<[^<>]*\:[^<>]*[^<>\d\.]+[^<>]*>/g,"");

  while(/\[[^\[\]]+\:[^\[\]]+\]/.test(tt))
  {
    tt = tt.replace(/((\[[^\[\]]+\:[^\[\]]+\])+[^\[\r\n]*)[^\[]*/,"\n");
    var zzzt = RegExp.$1;
    /^(.+\])([^\]]*)$/.exec(zzzt);
    var ltxt = RegExp.$2;
    var eft = RegExp.$1.slice(1,-1).split("][");
    for(var ii=0; ii<eft.length; ii++)
    {
      var sf = eft[ii].split(":");
      var tse = parseInt(sf[0],10) * 60 + parseFloat(sf[1]);
      var sso = { t:[] , w:[] , n:ltxt }
      sso.t[0] = tse-this.oTime;
      this.inr[this.inr.length] = sso;
    }
  }
  this.inr = this.inr.sort( function(a,b){return a.t[0]-b.t[0];} );

  for(var ii=0; ii<this.inr.length; ii++)
  {
    while(/<[^<>]+\:[^<>]+>/.test(this.inr[ii].n))
    {
      this.inr[ii].n = this.inr[ii].n.replace(/<(\d+)\:([\d\.]+)>/,"%=%");
      var tse = parseInt(RegExp.$1,10) * 60 + parseFloat(RegExp.$2);
      this.inr[ii].t[this.inr[ii].t.length] = tse-this.oTime;
    }
    lrcbc.innerHTML = "<font>"+ this.inr[ii].n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/%=%/g,"</font><font>") +" </font>";
    var fall = lrcbc.getElementsByTagName("font");
    for(var wi=0; wi<fall.length; wi++)
      this.inr[ii].w[this.inr[ii].w.length] = fall[wi].offsetWidth;
    this.inr[ii].n = lrcbc.innerText;
  }

  this.run = function(tme)
  {
    if(tme<this.dts || tme>=this.dte)
    {
      var ii;
      for(ii=this.inr.length-1; ii>=0 && this.inr[ii].t[0]>tme; ii--){}
      if(ii<0) return;
      this.ddh = this.inr[ii].t;
      this.fjh = this.inr[ii].w;
      this.dts = this.inr[ii].t[0];
      this.dte = (ii<this.inr.length-1)?this.inr[ii+1].t[0]:aboutplayer.currentMedia.duration;

      lrcwt1.innerText = this.retxt(ii-7);
      lrcwt2.innerText = this.retxt(ii-6);
      lrcwt3.innerText = this.retxt(ii-5);
      lrcwt4.innerText = this.retxt(ii-4);
      lrcwt5.innerText = this.retxt(ii-3);
      lrcwt6.innerText = this.retxt(ii-2);
      lrcwt7.innerText = this.retxt(ii-1);
      lrcfilter.innerText = this.retxt(ii-1);
      lrcwt8.innerText = this.retxt(ii+1);
      lrcwt9.innerText = this.retxt(ii+2);
      lrcwt10.innerText = this.retxt(ii+3);
      lrcwt11.innerText = this.retxt(ii+4);
      lrcwt12.innerText = this.retxt(ii+5);
      lrcwt13.innerText = this.retxt(ii+6);
      this.print(this.retxt(ii));
      if(this.dlt==ii-1)
      {
        clearTimeout(lrcO);
        golrcoll(0);
        golrcolor(0);
      }
      this.dlt = ii;
    }
    var bbw = 0;
    var ki;
    for(ki=0; ki<this.ddh.length && this.ddh[ki]<=tme; ki++)
      bbw += this.fjh[ki];
    var kt = ki-1;
    var sc = ((ki<this.ddh.length)?this.ddh[ki]:this.dte) - this.ddh[kt];
    var tc = tme - this.ddh[kt];
    bbw -= this.fjh[kt] - tc / sc * this.fjh[kt];
    if(bbw>lrcbox.offsetWidth)
      bbw = lrcbox.offsetWidth;
    lrcbc.style.width = Math.round(bbw);
  }

  this.retxt = function(i)
  {
    return (i<0 || i>=this.inr.length)?"":this.inr.n;
  }

  this.print = function(txt)
  {
    lrcbox.innerText = txt;
    lrcbc.innerText = txt;
  }

  this.print(" ");
  lrcwt1.innerText = "";
  lrcwt2.innerText = "";
  lrcwt3.innerText = "";
  lrcwt4.innerText = "";
  lrcwt5.innerText = "";
  lrcwt6.innerText = "";
  lrcwt8.innerText = "";
  lrcwt9.innerText = "";
  lrcwt10.innerText = "";
  lrcwt11.innerText = "";
  lrcwt12.innerText = "";
  lrcwt13.innerText = "";
}

function loadfile(url)
{
  aboutplayer.url = url;
  aboutplayer.controls.play();
  file.select();
  document.selection.clear();
  onfocus=file.blur();
}

function bb()
{
  ffbb = ffbb - 0.5;
}

function ff()
{
  ffbb = ffbb + 0.5;
}

function lrcrun()
{
  with(aboutplayer)
  {
    lrcobj.run(controls.currentPosition + ffbb);
  }
  if(arguments.length == 0) setTimeout("lrcrun()",10);
}

function golrcoll(s)
{
  lrcoll.style.top = -2-(s++)*3;
  if(s<=6)
    lrcO = setTimeout("golrcoll("+s+")",100);
}

function golrcolor(t)
{
  lrcfilter.filters.alpha.opacity = 100-(t++)*10;
  if(t<=10)
    setTimeout("golrcolor("+t+")",60);
}

function killErrors()
{
  return true;
}
window.onerror = killErrors;
lrcrun();
</script></TD></TR></TBODY></TABLE>
</body>
</html>
回复 支持 反对

使用道具 举报

本版积分规则

Archiver|手机版|小黑屋|中国音画网

GMT+8, 2025-7-4 15:24 , Processed in 0.035881 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表