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