|
<DIV id=list>
) W: {& p* S( L; N<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>9 B: M, g# R) z$ O) n
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
4 |, e# Y% T& G1 H<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>$ q; T1 z1 w3 y& `' T v
<DIV id=lrc3 style="COLOR: #666666"></DIV>8 @% V( [: a& G, i4 O& x( m
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
( n8 U0 k0 m+ I<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
H; s& X) Z. |- {" Y3 f2 t<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
) C! z* T" f0 B7 | k<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>0 Z; k6 @; N+ z7 x* \ [
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>0 n2 t$ h/ F2 M% q) }/ f
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>, Q8 c" g7 H* x5 e: |1 @1 I# p4 B
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
3 ]3 J6 W z! V4 r* H. S* y<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV># J1 M5 T) ]$ j" g( d
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
9 ^, S/ f% e* e2 d<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>- H" y- Z( l" F0 E
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
{# q% w5 J# E' W% L4 `<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
! ?- e+ m. f T3 A<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
# m, {" H: v0 [ O1 L3 l<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>/ _0 t: P- I% j7 i, L9 o
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' |9 n. t& G0 a8 x1 ^0 |
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>5 l0 N! h3 z2 c% t; H; E
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>4 A9 @& W+ H$ L V% k R, K7 _2 N4 J
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
3 V1 Y) ?0 B5 j( b0 D<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>) u. V# Q: r# g
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>2 F& z; Z! ~! C6 @' a! Z }1 S% K
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV> ]" i2 F% F) M% V2 q- ?* }3 K
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>! M- z% j1 l+ @4 [/ E
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
4 J+ m: U% H2 s<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* o* N' k' C# p9 K8 Y# U8 g9 G/ Z<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
7 K% U& F. _( l<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
1 l5 U# y* i6 z' u I& c<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>; Y- W# L% s& F: b5 T7 R, p& N
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
% Z) k* `" V& H9 p1 M& f- @( x<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>; J, U( k7 D5 c+ ?0 r; s+ }
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
5 v5 _/ y# m& V- Y) _9 B<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>( ?5 `0 A# R: S- e: f
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
1 U6 m: Y$ G% {<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
% P( r# R( O# Y0 Y1 }9 B<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>9 I4 o; b& @, @1 k$ R( [
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
/ U. i7 z4 ?9 U! N<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>1 i, Y) i3 Z6 c/ F
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>4 f/ l# {6 s9 I) i1 c: y0 Q
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>$ U. p4 e8 `& u' F; |
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
$ b/ L: W% l; F<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
( q7 w. ^5 ?/ S) k: p<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
" w3 L9 {. V, U/ `<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
+ J5 ~' i( c2 A" I2 Q, J<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
" G2 T- y: ]+ T3 q. y; u<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>' A. x" d. H9 `: {6 l. M8 k0 r1 E
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
M9 z3 a& x. N* ^6 R2 x<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>+ i0 u; r% {7 r- }
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
3 _9 ~& p' k: N0 S/ [<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>2 U& a# V0 e. |4 J; S* m
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>6 P# J: Y1 m9 n7 Z4 Q
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 + d8 b1 ^# n# E" @1 r* W2 ?) ^
<DIV id=lrc style="DISPLAY: none"></DIV>
& M+ [7 B# }+ B) C9 Z% O" @<SCRIPT type=text/javascript> G/ Y) y3 ]5 q# x0 O
document.domain="1ting.com";
! i( u* L- b4 O+ d1 Pvar colorPasted="#666666";; N* j$ W2 c! R# q: r% E
var colorPlaying="#ff3300";+ c0 k: O) Z. _: P
var colorNormal="#000000";
/ I# a8 @0 e( N" d, }/ C$ = function (a,g){+ {! i! \# Q2 ^4 `+ r+ v
var o = new Array();
7 \% n5 w r3 I+ e% H P& I* P' E' E var c = new Array();
& k8 B; L# O7 d4 s& A$ B4 Y var r;
8 G# M4 Q+ k" D; u: E! x var u;
. O/ {" s3 [& b9 f var a = a.split(';');
: h$ ]# n4 N& D3 i
) L$ Q, b; g/ K; \6 c* s! ~4 |, l1 }$ N var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");5 F- S0 w) x/ x& m% T
for(var i=0;i<e.length;i++){& c% i8 C# W7 x6 w
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 G5 l. K5 O y# P6 |
}) m! m6 O. N! d4 {/ n
/ [7 S8 R$ e& X% j
after = function (t,d,s){2 ^- f+ U( [8 A7 X+ c: \
$after = function (){5 P. \$ W, M: L) a& p+ g# N
var $n=document.createElement(t);
) G4 [- L% s* ?0 R% g# H# o if(d!=null){% i$ I- q% r0 `. z* H, C ~" D
$n.id=d; # |# U! ]. W6 x" D
}
, n" t: c- s, n7 V% w- y
) s' {' `; q2 O7 ]" u u.insertBefore($n,null) 5 M! L% X# j2 a, v7 n- ] [
r = $n;
& i! R6 l; [$ S4 [# m. d3 j" y u = $n;
+ @' ^: H) h( k$ Z }
8 U1 j+ a) c4 g I& K3 C$ N) p" A $for(s,"$after")
& b' A( s2 u: x. f' r8 N [2 p }
% l; l V$ h2 ]1 S; M% A+ b |& K# j! T1 g9 w7 L/ K7 {. c) f
show = function (s){
$ m8 j. A" A9 |( ] $show = function (){7 P H* h, `# N0 V" B& R- T
u.style.display!="none" ? style("display:none") : style("display:block") ;
$ P3 P1 O$ e5 ~7 I }/ {. o6 ~$ P! F* G; u% ~, N2 ^. r
$for(s,"$show")
; [9 b& L) I& Q) c0 Y1 P' {" X! | }3 H5 A! J% ^8 H+ R1 F
7 B" V8 U' B3 X4 S X) K
check = function (t,s){
5 S. u( \" t8 Q3 h% E4 _6 u1 a+ n $check = function (){
2 L% r2 a' z6 w( T9 c) g; n- s) V if(t=="2"){$ q8 W0 ?2 i0 i6 M' ^8 y
if(u.checked){
( Q3 f0 p9 `) _1 q M8 B( a u.checked = false;
; [0 M A/ j3 O) Q }else{
& Z% Q% V1 w% O. E5 I1 x7 ?* A& S u.checked = true;
4 g8 G6 b/ ]" f1 D& T }/ @/ M) c7 u$ _8 N A {* _: K
}else{
, Q, U5 C( [" o( G- | u.checked = t*1 ;
$ C9 X5 x6 t" c, M# q }4 F% p/ _. ^4 l
}# F- V) {3 z/ {1 v1 G: O
$for(s,"$check")- P. G: g. y& l' N) i; F) h [
}
' R% b& W. c' ]4 ]& G- u( I
7 L3 K. g5 b7 V# c5 R# [3 \ style = function (v,s){
9 o+ d& y* D2 Z3 `: B( q1 l $style = function (){
7 | t/ r* {) d1 W5 q( {- X" k8 J var $n = v.split(",")
9 h2 z; W! @/ E# h7 g F& M for (var i=0;i<$n.length;i++ ){5 ]- G5 H/ X, I- y$ P/ H
var $m = $n<i>.split(":")
* p# C- _$ a; V' K, w- @. \! T eval("u.style."+$m[0]+"='"+$m[1]+"'");
7 d' j3 N4 E2 m+ E) ?5 Y0 z } \9 }4 f; H) Z
}
|# X; W% k$ ^* E, z $for(s,"$style")
) x2 [% q6 t2 y+ ?4 a2 Y1 m0 A }
[. Q; O; _( V( b2 |. G. w* n( G% f4 s3 P" K, E- N5 D. l$ P3 b
value = function (v,s){
& m2 c' F9 P2 F- J var $n= $this (v);: N: K+ w3 b2 {1 l- r2 `- D1 d
$value = function (){8 F t" A1 ~5 D/ i' J- D
u.value = $n# ^: j) @. \ m
}
% U z$ M- A" \6 f $for(s,"$value") % k5 n* t# J3 I4 p9 k
}4 S4 s, @ E: o* m# G
9 y. w) ]! J* T6 s2 m* f* I: Q3 L text = function (v,s){. e9 [5 ^- q6 \; a1 W5 w
var $n= $this (v);
/ u( ^& ]8 h$ f ^: A: p" W $text = function (){
+ ^- V6 V% s' D
5 Y" B- b6 G: s5 A# u u.text = $n5 Q0 r3 U7 ~; B' \+ ^6 u( R: h& l
}, x% j7 N H) t2 _: K
$for(s,"$text")
1 X5 d7 x% v9 @( [7 I" o2 J }: J/ Z6 ^1 ?% R: l* u; e! ]" }. _
- b; y2 m. h, Y& d" G
innerhtml = function (v,s){0 o4 ]2 n4 F/ j( Y; f" F7 g
var $n= $this (v);$ A: b6 m" ?' B: W8 x0 R; Q$ ~
$innerhtml = function (){4 j/ `3 t3 \" ^6 \: v- e
u.innerHTML = $n
# \3 u/ F2 M- I) E4 A, s$ g8 x }3 T. |2 S7 z% z- l
$for(s,"$innerhtml")
/ v& O5 @( j+ d$ z3 e2 d9 D }
* F" }( `: M; Y# ]4 N% m. P ' t* P. y8 C+ p* ~/ b* ~4 i9 T
removechild = function (s){( M9 H+ ^, @4 e; p9 }
$removechild = function (){
) Q/ p6 a5 S4 h4 U, @ u.parentNode.removeChild(u)
& [- b& q2 X6 j+ u1 }" L }
" v) h1 R" |" Z% h $for(s,"$removechild")
2 E. T8 i$ x' Q }
/ I; I! ^; ?0 a5 H' O
3 f/ N9 Q; d) h/ I5 `1 T o $this =function(v){5 s1 p& _3 n- ]
if(v.indexOf("this") == 0){
5 f% Z s! M# K4 o% Y& V. @ s: p( l return eval(v.replace("this","u"))- y4 I8 y5 H5 q
}
. d& a+ V9 q- Q1 Q return v;
' X! F) }3 b2 \6 S }
5 ^) u1 N- h4 C* x2 R6 {! u9 n
, g$ {/ k$ [) S6 {( f $event = function (s){
5 z2 m8 A+ |- k. ?' s! t& x var $n ="u."+s+" = function(){$work(this,s);}"
7 q% g5 A% H! J& w) | return $n;
- C x; p8 p8 }! T- q( F. t }/ P- ?( x- `# b* `
' z& ]) c* @' {: b0 n& s: Y9 T $replace = function (s){
! X8 }# h. ?5 Y3 @! `1 }: M. a5 H) C* H3 {. ]& P. b) ]
}
, c7 \# m/ q1 U; e# _
3 i6 e o# Q/ n& g. m $for = function (s,c){* b/ D6 G' ]/ x6 [1 g
var $n="this."+c+"()" ; @* Y6 c+ g6 j
if(s!=null){
8 h( L7 Z5 x' a! p var $m =$test(s);% e" X; [# ]. I
for (var i=0;i<$m.length ;i++ ){
# P7 T/ G. w7 @+ B u = $m<i>;7 n2 K7 _, I( O( X; j. n
eval($n);
9 \8 z6 o* S4 M" g `2 r5 Z9 [4 m }' c( @% \$ K6 K+ v, P1 e3 R) A
}, c5 `! X2 r% ?
else{
6 v9 e& e" \+ P& e+ D2 b* ~ eval($n);
2 x+ i: j; E$ W9 P) f, q- O, m }
0 j6 k0 P! ?& V" r5 m/ `; v }
! G% w3 r7 k3 t8 D % F+ d/ Q" N8 `6 \9 Z k
$test = function (a){
4 H7 t. q7 w6 s' E2 c var o = new Array();$o(a.split(';'),o);4 Q- W* a9 c' n1 K* p* V
return o;
! D5 z4 S0 t6 s }
5 s; u% g* p& P, G" Z; X( h H
9 e% b! k# i$ `3 o* |% e& } $format = function(s){
$ J( @3 h5 d9 z while (s.indexOf("'")>0){; j4 @4 n: w! t9 G
s=s.replace("'","\"");) H" G* d0 C% |$ l* k
}/ V3 }5 M! z; p, U- r
while (s.indexOf("][")>0){9 E7 g; p$ U# C9 d
s=s.replace("][","','")- i: n* y X2 |7 a( g" |2 i6 S7 [ o# M
}% @: K4 N7 V6 o2 s
while (s.indexOf("[")>0){- z( o7 I; e' s3 |& H/ E n5 ^
s=s.replace("[","'").replace("]","'")
; z1 D) x3 E( J$ X6 @ }
, t6 H. C$ W% I( Y return s;( r/ r! I1 T: e) Y5 ~
}
" {6 j% H5 E7 C7 N4 J0 ^ v
6 f( R4 \! O9 U2 n p0 M, P/ s $work = function(w,s){, Q7 y/ a/ ^' |9 s
u=w;eval(s)
2 q! C" l0 E! w9 F% A( p }- K: ^" y6 k, m4 e/ S4 S; `
5 F: O% o. F6 y: n! H ]
$id = function (s){
8 l% K# I9 X0 P* ~! L) f1 O return document.getElementById(s);
# O) i: |- h& B! m }
3 t% @1 ~$ l5 y! G5 b" O! z" D4 \
$name = function (s){0 n& C1 z% y# Z2 j* Z6 H
return document.getElementsByName(s);
; d$ h# [. P! T6 J+ v% ~ S" b }1 p& T2 ]3 z# t! c {* u1 @" w- y$ ^2 d
; B5 X0 n0 x* q7 M# [9 { $tagname = function (s){
3 a8 T( q+ E& w) G+ Q- ~ j$ N) A return document.getElementsByTagName(s);
$ S; F- R7 @" ?/ C$ R& j1 f4 d; V }
* f3 m! g, _9 I1 o* w* f
& ]# e/ |! }) j $o = function (a,o,c){9 h* L/ g) K' w1 [1 \
$push = function (n) {7 t* k$ `* v E! R! n7 \7 x' O" G
for (var i=0;i< n.length;i++ ){
0 D: @" k8 ^3 a+ S o.push(n<i>);
' U7 T8 a( P0 }* s3 u& O% j } ( B1 _& j7 m: `! H+ ?1 f( K% B, l
}( ~9 k# Y7 X w. _
for(var i=0;i<a.length;i++){4 j4 y- x# ~! j. d, H( p
if(a<i>.indexOf("(") >= 0){
& `/ S8 h1 q$ u$ s7 p a+ _0 z c.push(a<i>);
/ Q: h9 P1 \: N% M3 M; e3 L, S, c' Z+ X }+ a/ h. b+ p$ G4 [& U
if(a<i>.indexOf("~") > 0){
1 Q9 e2 b% g: r- _' `/ i# f try {- S; q! t6 L O! ^& d
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));4 @# [' ?6 |& f
}catch(e)& n( w4 a' H! n V/ |
{}
, s3 Q2 k8 v; l. W% `# ? }
& B$ w+ p. `9 \ else{, N5 _- x2 Y- a3 `
if(a<i>.indexOf("#")==0){
: d- H, q: P4 {: f% r o.push($id(a<i>.replace("#","")));+ V* v0 z2 B, ]" f' b' |
}! S/ `' B& X( J, O. s9 }
if(a<i>.indexOf(".")==0){( D% {, w- C0 I- e2 l9 I
$push($name(a<i>.replace(".","")));& e* w; Q" j) L. e+ {
}& V- C6 u# u2 o7 H" w* p- ?
if(a<i>.indexOf("@")==0 ){! S2 c0 ~2 q3 N
$push($tagname(a<i>.replace("@","")));& u2 X* D% C' X/ ^- y1 C2 p
}
$ Y5 Q! [/ y1 _ if(a<i>.indexOf("*")==0){- t' `$ {: j" k6 x5 a1 L. q4 H
$p= a<i>;' q# w8 m2 u; j
if($p.indexOf(".")< 0){% ] K8 r- x6 v. h5 C. f; G3 b
$p = $p.replace("parent","parentNode")
( E2 ~8 s W- c& Y }
) \5 z8 |5 g; @5 Z! ^ var $p ="u."+$p.replace("*","");* ?$ F8 S& @* B, A' g% N3 F* |
while ($p.indexOf("parent.")> 0){
' W. I7 P/ i9 t0 I/ z* [ $p = $p.replace("parent.","parentNode.")
8 V2 k; N' s! ?; r+ {0 K }: s5 Z8 [: U0 k ~/ L
while ($p.indexOf("child{")> 0){
6 Z4 `0 z& b$ g# O+ D3 B $p = $p.replace("child{","childNodes[").replace("}","]")
; Q4 `7 v/ Q* } }" v2 T3 D; ~- G1 Q- t( E
o.push(eval($p));
: y' ]5 R5 A: B ]( |" s2 v: V8 s }5 q. j% M3 k q3 `
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
& I1 N5 F1 W+ m o.push(eval(a<i>));, E( I% E* Z& ~
}$ ?9 t Z3 m+ x5 e
}. S, [% p! O$ t/ W: K
if(g!=null){ - y4 X8 }9 M4 i4 ~8 Y# W1 ~: T
o.push(g);g=null
. P' O) o$ v I* N2 P/ ^" y$ w4 | }
7 c1 u: {- n! d" `9 g/ K }
' l8 ?* n+ ?0 r6 Z2 A2 S/ R& h0 [ }# U* u0 ]1 ~- G2 B
* i. `. n+ T k; [+ u: K
$o(a,o,c);
2 s& W; v: d' V/ b. P
4 t# U+ ^" i6 s for(var i = 0;i<o.length;i++){
' ^$ Z* U/ i7 r- N* I, Z7 I7 v, Z for(var j=0;j<c.length;j++){
7 F i0 f! H3 q: a! T. {2 X7 p u = o<i>;eval($format(c[j]));% p: n$ Y: f1 N) X& w
}* O- n2 q S7 G9 ]+ _
}0 Y; _9 }* E; x! n( f) l
}6 E9 a3 @! R# Q( T if(o.length == 0){5 n8 U& d4 L+ ~; J
for(var i=0;i<c.length;i++){7 J6 Y$ e9 m4 g& c8 l4 g, R
eval($format(c<i>));/ Y: i9 F* P. R& Y2 d6 x& t
}" Z3 ~8 P4 Y0 z0 i: Q/ @
}
0 u! l: Q( U" o7 _* r+ {
, n# h' E S; C if(r!=null){
. K7 J8 f4 ]: @. O" Z! ^5 d! g return r;+ z+ q3 F [, _* X( B& ^- y
}
$ r" U" E8 d; i, m, V" @, j8 ~% Z
$ O E4 Z$ p, V7 Y% |; n if(o.length==1){$ \- e; e$ ]4 ~8 D
return o[0];; a o+ ?% k' k' A$ m0 N
}9 @ O; Y* J0 H; [% Q5 e
else{
4 v% D' |) p0 R5 J$ W7 g# f return o. q6 U1 R! d- e% j/ \$ Z; X
} . f1 y6 U0 T, _4 c- |
: G/ n- N& L; n& s/ B' \5 f6 m }7 C1 F3 V8 d) K( ^
var lrc =$("#lrc;show()").innerHTML.split("[");
& K9 [4 Z* x! d7 b, M$ iif(lrc.length>5){5 ]# y U8 r# a! Z! d) o' h
var array = new Array();
* f+ H# G% h" g6 \+ I8 Pfor (var i=0;i<lrc.length ;i++ )1 G4 h! O! u* I, Z/ w" c. z
{0 K# L9 t7 ?3 G, M H8 C3 C0 z
var g = new Object();- Y- J8 M5 C3 t+ V L# x
t= lrc<i>.split("]");/ l" j9 F* s6 T0 g4 W
g.time = getTime(t[0]);: D3 V. y2 b: w: g4 c
if(isNaN(g.time))
O" H# b5 i' ]$ z. D) v( _! j continue;* |0 b$ x+ ?1 B3 x A
g.c = t[1];
0 i& R p) g, D8 ^3 z( y5 w- ~. B if(g.c == "")
8 [& l/ n3 G! E! h g.c = getNext(i);
( s. h; b' [, a: h array.push(g);
; k6 W& h2 |( U2 J# ~0 Z. x4 K}! t, [* B' O& n& z
array.sort(function(x, y) {
0 h2 B/ b3 D1 r' W if (x.time>y.time) * ~8 X5 A, H! Y! U' ~
return 1;7 s/ F7 o7 C& o4 u+ Y* w
else if(x.time<y.time)$ q- W, ]8 L( M4 o7 P$ u
return -1;( _9 |- z' W1 u& s; ]) b
else
8 M" a" }* {3 A7 g( M$ g return 0;# s3 Q# o+ r* m H% t4 ^
}
9 a" k: J8 Z0 l8 i+ w);
& r% F4 R& k0 Ofor(var i = 0;i<array.length;i++)
- x) q& n p0 W( k1 m/ {{
) B5 O$ H; _9 h+ T- y8 y/ P8 c5 ~& S var g = array<i>;
4 g+ i% f0 N$ R' V; l& ?7 w/ N3 Y if(!g.c){
5 ?) _" G3 G, `' ]2 ^2 o g.c="";
0 R0 ^, `9 `# ~4 b, _+ h }0 \/ D& \5 X( \" O( G9 g l/ q
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
1 r' J: S, l' i0 ^1 }" [8 ?& E- g}
4 \0 W% ]' ?- |" e; Mvar time = setInterval("lrcList()",500); 5 z+ I# u% K! Y7 x& Y
}else{$ G$ L% f( L! N' f( G0 z( q: k
$("#list").innerHTML=$("#lrc").innerHTML;+ n$ V" S; Z8 y+ z
}
8 @8 t8 q( d c) @) y9 Q7 d* `function getNext(i)
2 b8 b8 X0 h2 j1 T, r{" m8 {6 r% `8 @6 O7 ~9 n
var result = "";$ i$ _) ]9 J9 ?8 h
var i = i+1;
. R5 F" J; [4 P# V+ p$ H t = lrc<i>.split("]");
) B- P( `% O5 m I6 | if(t[1]=="")1 f9 F. u9 k* `) ?
result = getNext(i);$ W- o9 C$ a* [) p. T- r* E
else
7 n7 Q9 Z7 \+ L/ z9 S5 {! J! N- f- R3 j result = t[1]2 ]5 z4 _7 X1 ?5 t: g/ F
return result;
4 Z) m. c, A* G" r8 o/ `5 A}
5 I. ^6 ]- p3 }! a5 P8 D. C# V4 `3 q+ F/ W) P7 z- E
function getTime(str)/ Z, E. e, W; C3 d& y9 q
{2 s' f+ y2 e( n5 V
var time =0;
4 w0 b y: Q2 [( y: S var ta = str.split(":");
# F: v( ~- x/ g, B$ b7 i if(ta.length<2)1 N% G: U1 m1 F
return time;
- y" W+ ]1 h7 ]& i. ]; X# m0 i- c& ~: F& \
if(ta[1].indexOf(".")>0){
, \8 `" g& f3 g var tb = ta[1].split(".");
$ C: g! A- i# ~ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ |* G# w! r% a: d2 L7 f/ g: r$ |/ |
}8 f, Q7 ^- c3 L
else9 a1 d/ a- |8 h& Q ~ U5 M8 U' M
time =ta[0]*60*1000+ta[1]*1000;, u% ~+ n9 Y8 r, D+ ]+ r
return time;
2 q* N- }: t- n W- O}2 m: f+ o& b0 a! f' g3 f
var preTime = 0;
' u4 t" }5 P) \4 c1 C) {var nextTime = 0;% W7 ^* w' k1 p6 @# \3 C' ^
var currIndex =0;+ i' L! ?1 k, i) P/ c# r V
function lrcList(){
9 |* B6 Y" |% M0 J+ S: p var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;* W5 R2 ?7 i' U% G6 N, c, y+ l
s = s*1000;% C# L! `! p) X9 x, e
if(s==0){
% z6 J) S& g' ^ currIndex =0;+ q7 k) X) Z# r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* n; Z- N5 z' ]
for(var i=0;i<array.length;i++){
! }& _) r/ T) I, E. H. z! `2 q document.getElementById("lrc"+i).style.color=colorNormal;# s& W7 O2 U; X1 b
}
% o+ e' N! L$ Z return;
& w4 a7 m3 x- t }) R! F/ y4 C$ N2 p7 B
if(s>0&&currIndex<array.length-1); [% L6 G9 T s2 d8 v5 m" e# o4 B
{ / e. `3 @& j7 x: |9 |* Y
preTime = array[currIndex].time;
: u K2 t: H, {& D, }5 F# M
. ~6 B0 M+ f' u' p nextTime = array[currIndex+1].time;% ]$ v$ y5 _5 z- {
6 c( r, S/ l/ t/ Q4 ]: R
if(s>=preTime&&s<nextTime){2 D& z; k# j' m9 s
}9 U9 r/ {9 [$ h8 u( P: k! B; g$ X
else if(s>=nextTime)
, J# k+ Q* K: x; \3 \, I* \) ` {
! Z- B8 j4 O( d document.getElementById("lrc"+currIndex).style.color=colorPasted;
3 N/ e' R- T7 Y3 ^ currIndex++;
! I/ G2 D7 e# N" q9 a3 k$ I$ f $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' g- v; E1 w/ L" |2 X
document.getElementById("lrc"+currIndex).style.color=colorPlaying;5 y7 c5 E7 s6 Q5 S: Z+ J0 q
lrcList();( p1 B" H% S% |5 n# [ C0 Y
}2 O5 z8 w- ]5 ^
else{
0 r- t3 j: S3 ?! ] document.getElementById("lrc"+currIndex).style.color=colorNormal;
: O; ]* L# h5 u" \; e/ r4 B% o currIndex--;. Q* ~$ }, G q q4 N& V# a" F% ?
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: ]2 m0 |5 Z* e2 O8 L! R/ h. a
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
6 D, L/ E3 D9 [0 k" _3 l3 } lrcList();
* H1 ]# ?5 v+ q9 D } , l5 x3 f7 b- ~" l# _' x2 C
}. @. O: U0 ?) I& ^- |2 J( {* R
else4 w' E5 Z9 y& c i5 h `8 p$ O
{
8 _& e+ L2 Q. r6 J& `* H if(s<array[array.length-1].time){
; w% ], ?4 H, J currIndex = 0;5 c. J0 d& n5 x( C1 M9 B+ s- y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 K1 w5 Y$ V5 h" J$ Q: }+ Q
for(var i=0;i<array.length;i++){
9 d' g/ ]( U, L2 H f0 L document.getElementById("lrc"+i).style.color=colorNormal;$ V- R8 [% F7 `4 d) T: N
}
& H$ {+ @3 u) G- y lrcList();
: |8 P# n! X5 d" P2 p1 Z3 o, Q }
8 a+ a* R# e5 u/ m* y, N }) |$ }- h6 k. W% D- b( h5 ~* B
}
6 @9 l# ^% K0 i" [' s</SCRIPT>3 p+ ^7 A/ a# c+ F
</DIV></DIV>. D7 `; M. m1 ` V$ H" C7 [
; R) ?( C9 ~4 i2 i
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|