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