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