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