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