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