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