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