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