|
|
<DIV id=list>8 `% f% s; j' S
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
8 M' u% k [% |# q# }5 T<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
' d: O% z: K; B3 Q$ m2 ^<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
+ Z+ |) v+ {6 n. C. k5 a8 \<DIV id=lrc3 style="COLOR: #666666"></DIV>- k( Q" p- `6 | C
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>: {1 y0 ? U r9 a2 X8 w9 R
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
! ?: \! T% D' y<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
6 v) E& u% X& F! H6 r4 U7 G# ^<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- K; K; L8 S6 T ~' r
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>2 |. N- K Z' Q4 \8 [5 \* p
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV># ?' R5 E/ X) { q
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>3 r- X6 }8 C, H: d0 D" f8 K
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
. [8 ~ {3 V. B A- F# }<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>: V' `0 K& W+ H8 W
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>1 m5 C4 H. {" C2 U9 p8 m, m
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
' \6 C9 E0 `) c2 w<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>3 U$ n0 T2 R% N! _5 Z7 h/ K
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>/ x) ?+ k/ B8 F9 K$ C: Q. J2 f
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>5 [# w6 P9 E# }7 U; I
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
, m2 ` H9 {: c<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
+ m9 V! x y" R& N! ~<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>0 c( ]8 K) H; M2 v9 }
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
' P4 |" [3 C4 w: }/ V<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
, E+ z- C! ], M% O<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' [) I8 n6 S( _+ o% `; I. V
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. B. E ?5 r2 Z) x) y# a, d
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
x/ C0 @) k( l9 y<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
9 V n3 E0 g7 ~( g. g$ P<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>$ [# |' i5 Z- n( [/ F6 S
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
5 @+ A1 K6 n% p/ o. P- x. Y- Z<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
0 k; G1 T- F. n3 i& [$ _<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 W6 r9 I* F. j<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV> b# h, T# p# r( o- a
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>5 ~) T% s4 f4 }' X5 g' G @( b0 ^# D
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
. o6 r0 d% }4 d- s- K& ?, a4 D<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>! L- r7 u7 E* m" ?& Y
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
# Y4 u: R' }! K+ [# P<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>* H- b* I# m5 k; N S) F1 |) F$ a
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
2 b, ^; r5 o6 r5 @# K0 ~5 o<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
& b* I$ i5 i Y/ M7 E<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
6 s6 m8 T8 u2 e% P<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, D3 G) C, u& F6 b
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
; G3 j5 ` h6 `% |1 N0 t" a<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>: s, [7 M( M8 y/ j9 s
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
. n% e: h: S8 h" C% y: B# [<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
2 O" T. C- ?0 p, s9 @<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>) |/ _0 N2 c& e/ p8 P1 [
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
2 N5 Z7 X& U! r' [, c! w<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>; Z8 l' I5 i. r
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>! c' s4 ?8 K2 j9 V$ P9 F
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>8 n% l! C+ t% q* m
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
4 l, ?4 A8 h, z* J$ k8 U<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
! m) f% F7 l7 U; m<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>+ r3 I( M+ O0 | ]9 y9 K
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
5 w$ f B8 V+ K0 V: [<DIV id=lrc style="DISPLAY: none"></DIV>2 W/ e% ?( }& n: }; E
<SCRIPT type=text/javascript>
6 s2 d6 K/ s. \! x" f* ydocument.domain="1ting.com";! D/ n6 v( [" G6 r# a
var colorPasted="#666666";! |4 ^+ j5 w$ Y# k$ @
var colorPlaying="#ff3300";
* r; b. p4 I) [( E5 o$ Qvar colorNormal="#000000";& L8 z. Y, r# e# L2 r* x
$ = function (a,g){; E; O: n& M0 L
var o = new Array();
. N; | V0 v& }' t( h var c = new Array();
1 q, t4 q9 M& r& E4 O var r; , X. s) X, f: v: g! b
var u;
) e% r# D; c/ j' W/ O' F var a = a.split(';'); * ?" k2 _8 a2 W7 Y8 x
) d1 a; d! i5 X4 x& n8 @: m# j
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");0 U7 E; ?+ f( \, Y
for(var i=0;i<e.length;i++){
! Y8 q! ] C( j. c eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
8 r6 q. ^$ g3 n" y% y" h }& ] S/ [; l* J( o) c' p' G$ h
" y, h# e$ p0 ]( j- M after = function (t,d,s){
6 w1 p% n1 S6 S+ J0 L, e$ u, F4 r $after = function (){
B/ L4 X5 a( ~# f8 r. u var $n=document.createElement(t);
" H3 b! r5 y! @% ~ if(d!=null){8 E# e8 f) k3 [( d, \& |
$n.id=d; % C& ~+ ^# r! g$ ~" |
}8 e0 U& o" e2 ~' ~1 k5 \
" f8 b2 V% Z* s7 ~: Q
u.insertBefore($n,null)
" o* Z) c+ N6 ? r = $n;
6 j3 l2 [& z' F) Y/ { u = $n; ( f- d: P* m+ i) b
}" F: B1 v1 M& N ?. T
$for(s,"$after"); ?* c6 W, f5 e% z+ O
}5 o/ y8 Y# r* n2 y& J; Q. L# d
) d7 k& W; i- j# [ a show = function (s){6 B1 W8 B- C% V3 k5 a) \9 y
$show = function (){
0 r) v- ?4 V. E& j u.style.display!="none" ? style("display:none") : style("display:block") ;3 b3 R( X0 W# {' ~& w: h
}
- k' I. P4 W7 Y/ q5 X $for(s,"$show")5 t1 w- \& O' ?
}
6 L7 k+ K9 y* d* z7 `$ Z% u5 x3 X
& m: D+ y8 m/ Q, s5 \1 L8 z check = function (t,s){1 p1 y9 Y: b6 x* w& D+ @" K& B2 _
$check = function (){, y# B% @. p5 f: z2 a
if(t=="2"){
* l4 q9 Y3 a: ] if(u.checked){
2 M* |/ Z. N9 m$ E u.checked = false;
' F+ W2 M! n# p7 X# D }else{
. J* A8 X+ g t/ C* Z/ _0 D u.checked = true;
1 [6 D$ R. H$ P, A: C1 M3 h }
" X" W+ Q* @5 A# k* t& s( Z! X }else{
4 _' z, v% S+ e6 } u.checked = t*1 ;
& ~% G9 O9 p4 _# K }
5 A# P7 u& b& I$ W( H }/ T4 p) K# A. ^6 b: s
$for(s,"$check")4 Y2 t* S* b6 T, }
}# p. K5 s/ d1 S, l6 a/ S
; F' t9 G! L% }0 l style = function (v,s){& T" ]; g+ o. f0 H- N1 {! n7 s
$style = function (){: D( x% y5 {5 q* a- K$ |' F/ c% F
var $n = v.split(",") - z- E' J8 L# q! F. y+ ?7 m; U
for (var i=0;i<$n.length;i++ ){
8 q5 o# m- Z/ o2 L& Z var $m = $n<i>.split(":")
2 P, \8 P$ Y8 }: z eval("u.style."+$m[0]+"='"+$m[1]+"'");
% q2 z G7 f% m2 u) k) l }5 U9 d! X/ M+ i" X. k% A* z$ z
}
0 W& A X' i. N5 n) L# Y7 j$ @ $for(s,"$style")
6 E X! |9 ^0 i6 T1 C9 ?* j4 w% n }" B) j/ \1 l5 C ~+ d8 }' p! w
o3 u$ G s" h3 f value = function (v,s){, u9 U* U( U. `3 k
var $n= $this (v);& W9 L) x8 E1 T6 h/ ?' w2 D
$value = function (){* Y+ J0 e" J% U% s/ x9 t
u.value = $n
' d5 L& }/ N% B# k2 H }
- E7 w" ~# O/ e $for(s,"$value") 4 ]" G: J- m( y
}
$ Y1 y: Z1 x# X3 F* o, R# L
# Q5 n T4 n' N* v* ?, {8 m, ?5 j* | text = function (v,s){& A/ M0 }( r9 ]: k t* h
var $n= $this (v);
! ?% e8 k0 B$ O+ g8 i $text = function (){$ U1 ?$ d! R4 [2 [" F' R' m* C
. @6 ~, p% R" o9 K
u.text = $n0 { ]7 U8 p( d. D- T0 _: X5 V+ B
}" B% O [! X5 ?# H! a6 f. \1 y
$for(s,"$text") 2 x" t. B) i; p0 F* B
}
! `3 i+ P6 f0 ^3 _: U( U0 P0 e) T; Q* \* B8 \
innerhtml = function (v,s){; P+ N$ q$ R$ x4 Y8 v& Z
var $n= $this (v);7 B4 b# Y) i0 g2 y( n
$innerhtml = function (){
* m/ _6 ?4 W* i2 R: o$ F$ i$ F u.innerHTML = $n
2 s5 L# d+ w+ m! Z7 |) A }3 T' t( I9 c; _, N: l/ x; N. H
$for(s,"$innerhtml")
, N# r7 H- K' h. P }
/ G/ b, N# J' D1 \5 r& ^) l5 o; M+ E/ ` 2 r2 | t2 z% Q4 c, l9 S1 _9 j
removechild = function (s){
& z H& h+ @ \ $removechild = function (){
# Y) ?( F6 m7 x3 }. x u.parentNode.removeChild(u)
% H1 i; P/ [8 T m, L( J J }; z* a; D, m3 C# V) H: q" n+ k7 v5 g
$for(s,"$removechild")6 c8 A0 D. [) g/ B+ `* V l
}
+ V! [! E; |# N0 Z* Q3 D. o) N% e5 R5 C6 @" ]
$this =function(v){
0 ^' t6 m: W6 o8 B H/ n if(v.indexOf("this") == 0){
/ c/ R0 m; |5 B- S" Z, J return eval(v.replace("this","u"))
c7 @) K. A" S! { }3 z- {8 o- a; o/ j
return v;/ X0 P1 N; c9 z* x" M" H2 O
}8 o8 B5 P( D3 s% F5 z7 E
5 o( u3 H/ m9 L3 z/ r6 {5 E $event = function (s){
$ ^+ w3 t& m) d, }% W9 C var $n ="u."+s+" = function(){$work(this,s);}"9 [( F) Q3 f0 f
return $n;
4 X$ F) O/ n2 E+ b/ T8 x' V }5 t& l+ F& U' O" j' V
# {4 S% \6 ?9 Q9 p# e# g $replace = function (s){, L1 D2 E8 c( P* n
1 S- y+ i3 J& s, f) \ }5 V9 A# |( E/ ^1 F( ^: a
% E0 N' I% E% F! q4 O# o, A O $for = function (s,c){
( W$ P: G8 P" e9 }5 q' t: X var $n="this."+c+"()" ;6 A; ~( }( ~& l/ E" f" z8 {
if(s!=null){
: M2 w8 P. ]2 [ var $m =$test(s);& e) t# u) x1 V2 `+ |
for (var i=0;i<$m.length ;i++ ){; W7 v6 v! `) s9 u4 ^3 S
u = $m<i>;9 Z% b% C5 P$ `- H7 E: E K! t. L, i5 K
eval($n);
5 Y7 O$ L# f0 y: r" [ }) O6 W9 B3 c8 c% _- W/ W
} l6 q5 a4 j+ M3 S- J
else{
; I+ R+ o4 ?- L7 w3 _ eval($n);
1 Z+ ~6 _! ]- c. O3 k: |: S }
" E1 _. H% ]1 i4 I( }1 d7 M3 [* p }+ N0 z5 s9 B! d: c- g2 s
' f% `7 [* y. Z n8 v: u. ` $test = function (a){
8 }0 A4 c" u5 w1 M- p& m# R var o = new Array();$o(a.split(';'),o); ~; N9 c) `3 T
return o;
8 A# S( M/ ]/ i9 R3 C2 I }. ?8 E7 V G# r& l3 R" n" t. g0 i
7 h/ Y1 q) {: ~3 b% x $format = function(s){9 O. L) }- b, F
while (s.indexOf("'")>0){- _/ i$ e( @8 e6 }. \% H, h
s=s.replace("'","\"");
8 x: O7 G7 b2 F( m& f. Q }- I* q; {1 i) i3 o, Q
while (s.indexOf("][")>0){9 f% B( P4 Z# u+ }7 }7 c) r
s=s.replace("][","','")
4 \+ g( _* p+ C3 l; _* W& A ], w }0 ]- D: d2 y! `3 C7 w! w/ [
while (s.indexOf("[")>0){1 x" e; x2 N* G3 g
s=s.replace("[","'").replace("]","'")0 R2 o" S& F/ K0 C! F
} + d, }5 k7 v% y0 b4 }
return s;
9 [4 M& i" u9 l) s# ?: o) ` }: ~" ?& B6 `2 v+ i3 i C
4 ?, t5 z5 o' q
$work = function(w,s){# b0 I$ m$ f( V; I
u=w;eval(s)
5 C( @' f7 K2 L }
( ~, G- }8 j: l+ C/ k7 p
5 K3 N* v& M# J% S& ^* N $id = function (s){
' P7 |. k1 E Q return document.getElementById(s);
$ v/ S5 G/ P r& ~6 w4 R }7 V9 l' J% B! M6 a S
0 R" L+ p* r# x5 D $name = function (s){+ U9 z% L$ D$ u" t% q J' T
return document.getElementsByName(s);7 Y# S! @5 K' C* q, h; t8 h
}1 P1 F B7 h6 A$ h# X/ {
4 d6 t: c6 U2 r& e: r' n9 i+ m! k
$tagname = function (s){$ r" |' h e4 r: S/ C
return document.getElementsByTagName(s);2 q' ]2 X# f8 C6 q! p7 u4 A2 L
}) K9 K, g- ?, t4 t( ~2 G2 a" k
. P# B9 X, p" c2 ` $o = function (a,o,c){
' g. n7 H8 h8 \7 Y3 r4 ]% z $push = function (n) {/ K7 i* B/ Y6 c# T' ~
for (var i=0;i< n.length;i++ ){
3 J1 J( l8 [+ J' e# b o.push(n<i>);
' `- R! {! i L; ~7 T } - [ P+ D& q$ T
}
" M" u) J* v( z! P. C for(var i=0;i<a.length;i++){1 P: h8 i# P8 L$ g) M+ i& H/ z
if(a<i>.indexOf("(") >= 0){
+ p) ?/ b t0 `" g# U3 Y c.push(a<i>);2 _1 ~( ?2 Z# K
}# i- f, k- T8 ^3 F# g
if(a<i>.indexOf("~") > 0){
: p0 j- t' b4 U- D& K; W try {! u; r3 L4 R: V" H0 p4 Z3 N
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')")); v/ ~5 t, d; R2 Y9 z. \
}catch(e): C) |. P8 e0 u7 |) x
{}
0 k' ^% r o7 @2 W4 W }' z6 c k4 F2 |: s: W& ?
else{
4 r0 w6 H J9 g9 R6 k9 [7 } if(a<i>.indexOf("#")==0){2 m" B) |/ k( `
o.push($id(a<i>.replace("#",""))); S6 t0 k' G* o, N, P
}' n8 K4 F6 D5 P; r& f. i
if(a<i>.indexOf(".")==0){$ S9 b$ l$ L: f' e- b
$push($name(a<i>.replace(".","")));" L _& v; x, o* z& Y/ K& ]
}' @6 P0 N) }& s5 W& \2 ^
if(a<i>.indexOf("@")==0 ){4 l" v* F5 q& S7 T: i8 j
$push($tagname(a<i>.replace("@","")));
4 S2 D! Z! @0 _ }
3 Z( H2 \, ]) o: b4 A* | if(a<i>.indexOf("*")==0){
" a( y5 g3 z1 i3 U- v z $p= a<i>;
9 y4 J, a) Q# n V if($p.indexOf(".")< 0){/ g" G9 l, w& w7 o& g3 i5 R
$p = $p.replace("parent","parentNode")
; R+ K' q* l7 W! @2 G% p3 ]; G }
v" W6 ]3 u+ c: l& c! ?- L var $p ="u."+$p.replace("*","");# s7 n: o4 N. |* W0 e# P, f. u
while ($p.indexOf("parent.")> 0){
1 G# v- V, g6 @ $p = $p.replace("parent.","parentNode."): P) |% K0 }% e
}
" |. d! x7 f+ `# @1 Z$ O while ($p.indexOf("child{")> 0){1 {* N8 T: K, Y3 D' `" E' Z
$p = $p.replace("child{","childNodes[").replace("}","]")
0 B* I7 Z. q/ _8 G' E% B/ v6 h) L }( X- f4 A: Y; `/ v9 M. ]. j
o.push(eval($p));: F& {" ~3 t8 Q$ `4 B* U- \
}5 B* x- K, b4 a
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, p/ c) I: [- h
o.push(eval(a<i>));
2 L$ K r3 R/ Z0 r, P ]( O }. m. b- S. }* ~3 t% o; Q% S
}3 A4 {2 Q$ g) G4 R
if(g!=null){ + f8 |2 t" @( ~) _
o.push(g);g=null
+ H S* l: R$ p }
0 r( C, H( n; A1 G }
! z v6 u' t0 N9 t) g# u& [4 y+ i) @ }
+ y6 `8 b4 Z. Z: w t" t( G8 D
# E/ L9 n4 z5 V7 m $o(a,o,c);. `+ o ^ @; h# E; e" m
- l4 p5 x. S" V( s6 h l: U2 H for(var i = 0;i<o.length;i++){8 {1 N: M- Q! s; \4 [# \7 e
for(var j=0;j<c.length;j++){ y( c3 K2 A0 p$ f
u = o<i>;eval($format(c[j]));9 M) ^ [# v/ f* |
}
+ _9 @0 ?; l _& b; Q# Y: e }
1 Y. s: t% H6 N. n4 T% g/ w! r! {
% ?8 ]4 D8 K4 P5 t/ L if(o.length == 0){% G6 y4 K* E! {5 l8 ~: r
for(var i=0;i<c.length;i++){
9 D0 g9 ^2 B8 z/ u- I/ j eval($format(c<i>));6 g$ c' c+ B" a3 j
}- J$ a% g$ @2 |) E) W. L( p/ M4 P
}) |+ }. g! a+ e
- m) `4 X' z$ p2 {
if(r!=null){. b( R$ i. K/ J: D. x& j; I/ u3 f, x
return r;
8 i* [" o0 F X; R, T }
: ^/ H4 T, |8 F) Z" a8 ]8 J* p0 {
/ J; d/ K( N5 x9 l if(o.length==1){6 D2 @4 M5 b; K! h
return o[0];
: s5 m2 c( r/ \: m' ] }. X' _1 F3 c+ w- R
else{: [2 m$ C2 M7 v/ u' v5 v
return o8 G' y1 ^: H4 _$ F
} ; n, c+ K$ a' P; ~( O) o; u* W3 n
5 a. T; x# S9 Y/ M }
- L: }& W3 \2 Yvar lrc =$("#lrc;show()").innerHTML.split("[");- s6 \0 C' M3 m% z) t
if(lrc.length>5){ {; g C0 Q3 m. p
var array = new Array();; B* u+ b9 J' K5 A4 n7 P6 L4 M
for (var i=0;i<lrc.length ;i++ )
, ?% m! Z: Z" e. s, E a{0 T7 {% r+ M3 P' ~6 d6 O% a$ y
var g = new Object();
& ^; f$ Q6 t$ B" W0 U+ D0 @. P t= lrc<i>.split("]");
" j0 O; C# u. E9 z8 [ g.time = getTime(t[0]);0 J7 b, N) f( X! ~& g
if(isNaN(g.time))+ @/ X3 C( B* y/ ?& ]* M8 ]
continue;
$ C- U7 z: P% f9 ^# `0 { g.c = t[1];0 K0 M2 g! Y2 j6 p8 p+ H
if(g.c == "")
* {& K1 T; W% U$ ] j g.c = getNext(i);
( H+ N$ V0 a+ } array.push(g);
4 Y5 ^: }7 v* j! L: y' P, C}
& Q* V5 T5 C% V$ g, I& i5 \array.sort(function(x, y) {6 O) ^2 c" o7 w4 d }/ ?
if (x.time>y.time)
+ _! f6 O: l6 b9 |$ t# v ]9 ?/ F3 V. N return 1;% F' K3 P1 C2 O) ?9 D
else if(x.time<y.time)5 {4 p. H3 P& a, j3 `. E2 B
return -1;. P9 r; C) j. i. b4 ]. f% E% {
else
0 V+ R9 f6 h8 n3 w% U return 0;6 T2 D4 i0 N. @) D" k- d
}
4 P7 @% ~2 t# B3 A6 b% f+ p);% K0 K7 [! h8 ]( M
for(var i = 0;i<array.length;i++)
v, N2 |( E% ~1 D5 U{% E1 N0 i1 q+ |
var g = array<i>;
/ `7 |3 }$ W; I0 c& ] if(!g.c){; _# |" c. M. U6 C
g.c="";
$ |3 f% B* z3 q$ E' [$ G }
8 x* E9 A5 y$ T( A3 l $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";- X* V) S4 l8 `( ]: L
}: @3 b3 t& W8 X
var time = setInterval("lrcList()",500); 7 _4 J# O2 A9 e! a
}else{
7 L3 m5 D1 S- d, u7 W- }8 Q- u $("#list").innerHTML=$("#lrc").innerHTML;
2 |/ Y* Q+ b$ ^1 `" N( i}
5 q- }- B; e2 p$ C: x) q$ Wfunction getNext(i)
; Q% q2 \8 z4 u% P, t- X{8 s0 K" T2 {) H/ w! }$ {+ F
var result = "";/ P. v, z I4 S7 J
var i = i+1;6 b' I. z! Z4 o2 Z; s
t = lrc<i>.split("]");0 b9 {: n0 u* v- p f, e
if(t[1]=="")( p% b( E& R% u# ^
result = getNext(i);
% }% S' q1 f& O else: m7 h4 e+ u5 l/ y5 s" O
result = t[1]
) g3 s3 I0 R; |) C& j' Z1 o return result;( z' K& q& G k# `" O* a
}
1 f$ P/ i8 a6 C, _: z) @1 } ~2 h7 `9 f' [- ^3 \4 d0 H
function getTime(str); F r- u5 h7 r4 n5 P0 p
{
* [7 V* d. _9 g var time =0;
6 F8 J& H, V U9 N9 s var ta = str.split(":");
5 N2 l/ }. Y3 y if(ta.length<2)& Q+ j; w' i5 C5 y
return time;4 y" W7 x( T, q/ t, H
1 h# ?6 r1 l9 Y& C( k: h if(ta[1].indexOf(".")>0){- g5 J7 m7 F5 j f+ Y6 }0 X3 y
var tb = ta[1].split(".");
; J; P) G2 b% Z8 G$ t6 \ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
( Y- |, \; H0 h }/ D& {4 V6 L2 s3 _
else( M o1 G( g, E( k3 m4 |3 ^
time =ta[0]*60*1000+ta[1]*1000;* {0 q7 k* S, J3 d/ z+ R0 P+ _# G* r
return time;
1 N9 Z8 R5 @* S" L( ~/ q}
, Y& d% q7 _2 R! A1 V( Fvar preTime = 0; e& }2 Y. Y4 }7 p x
var nextTime = 0;+ t, b9 A8 I! u" n) X
var currIndex =0;
. @ X- h1 M# |# z9 _function lrcList(){* j4 q) l% ]2 d. _. L% M
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;$ E3 ~) P9 n U. i! D
s = s*1000;
( X/ a: c- _0 k4 h1 F if(s==0){- c' w% y2 d3 o
currIndex =0;: C1 q) A- R$ H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 s1 j' X R7 H for(var i=0;i<array.length;i++){
6 `/ @4 n6 d# V9 U# w document.getElementById("lrc"+i).style.color=colorNormal;2 n, r% }( |; C" W/ Y
}
, K% S. x; |+ y% ] return;" b4 H; U8 Y$ q
}
0 y3 T' V5 L* C0 |5 \" g9 C& n- }+ S if(s>0&&currIndex<array.length-1); W0 a8 K) w0 A/ `
{
- g9 o! t6 K9 Q1 Z G- I preTime = array[currIndex].time;
& @: M4 {8 S6 u$ ~
9 R5 @7 J, T" a3 Y& @. Z/ R5 W nextTime = array[currIndex+1].time;
( C! T( s: A" ], Q0 H0 _ 5 A; ]8 H: z8 y* F
if(s>=preTime&&s<nextTime){; Y( [" K% y4 Z$ D% j' \ @
}
5 _4 Y1 Q% v' i else if(s>=nextTime)' u9 X1 \ j% d; k2 O& e
{
/ @: ^. Y* c, ^6 N7 \ document.getElementById("lrc"+currIndex).style.color=colorPasted;
* [( ?' ]- ?# ^7 m o& S, ]% ^* [ currIndex++;" @$ a6 C7 S+ i, J3 E( J, @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. U- F6 S% w- i document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 h' a, d8 r; S( s0 z$ d) I lrcList();
& K1 u) s) y) j }4 O: D4 `/ F2 s0 H
else{8 J' v& M$ J7 g3 n \6 V' w) B
document.getElementById("lrc"+currIndex).style.color=colorNormal;8 ]) s c+ e0 o- M8 T
currIndex--;# ^3 i3 E4 M# o# y k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; \; Q0 Q/ v8 Z; P, _
document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 n; q& g$ G; k7 x1 f( ]7 v
lrcList();& h1 m$ D! y5 G# {) x: z9 P& d
}
) K7 Q' c$ y* S5 [! t( \' s) r }+ Y% \5 ~5 b A) r: z& O1 s
else
5 {4 B: T# k5 Z F {2 z N# v H; S; g7 k
if(s<array[array.length-1].time){
: Y; w9 s" P: U, Y( p$ E, z currIndex = 0;* F, C% R7 M# @" B% u( z5 X
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 N+ [, @- }; e& t/ E" ?
for(var i=0;i<array.length;i++){
$ L. @- l3 L }9 A) F! k8 G7 [1 | document.getElementById("lrc"+i).style.color=colorNormal;2 n# V9 |7 |8 Q7 a' w) [! U u
}+ O" G; G. W' h3 _: F8 T
lrcList();& x7 M \2 ~9 {# [$ d9 y
}
' y# F' ~+ D4 \ }
$ r: g$ f5 `. P/ t+ D$ x}
6 I. o+ F% c$ Y+ V3 X. U' s4 x</SCRIPT>
' W, _# e" p" i& O</DIV></DIV>
9 V& N; z+ [5 L, x
9 g+ v u* w; V3 s5 K3 L[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|