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