|
|
<DIV id=list>
, u4 y' H% Q% B F5 w, {<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV># Z0 R% Z& R0 o9 Y8 ^# \" |* {( [
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
, O) d9 x; Z1 R5 Y! z<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
' s% M; Q8 \* L9 e9 G2 y) q! k) j<DIV id=lrc3 style="COLOR: #666666"></DIV>, D/ b# Y" d! J A
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
r8 f7 J2 k9 G7 D: [<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
0 m+ E) N1 ^1 `3 x; p<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>. V( L& c0 |6 b: E
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
) E; O$ W. y% R5 @1 G/ I. T+ y<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
5 }; r! n, V. J9 L: \# f7 h<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>' w: K; `6 Z9 d; D; I0 S' d
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
6 g1 w. _4 [! `( i1 |<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
2 q& d, V( R9 Y<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
# _' ]+ i4 s3 B6 n/ j4 a<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>6 u7 }0 N6 t/ a8 }9 A- n
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
: B- s; ^" ~8 A! D( W+ f<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>( G' x8 M1 Q5 z% U* ]3 ]4 w) C1 h% f
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
* K7 u: E2 u: b3 p% A* S. I<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>% c8 a( h, `( {
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>" V% B1 `% z+ J& e
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
! D. T- O8 s# K" i r<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
' c: f( i2 F) w3 K1 _- ~/ d<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>; X% d2 T9 U7 H7 q0 r
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>2 b$ P) D) e; t* B2 p
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>5 [$ {9 Y: @7 E* w$ E
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
) f9 U* M, _3 [1 ?2 g* s) ?<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
* @( |2 O1 Q3 s8 s: u' L% n<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>- W2 D s; n5 t
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>: c2 I, X$ g7 } m( e, T. h
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>( S- f8 ]! b- |" o) L( |
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>; N/ s! x3 M7 i* a! H
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>$ j8 P& W! n6 D5 b
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>, O$ K& E" @ a5 g- j; w7 F
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>/ \' e1 ]; z: _3 j9 ]& g
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
' x3 `# A2 {1 R7 n: P4 F- i<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>; J: J6 y& J$ E1 L# D! a, C9 Q: G
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
+ k* K8 h( B6 H' E5 O2 S<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>1 j. @& D" ^. W! N6 B+ Q/ R
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>" N; q+ \" H) a' T4 I/ S
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
& t8 h) S7 n1 a7 r4 R, t) ]<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
8 L, z; O+ i8 P4 r0 x<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>' B6 ^$ v) f9 f, H
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
Y2 y9 X4 ?+ U9 l0 U<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
. b0 P! M. `4 m- V<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>$ I! i+ `% M+ o( T
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>" W' S( L% C1 U% a* m4 l
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
. [/ ~' J5 F0 s<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
0 I3 |+ c6 J: p6 X2 [; }2 _: X3 O- Q0 k<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
6 Z! n# c, Y( n e( T0 m<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>9 b. d0 {3 A" I+ v
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>) R" F! F$ O. q2 U) u2 B9 k
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
3 t, K S: i7 k3 w5 R r$ D<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
; Q4 C, ^/ X# g. _, ^<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>. W* h- Q/ m/ o0 p/ ~9 T( a; }
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 * v& k% c- g6 p2 T& X
<DIV id=lrc style="DISPLAY: none"></DIV>1 h$ X7 O3 g+ g1 }0 F5 K0 l! s
<SCRIPT type=text/javascript>
5 y" {4 @7 X$ G; rdocument.domain="1ting.com"; d( W3 I& p' r9 ?3 C" J
var colorPasted="#666666";- d1 f; u* o, M7 q3 M
var colorPlaying="#ff3300";( _, v) \. M3 i' @3 O& _
var colorNormal="#000000";/ j8 U0 V$ U- m, Z- Z5 g2 d
$ = function (a,g){$ X8 t' g$ ~/ q$ [+ a' z1 ? t! c
var o = new Array();
u: f+ W1 B& @, X9 {; q var c = new Array();
% d5 P; k. y; T: s' {; } var r;
, f# M2 N9 ]0 g4 ^; u; x var u; 1 e, o' q$ S; r/ }
var a = a.split(';'); ! |) \/ ~: F( i: h3 G' a
: _8 h% u+ C- o* @. \; x
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");! G# w% M: |( p+ ?6 s
for(var i=0;i<e.length;i++){
* `& K1 R1 b. k8 @. D0 `; x2 U eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
+ M) v1 U9 v( N' ] k2 E }
7 k5 N2 u9 _6 p8 z8 L8 a4 o6 S) o' T' P4 V& ]: f. w
after = function (t,d,s){* ^( F; L) L# W% G2 M
$after = function (){
% G1 o' `+ G- i, [ var $n=document.createElement(t);
2 c- a2 h6 l( h' V! p) I" b$ t if(d!=null){- A/ G* b, m3 i- C& a
$n.id=d; " C1 y7 n. u* u( Z0 u6 y% ]
}
3 r, G5 C2 ]1 o; Z1 g7 C
5 f! b) R. [, M, O, }0 B% X) d u.insertBefore($n,null) 8 r" R$ T$ ?1 T! e, |4 c
r = $n; / z# G& }2 ?& u# q4 v# ]0 c+ ]' o# x" S
u = $n;
2 R/ Y, B( W& B" f% F% e4 j }- H: I) X. \% K$ T/ |. {4 b# g3 [! d
$for(s,"$after")
3 c2 w; }* K9 ?6 ]" s }
, n* v$ F |5 S* y4 R. j; D3 t% Z% x
show = function (s){
2 i u) g, u4 w8 H4 N# z% n D! z $show = function (){
2 H7 j2 y4 W/ ` u.style.display!="none" ? style("display:none") : style("display:block") ;+ ]5 P1 M9 t2 Z
}
J# Q2 `4 O* I: y1 [ $for(s,"$show")6 a3 G( b* @, N6 C
}
. {% ^% f+ f% R
9 ?5 ~3 S _# w2 {; s7 _, P" U check = function (t,s){" p2 i8 x( z" w R
$check = function (){- @, g9 ~/ d6 G$ `6 I4 b
if(t=="2"){3 h7 O1 F) e( J4 T
if(u.checked){8 J1 `3 ]: H# t. l: ?) b
u.checked = false;, r8 ]# {+ t8 [3 G
}else{/ r* W! P5 K# m0 \0 N
u.checked = true;
" p" `- Y1 [2 N; M3 W+ } }$ `, e% z d3 d Z7 w
}else{# @; K9 r3 U% y7 O/ k
u.checked = t*1 ;" s$ ~9 Z. u1 U3 X& [0 w
}9 x3 x: Q* g* }' p* G& N
}4 L" v# i3 Z: H' @% |" r* z
$for(s,"$check")
: T2 G1 c6 N$ s" C* P; v }% `( x4 }' o# h% y( F4 Y
# x1 q, j" x( q X2 N( z% S
style = function (v,s){
) n- r z# t, e! u% ^ $style = function (){8 O( k8 V: i4 B* h. ]
var $n = v.split(",")
9 r, N# N5 f, x# y* n for (var i=0;i<$n.length;i++ ){
. s9 m2 `3 K2 P6 g3 r. m2 B9 H var $m = $n<i>.split(":")
: ^9 b4 V$ a/ ? v eval("u.style."+$m[0]+"='"+$m[1]+"'");7 e. m; j: V2 D/ w
}
, G' f$ \$ ]% S% t& J$ p* E- u- w }8 Y* q7 I0 U' S) o3 k. v7 N; I
$for(s,"$style")
. W# ~. q5 m- E( D, U; f }2 q: D' D( K$ R) K
3 |& d/ T- V) E
value = function (v,s){
2 s# u$ H- X2 X/ f2 N, z var $n= $this (v);5 r/ [6 @* `& {& h; V4 u$ P
$value = function (){+ D) ^/ @5 ?! [- V4 X z, R
u.value = $n
0 v: f9 i. O: }7 V5 X" t9 e4 _3 C7 K }
9 H" Q2 s' x% t& ^ $for(s,"$value") ! [9 k# L4 F& R7 S; F
}2 r0 W7 V" ?9 C9 B
# M! `% a1 ~- u& r: }8 k' p text = function (v,s){
$ H. w- P9 L8 X1 m6 u var $n= $this (v);0 i/ Q: M/ @, Z$ U" b; b* R; G& K
$text = function (){
# i1 s9 b, l" ^+ t% l# R 7 C+ R( V; v7 {1 q, C2 S- X. a6 x
u.text = $n
$ w `4 K, V- f! T4 c3 ~8 H }: p3 G& U9 x( u* |- J$ c# J
$for(s,"$text") 5 |2 p3 D4 w# c- I
}, A! j. d( ^0 V7 c
6 C; C I, T0 u5 q$ Z; m innerhtml = function (v,s){
( H9 t' \ L/ i+ l var $n= $this (v);& [% F2 @- n ~% ~
$innerhtml = function (){
6 t- N/ l+ T! g. z3 C u.innerHTML = $n+ Z N& P* A' y0 v
}
1 |, t' m; W, i# L& M+ o $for(s,"$innerhtml")
5 ^) y9 o0 R# X5 y }
3 Y$ f- s- U6 ~8 N1 m- l0 Z + ? b1 D4 }5 R; C
removechild = function (s){+ A+ u3 o1 N/ R/ [. z% W
$removechild = function (){
, o2 q/ r- d3 f2 |+ h0 [ u.parentNode.removeChild(u)! U4 w3 z3 _5 B+ \: g
}
! j B3 I: @, L% b" ?$ u $for(s,"$removechild")7 P* J! ^, w' v2 @6 t9 j9 `! r
}9 G+ |& V$ y) }3 N0 W5 K
* |" f: e7 c! D$ ^! i* | $this =function(v){' [% x% ?; f: `6 D3 R7 @& s/ J
if(v.indexOf("this") == 0){( L# U, s8 D# U* x, a
return eval(v.replace("this","u"))
9 \; e3 x ]- g0 f }/ X( x" |6 {7 p" p( A9 M
return v;
) E( X) C* y1 U8 K- c! F% |% C' f }1 ]% F0 n' s& o3 w
~3 V: ?) Z1 Z
$event = function (s){: D- q* E: P/ V9 T8 A; T
var $n ="u."+s+" = function(){$work(this,s);}"7 O' L: I/ U# q" q9 \
return $n;
! l# R+ C- K9 x- x5 i# m6 z+ t# o, z }
' m( u, p0 a& E9 r7 X7 b* G
0 N/ G4 ?/ P0 p- P$ Z! e1 G $replace = function (s){
# `3 Y! D. U, U
$ I& S* O1 {) ]: i* c/ t, s }8 C) H) n" }6 n+ _2 T$ D1 }
3 D, B, I% B. K- t. l) A" J. o& s+ b $for = function (s,c){' y P5 x. b* i' Y
var $n="this."+c+"()" ;: g& X' o _) J5 m. f
if(s!=null){
3 A* R, |# ~& c9 J7 ~2 P# b. h# g% d var $m =$test(s);- }. c" _6 j4 E
for (var i=0;i<$m.length ;i++ ){
1 m! U! V& U) r" F b" R u = $m<i>;. w" j9 c) S, B
eval($n);1 D9 I# \1 P6 i7 B
}, N: L: w( G. ~
}) u) r2 ?9 L7 F
else{' a- D# G+ z% W( v0 ~. v8 n
eval($n);" q& d1 C& G# X* d
}; t( x* O5 D s2 G9 ^
} g1 \: @' l* Y
' ]- R* X* \( \7 ~/ B/ Y
$test = function (a){, U2 ]2 ], O+ b$ B h, Y# y! h
var o = new Array();$o(a.split(';'),o);
9 ]$ w" w' g2 a( l( Z8 l7 S return o;
! W% ?; F9 A. P1 P }
0 s3 x# k, t9 _7 @( O ~
3 C7 @, R- @2 K& @$ g8 n( o $format = function(s){0 m9 P1 J5 `1 j* G" w" B" x2 N
while (s.indexOf("'")>0){
# U1 m6 s, R3 S" v/ r; |$ f s=s.replace("'","\"");
& }% T4 l0 c- `8 U$ x }
- ^' d: i: n: b$ Q- e, ~/ i, a while (s.indexOf("][")>0){" ~0 s5 _0 P _0 b. _
s=s.replace("][","','")
$ ^0 u) ], n: C! y% V }* h! k2 {- |8 r+ O4 L, `
while (s.indexOf("[")>0){/ _# `( m( I n% a
s=s.replace("[","'").replace("]","'"). W4 R5 j, c {6 t
}
1 o# Q# M% l' F7 f7 {0 i return s;/ |2 a+ |! T$ d( C- G2 b$ F
}
d" Q+ ?$ [" ]" F4 A( v, }* z4 `1 ?2 H1 p: n9 D: d( }* j
$work = function(w,s){
6 c: |7 B) b) o9 t; e" Q( V u=w;eval(s), P8 @. Q3 a; l" d
}
\0 N( {) W& N$ }: i! R8 G5 h! u/ j; Y. W0 w u8 M2 e
$id = function (s){
; q% ?7 z) U0 t# Z0 \; E- U: p return document.getElementById(s);
& @2 Z( n, Z [/ f* K b }& `# q# C, x( F5 k
, y) ?1 E2 ^9 d2 W& b$ }
$name = function (s){! J- ~, a' V: m, p6 l2 i' Z( [; `
return document.getElementsByName(s);
1 z% v2 o5 I$ X, \ }. g! E0 Z; t: Z/ q& a }
( N1 M, K" F, P2 ~4 ~/ |7 ^; W $tagname = function (s){+ a1 x& s5 l$ u
return document.getElementsByTagName(s);
6 x9 J0 y$ @; E3 u5 J }
& ~* A5 o' x0 C( `' x
: d2 ?$ s' N7 d5 S# t; V4 U $o = function (a,o,c){( V2 G% n+ |. _ X. O' L: P7 m) r
$push = function (n) {
' g, r' W5 w; w for (var i=0;i< n.length;i++ ){
9 C/ O; g1 S8 Q' H2 } o.push(n<i>);
* G# D* ]# `& [) T: r }
, {0 n G. s" t' A! N }3 s; p2 x# S3 {5 R, w3 n
for(var i=0;i<a.length;i++){, t& z/ a- n2 j6 d1 p0 \
if(a<i>.indexOf("(") >= 0){9 S- n2 K5 z [% i D6 {
c.push(a<i>);
( L+ x$ S( Q$ I' o9 f* |- b }& I) H+ }0 \8 J
if(a<i>.indexOf("~") > 0){8 ?8 Y; ]! ]7 H- r. q" u) g
try {
3 x% _4 n% `9 ?* ^. e9 g& H $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
: b' K: ]7 Y& f$ `; Z }catch(e), X/ x; e# u! F
{} 0 j; u3 Q# Y6 H4 w/ L' e" H- Q/ c
}# L! U' Z S5 _; b
else{* ~4 r$ j+ u: @* i( [/ Z+ n
if(a<i>.indexOf("#")==0){+ Q! g4 g/ H o/ S8 ~
o.push($id(a<i>.replace("#","")));; |- J" Y. y& P' U. O0 I! G
}: Q. P$ r6 c- @/ ~' p7 x5 v' o& z
if(a<i>.indexOf(".")==0){; Q' c. H G6 t$ m/ \; E0 d3 e
$push($name(a<i>.replace(".","")));: c- w+ h$ h6 g
}# C8 o# o7 c) }% Q% Y9 z5 r
if(a<i>.indexOf("@")==0 ){' U2 n: D- a4 I/ y; i0 q5 C
$push($tagname(a<i>.replace("@","")));
# k! u+ W' t6 k" }$ Q }+ s4 k/ K" h( z3 l. Y0 g7 C' l
if(a<i>.indexOf("*")==0){
# a0 C; ? U$ l! Y $p= a<i>;1 @/ N2 E. B4 t K0 L& W2 ~& Q; I+ {
if($p.indexOf(".")< 0){, V+ ]; V- R# q
$p = $p.replace("parent","parentNode")0 b' D$ `6 c5 w3 g1 E; M. t1 T. \1 W
}
1 f$ W& e" a# g( o0 U( R; ` var $p ="u."+$p.replace("*","");
# x- T& g( y, @: p while ($p.indexOf("parent.")> 0){ P! H2 q: _( \! }1 M
$p = $p.replace("parent.","parentNode.")
: w4 j8 z& w9 z$ N$ f* B% C }* M' a& m4 ], J+ ^( A! |1 P
while ($p.indexOf("child{")> 0){
( \( I, D0 D. C3 S+ ^; M $p = $p.replace("child{","childNodes[").replace("}","]")7 b, S! A! u. i. p% \; b7 ?: \
}' a7 A+ C) }# S, \( P
o.push(eval($p));
w i6 @. A: o1 O/ r }; s8 s! a* D. x& O; [
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
- X% P* J5 u. T" P o.push(eval(a<i>));0 D+ j- ]: B4 G- \5 O B4 M
}5 a5 q5 G0 h2 p5 N. F V
}
% a6 \) E9 ^* M; ?: P# G if(g!=null){
3 m' a* ~% U S& v! E" z, Y" F( n o.push(g);g=null8 K5 q+ i! }: i3 q6 C: v) e
} # R7 d* N8 R2 a- N7 h
}" r4 {5 X+ }, T' r
}+ p9 \/ X! H, z
6 E) b9 L; {" Z( ^- J' ^ $o(a,o,c);
: d' I6 U8 j% w$ O7 d# V: t6 i! K- T( @
for(var i = 0;i<o.length;i++){1 w6 ?$ q% K( d$ M( K! I( s7 f
for(var j=0;j<c.length;j++){0 l8 X% k( G( T
u = o<i>;eval($format(c[j]));; _ \( @7 L( g' {" n
}7 L9 }2 T- L2 o6 D+ D6 Y4 E; x& {
}
- Z7 ~; y k' Y Y. J$ ~
" n7 y1 d3 t& E# J# o) _. W! ? if(o.length == 0){
" |1 A" w; q2 ?, I! g for(var i=0;i<c.length;i++){
5 d& Q# Z1 K5 h- x, U+ w$ F3 P eval($format(c<i>));
6 _0 `3 @" _( q }. ]) \' ?# K' w: F
}7 \( J/ N6 T- _, y& ^$ p6 r
3 w" m$ a$ f2 b0 U0 j
if(r!=null){
3 Z4 k& o$ ~: A7 `% n return r;. k! B1 h2 b" k6 c& N: c+ t% L4 k( y
}2 h. v6 ]3 Z4 I" v. K7 H
6 ^2 v0 M z. M3 G) F8 T- P if(o.length==1){3 P" @: R; z q' f% n T) L7 _$ O
return o[0];
, _7 b7 M. E3 z }) w, _* O, A2 K8 v
else{! k1 V% S: h7 V9 }! c ~; K
return o
! M7 ]; O0 h2 R2 R, J# h/ e! F! K0 E }
9 l; n% J* a3 h, v7 L" H9 ^8 u 4 U* O5 G: w, b- V
}8 Y ?- E1 u! j! T& Y
var lrc =$("#lrc;show()").innerHTML.split("[");$ E2 B( |" H( X- }7 R$ Q% m$ x
if(lrc.length>5){
7 h& x8 d. C9 Y) y7 bvar array = new Array();& e; y, j" C7 L; n' E( ?8 G' r! ?
for (var i=0;i<lrc.length ;i++ )6 U+ c6 a$ k" z* ^$ Y" p
{
; @ I2 Y# i5 _* Y. l9 [( W: L var g = new Object();
4 }1 O, x9 l. K( q* j9 ]* \3 @ t= lrc<i>.split("]");( i5 ~4 S! }& d5 ^
g.time = getTime(t[0]);
4 R* E/ H/ M& w2 I) a: F0 b if(isNaN(g.time))
4 o2 P2 S5 k& u U, u& Y1 [/ b continue;
$ E6 Z8 E5 ~8 H* p q g.c = t[1];. U' s$ F. d7 w- ?; U' D9 y
if(g.c == "")
- o! s/ r9 {8 [# `! h g.c = getNext(i);' n8 @/ m$ K c2 I( w
array.push(g);$ K4 Q* }4 G. l
}2 l7 [, V& {% k8 a. m* |4 j3 ?- u$ j. N
array.sort(function(x, y) {( }" C* i* W( g) L
if (x.time>y.time) & K( f$ F) {& A; K# W: m
return 1;
1 S& N1 i0 v7 p5 `; d: T7 V else if(x.time<y.time). o" x& s- V G ^
return -1;
/ R0 M3 y/ a! T% }7 C else+ L- p; e- b( Q/ Q
return 0;- W/ y& t+ j) G# Q' u ^0 S7 s
} 2 D% a* n: A% T
); N( {/ R3 M! G8 m
for(var i = 0;i<array.length;i++)5 S# E- f4 Y- ]8 q. f$ v8 b
{
+ t7 h5 a2 k$ @& {5 f& L5 k var g = array<i>;
: O: G* s+ V- h6 w1 y$ X2 n if(!g.c){
; E& b% D/ H- \) F g.c=""; D% Z0 c6 W3 a4 R, i r/ `
}
' H/ h1 q% y; ? $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
3 `+ u: R* [/ V+ X. @}
% S7 a* q2 @+ A7 Svar time = setInterval("lrcList()",500); % x. F: ^1 `1 `* J- w
}else{" S4 U7 i- \ y" u- m) o( Z
$("#list").innerHTML=$("#lrc").innerHTML;
6 [& Z5 ~' w5 D6 b s}
. x9 j: S9 E8 |* tfunction getNext(i)
3 J4 r$ W3 _. l3 c{! ? X" @5 p7 K2 V) [& ^0 l
var result = "";5 z- h' ~: \- ^# T
var i = i+1;
3 T* y" k9 b s8 C- z t = lrc<i>.split("]");
5 Z; I+ p* V" \0 q- l8 J+ a if(t[1]=="")( s# t- ?2 U" o0 K
result = getNext(i);3 l( g; H- z3 C6 `7 i
else2 G+ r: [. l, C n( ~
result = t[1]1 S+ e i" Z1 r" j6 u. b+ I q
return result;$ L0 F4 J8 Y- k& h x4 {5 l3 |$ _
}2 f5 ?5 ~% r: S1 {: L
$ y% d) L6 s+ u( A; ~
function getTime(str)4 p R4 b) _' ]5 @5 M
{$ X" f( x5 s$ U" X4 L+ ^( r
var time =0;( u9 [6 [' Y. A u$ a$ v
var ta = str.split(":");8 l" ~% o5 T5 E7 J+ G9 a3 ~
if(ta.length<2)2 G$ R+ [: ^( B7 x
return time;, w/ C4 p) ]- j& O( Z3 V
$ O# Z% K2 s3 I/ K% `: u$ K4 l1 @
if(ta[1].indexOf(".")>0){
+ L6 H1 U. r [; e1 p var tb = ta[1].split(".");
5 V7 P( t+ Q% @0 g7 x: W: }0 O/ n time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;; w$ l; B* z: c* X* l
}
: ?! ?6 d }& G0 Y else
3 Y2 g' D* I0 M4 P% [ time =ta[0]*60*1000+ta[1]*1000;
+ C5 C* x) f, p0 m$ w return time;, c. `; Z Y3 R& Z
}. S1 Y% o& k5 R w2 v% r. ?
var preTime = 0;0 x s% T& p2 Z- n* M
var nextTime = 0;
4 u/ h: ~7 v: W6 yvar currIndex =0;$ H9 R7 r. ]- j+ B
function lrcList(){
+ Z- w+ K+ b/ ^- u# T var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
5 Y' o5 j: v! h' G6 ], h+ L# ] s = s*1000;
% ^2 n9 ^; R K0 D C) x% M if(s==0){% _" c- e$ u1 ^( u: S( I
currIndex =0;0 o* R, X% F% \, n" Y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 m. G" Q& ]1 P' ^8 ?: y5 H" o
for(var i=0;i<array.length;i++){
& V9 w$ B. Q+ l, }4 `9 R document.getElementById("lrc"+i).style.color=colorNormal;
' G# I$ q+ }: {/ d }
* O% y5 {' D; T& Q0 l0 p return;$ }% B% v i+ i' T
}
1 F4 d! X& T6 I6 x1 U: U! m0 v if(s>0&&currIndex<array.length-1)+ e9 I& f9 [2 D/ |/ y! s
{ ' `5 S! x9 g; l! z- B
preTime = array[currIndex].time;
/ A9 f, N5 e+ n+ E2 Q
7 _# [8 i) A9 { nextTime = array[currIndex+1].time;7 q0 d: b" P1 `) g7 @. E
4 g& ]. o# e# b2 `# K if(s>=preTime&&s<nextTime){
" ^# K( n' ~- D' v$ ~ }& t- a8 v, F2 s
else if(s>=nextTime)7 f3 H! m2 `& u; N+ e5 E# J
{
# G L ?! u' z$ c document.getElementById("lrc"+currIndex).style.color=colorPasted;1 I, c4 I; T: O# t5 z7 H
currIndex++;
8 D( z' A# ?2 h) A1 h7 _ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; M6 |) L! p6 q$ }* C
document.getElementById("lrc"+currIndex).style.color=colorPlaying;+ M1 X# C+ V2 R9 j/ O
lrcList();$ ^- ~; U4 U3 x, P& O
}! X: |- H. m: t
else{4 y6 {- t; h: ?; C5 r
document.getElementById("lrc"+currIndex).style.color=colorNormal;
: v7 G, h& }1 a2 t currIndex--;1 A0 {6 `) N' [, b
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& M V8 i( k9 i2 c: c, B G
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& }. z$ k/ n6 n5 C! U, ? lrcList();
$ b9 o' o' }7 x+ M5 f0 O3 ` }
5 ~+ n8 y/ ]! m; x }- f4 U0 ]0 J4 b( a$ z1 k2 l/ L9 l& D
else
( t0 v$ L# t( {9 k! s {0 i! s7 I& F: o- V/ f( o' o$ P
if(s<array[array.length-1].time){# q4 S4 T V/ ^' u$ E
currIndex = 0;3 s# C6 m3 M9 A) @( I, X
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 b7 R/ s, j" a1 E for(var i=0;i<array.length;i++){
' Y6 ^7 a) A- X- N; r/ S5 d document.getElementById("lrc"+i).style.color=colorNormal;
. o0 J4 _ f; ]5 y Y, [; R }
6 |% D2 N3 A5 i/ w H8 J1 ? lrcList();
1 z9 A) Z5 ^" }3 J6 }* A9 }, e4 I }2 [/ i+ Z# m. r! K8 g
}
9 s. |2 P- l5 B/ X}. ^8 \+ }- R4 j( ~0 y/ X; v) j0 p
</SCRIPT>
( }" V* [3 _% r& D/ C- P</DIV></DIV>
, X* k& Q, q# c @, o9 F$ B5 n$ d
5 y6 I+ x0 T' I& h7 L0 o( y/ V8 `[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|