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