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