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