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