|
|
<DIV id=list>
0 w* i% k) J. @/ M1 ?/ C$ u<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>* A* H# t2 s i
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>5 L3 p& p/ E) R
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>$ P/ ^' G% A Z/ }3 z/ B
<DIV id=lrc3 style="COLOR: #666666"></DIV>( h Q# N2 m. m) r) J: o5 E
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
6 j+ n" T3 W0 m( \; L; m o9 H<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>$ Y+ e3 |6 d0 w
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>0 \; H u G2 _$ f, |: Z
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>2 g+ Z' |+ C" n. |8 |0 `8 ]
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV> d/ Z! P/ B: C2 L5 S6 N) E8 N! F9 n
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
% B9 g9 E# Q w9 r<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
+ z+ b T2 c) ]2 t2 y' Q<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>) s+ a+ R+ ^* m
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
+ O* \# x* T D<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
) ~- U* b, A9 ?<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>$ ]; a ~* P/ F; v8 R
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>' [7 [- ~ N, u
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>; \3 J! K5 _8 l
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>" s' j9 m4 H& X% i1 a0 J. w
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>% |2 S0 |+ p( Z8 C1 [
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV># T" d- a; `5 G U4 i
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
9 u4 w# _2 L/ j( ~3 y3 k4 P<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
# \% t9 L8 g+ F( V. ?<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>3 U) S6 g7 r! n5 B1 u N
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV> @& j, y! i: C" m: R4 N1 F# \
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>+ J6 \2 X2 s1 b( a" |; j/ r1 w
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>' X9 t* T2 O0 }- r, y8 y
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>$ t" F# h N) c
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
7 |7 |& M& @& P/ b9 ^<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>3 N& J# r! z( R8 C ~6 R2 T; V% v2 }
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>2 ` C' Q0 E+ L
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>" c! t" I; d1 k L
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
. T2 E' G9 ~5 D. s3 f2 N<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
: ]4 Z9 b) |3 y<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>3 k- O2 m3 i% q1 P& t% h, f
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
+ _3 E2 x( e: R<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
3 u w7 a2 H* ~' L/ n<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
& g' e- C( e# Q6 I! y<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
% `2 J$ m- b5 }+ F1 p4 E/ |+ A) K7 e<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>/ b2 q2 r M3 y* ]
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>( D+ I% n$ _( J( e( `- l0 x! E
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>" l! I( W# F( f) H' g: f6 P
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>: \5 ~/ c/ r9 p# e) c" {# w! F
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>3 J5 H$ K/ V6 l( ?2 J$ Z
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV> Z/ k& H; h/ Z
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV># F- @ X' r& a& q
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>: z# {+ u; |7 U# J: _
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>) H0 O2 l" n7 B7 w/ }8 `5 h
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
T- A; s3 c* K9 c* f" T2 v1 I<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
o5 C0 z- I8 u! U) j& K<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV># D8 N/ o+ ~4 _$ J# Y7 d0 A9 m
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
2 S6 O" x3 F) I2 }<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
- U" ]; `" i0 g; ~3 G<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>, r9 y5 t# E2 U" q3 ?
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
! v0 \ O1 q- _$ Y; o, R. Z<DIV id=lrc style="DISPLAY: none"></DIV>
" _) H6 J0 h3 J6 }<SCRIPT type=text/javascript>* A' R. e" B9 J9 j; p. o
document.domain="1ting.com";
. O$ l- j+ X. U8 O5 y( e" |) jvar colorPasted="#666666";: l1 d& W' a4 j
var colorPlaying="#ff3300";( @0 \; q E- i1 q0 L9 ?( a; B( A
var colorNormal="#000000";
8 H- t) A t8 p% M- v( ~( {$ = function (a,g){
* B, `' T+ I. j9 l var o = new Array(); 8 s5 ^1 w0 ]" E" s" `6 ^( a
var c = new Array(); * U. h3 K1 J& x0 c. \$ w
var r;
: v' F2 n* I" T, i6 C7 Y var u;
# G' K W9 j4 @6 { var a = a.split(';'); ( X0 X: k `( }5 Y; a
0 P/ i3 l7 |- ^0 J
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
* J+ ` m! E) |$ X% G for(var i=0;i<e.length;i++){
# ]7 t& s4 k$ v# ?: M0 k eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
1 ]9 H8 q8 m" l/ J( P% b8 e$ O }# b& a( u" C0 {3 s0 X7 ?8 t, e
U9 i# u0 r* i& _+ z0 i
after = function (t,d,s){" L# p; }) j5 Q- A. R
$after = function (){
! P. l7 T. P! ` var $n=document.createElement(t);
& {" @8 ]( C7 ~2 K6 e if(d!=null){
6 U6 M1 Y+ f* _+ K" h. U, A $n.id=d; 5 e O, q5 y8 }; E& X/ a0 y
}
% L4 n8 g7 _, _, m8 M# Y I * c# j7 Q8 G- J) o
u.insertBefore($n,null)
8 g+ l% ~* n/ Z2 [1 u/ Y/ g r = $n; * q6 z7 h/ E, f( T3 b. h
u = $n; ! v+ K# N' f& Z0 O
}! w# U( U7 A% I9 B8 f
$for(s,"$after")% i5 x3 {7 v9 v2 I9 I; I* Z
}
6 T2 R j7 \( y* y/ ?+ I" w% T6 r
# D0 d3 O, P; o0 E7 \) C0 h show = function (s){
+ y* W: q4 m- y9 F" C $show = function (){& E4 l& F) P" R: ^5 n& _+ o
u.style.display!="none" ? style("display:none") : style("display:block") ;1 r7 M0 y# a# V9 r& b
}
* m$ w. ?8 R- Q $for(s,"$show")
* N. t0 E5 k' |7 S. N6 w4 ` }
) k5 A% y0 g0 j- y: l; K
3 i" F7 H) [; h! f* q* p check = function (t,s){
7 _$ y" F/ y* Y& [0 i $check = function (){
/ ~" H7 r9 ^9 z if(t=="2"){
# k( l6 [0 Y7 T* S* X8 y: i if(u.checked){
m" E n/ N8 f6 L7 R. T* s) s3 D u.checked = false;; i- ~% C6 H7 L! v y
}else{% |% F# \ j1 M& P* ]
u.checked = true;
+ x! i, Z4 s% n0 ^/ @4 L& W }) f# j n+ Q7 j9 X
}else{
* w2 p# s; M' l' C u.checked = t*1 ;' u7 O. V+ _- r4 |. X
}8 j$ ?+ C* [4 H& w
}, F0 A1 x) f g3 Y# D: p& r1 Q
$for(s,"$check")
# N7 _1 w D; a( u9 B0 j" n }: M3 N9 B S" `! h, I
9 d+ f4 R, }- e
style = function (v,s){
! X }0 M8 `% m1 y# T- H $style = function (){
! R, p# w% f" W+ S" |5 Z% U var $n = v.split(",") 3 ? H% f' R1 e
for (var i=0;i<$n.length;i++ ){" l, ?0 c' U( i; x. ^, c
var $m = $n<i>.split(":")
' B% x! q: ]0 K6 u# x. R$ k/ E eval("u.style."+$m[0]+"='"+$m[1]+"'");8 I( J: d! R# h4 r6 i* t- _
}
- F f+ n: I' w. V; g }, g: n9 d3 l- L2 I( W1 X0 \
$for(s,"$style")' \! Y4 e! I$ J0 A: Z) \& V
}
( t- c1 M* S* C6 e' D3 [5 q3 B2 p8 ]1 Q- K1 W
value = function (v,s){% q8 X) B1 @1 q2 [
var $n= $this (v);0 a" C$ I( Q" s; U) D7 Z" \
$value = function (){* b) H$ A0 w7 A6 T* w6 \
u.value = $n
" [, L8 X U' \9 X! p) ` } o& k: b: Y' m/ [
$for(s,"$value")
- e7 C b. c; A2 h s, y/ f }8 ~5 _, b5 `! {* E& j0 h1 |
+ p+ ^/ P, Z) M- r8 s$ F text = function (v,s){
& z+ \0 C' [! g' |- l- j2 w, u var $n= $this (v);! p5 M) s) {$ r: M- b5 {
$text = function (){# s5 M( h0 m2 z
% n c; q% B) M/ |$ a" r7 c u.text = $n
( C1 G$ V) ^2 x0 o/ d3 r }
/ _9 x: `0 S$ m6 B $for(s,"$text") : K3 ]' o; s$ k0 r9 o
}
+ g! G6 J Q! K8 \
! `$ @( O6 J t/ Q innerhtml = function (v,s){' Z& E2 t5 E: d) H) o
var $n= $this (v);
! S+ v7 \, D% V% U4 W $innerhtml = function (){/ I7 D( y: c5 f5 K9 H
u.innerHTML = $n
* U( A3 P6 m) \% J/ ^ }
5 N% ~5 `. z7 p* ^8 ?$ v $for(s,"$innerhtml")& t0 Y% y; v6 p+ V1 ]9 f
}
' o8 ^* Q( t! q0 c( E * n# a$ P {, l& f$ C4 {6 J
removechild = function (s){% W" P- o; g0 W$ v& }- A1 K' E
$removechild = function (){2 U; `+ P! i$ d% |& l, N1 Y
u.parentNode.removeChild(u). U8 u2 Q% Q5 E9 Z, q6 p% V0 a
}
! u" d; }1 l( F% r* K8 n& G; r $for(s,"$removechild")
# J0 \1 b: G* r. L. ~" n }
8 |+ z& N- P; [
6 r8 L7 w% e; x& L* j" H; r L $this =function(v){! U: P+ {* l+ ?" V9 C
if(v.indexOf("this") == 0){( W( \" a, R. k) f5 j9 o
return eval(v.replace("this","u"))8 _( ~' R, Y: x1 B6 \
}* k- O+ \; a# t7 O( n8 G, f. P4 _
return v;4 T* J6 j' @! |
}
3 }7 y& d* v2 P0 I7 p
2 S1 f% h9 \8 B' F $event = function (s){
( Z* e( m- A+ K7 G var $n ="u."+s+" = function(){$work(this,s);}"- }7 T/ ~+ `! ^: B' u
return $n;
' A4 I" d# n! P+ A1 @ }
) y! \7 r2 e: `5 a4 |: R% k. l5 ?" B9 p) \
$replace = function (s){* x. { Z4 |$ t# ^6 o( U
4 t0 R/ m m6 ]& q
}
' }: y" j. Z+ \+ { a2 _7 M. l# h
$for = function (s,c){* E1 S. c& j3 {: x+ }9 O' _3 o
var $n="this."+c+"()" ;" e& u: S0 F% n
if(s!=null){
" `; k+ H0 i- Q A var $m =$test(s);
! j% q( K. Z/ L/ _: a& T9 `9 i, z for (var i=0;i<$m.length ;i++ ){
0 S- }' D8 G) m1 q9 N% T9 V+ k P u = $m<i>;1 y. V* o9 k" p" d
eval($n);
3 _/ g9 X2 @2 t$ N( [ }
( T! Z3 f+ x. E0 d }4 H# \3 _: n+ q6 p6 W
else{
' m) B* P# Q0 n6 N0 V+ ? eval($n);
4 W* _$ h) P, t# T }/ _* M" U( g# j, i1 I
}" o" ?6 i: s0 q" H
! T! T/ e h! P" C, F! l $test = function (a){
) R3 q7 n) M2 L, D* O var o = new Array();$o(a.split(';'),o);) d/ I9 w6 C% ^+ k2 F6 F
return o;, V& K, S- B% ?4 f. \# g' r
}, a3 j- q7 {# w0 A8 P
7 l" L8 \1 [( a F" x/ R" N8 A $format = function(s){
+ s9 `" K+ Y: J$ I( U while (s.indexOf("'")>0){
- V3 p5 z* T' q; `8 f* o s=s.replace("'","\"");: W8 E. H' j$ R: @* l" d9 Z' {
}
. k+ h. c. I2 r5 J: I- G: k) t while (s.indexOf("][")>0){% V% b, e4 ^8 b( L: n
s=s.replace("][","','"). U4 h& ^$ N6 K j& |
}8 n6 C) D: t1 Z, {5 e4 J
while (s.indexOf("[")>0){6 P$ j4 o7 b( p4 m K: C
s=s.replace("[","'").replace("]","'") p' J* R$ F% c% _; m" c+ ]
} 2 p& K7 I$ g; G W
return s;
J, Q% D$ p% u& h3 p0 b }
3 `. G+ C/ Y, Z0 u& o+ H: u6 S& ~5 b( u& l
$work = function(w,s){
1 [" `8 g; J3 h9 | u=w;eval(s)* j$ U6 S4 m' S, o1 M) W4 b
}
# g) J+ Q$ q1 N$ z, Y2 U% A; H9 b
$id = function (s){* m- `5 H I+ L" k
return document.getElementById(s);# Q; Z( v1 S0 ^( a; q; @+ M
}
* a1 p0 y$ I+ |: G1 q b7 ~! u: m: k3 K% b( e+ S( Y1 @
$name = function (s){
0 K0 J+ L, F, P$ y, h/ F return document.getElementsByName(s);. W1 S' s7 F( K& Q8 |
}5 l# K- `) {. n2 s) s# G
7 {& g; I! B2 y! E $tagname = function (s){$ L$ R$ S$ {1 P7 s* }
return document.getElementsByTagName(s);
: q2 ]7 _' V7 [ }4 \# _( d" @8 ^% b: N
6 S- Z7 X# ]! P d# Z: B7 T- } $o = function (a,o,c){ r4 k m8 U; K4 l
$push = function (n) {
4 d9 {% e8 D* F6 O for (var i=0;i< n.length;i++ ){
% _8 R2 Z3 T9 o3 w& U6 M; ? o.push(n<i>);
; E( k" T) ?# n6 l- G }
. @% Q( m- ` S" p' `& ? }4 v" V2 S0 [. D0 h! Z
for(var i=0;i<a.length;i++){
s q' d# K- ?7 d' F0 a2 p if(a<i>.indexOf("(") >= 0){ Y" i ~) V5 ]# ^( L3 g1 B
c.push(a<i>);
) @ Z* f$ p* d: P }; ^$ Q/ G" t3 C+ Q
if(a<i>.indexOf("~") > 0){
- ^$ t. {5 ]+ x( _# c0 V try {
2 b( Z1 W. r: o6 k& L4 T $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));3 ]* O! ]& G+ ~8 X6 |& j
}catch(e)
" V7 C4 M/ d* K, x {}
/ n% ?: u( N* P; R }
) v) t3 B5 z$ D' h, c else{* Y4 z" U( k0 E9 Z' e
if(a<i>.indexOf("#")==0){
7 ?* L$ \+ D8 j3 u# \" ? o.push($id(a<i>.replace("#","")));( ?1 L$ q% G6 H0 t& m, g7 V, f" L& P
} O" P. U( g: o; @- A. ~# A
if(a<i>.indexOf(".")==0){
& h2 Y) d4 D8 S9 `+ `* h/ f $push($name(a<i>.replace(".","")));
) }: l4 T, k8 F( B }
" X, R/ K. Q; E if(a<i>.indexOf("@")==0 ){
0 W3 x5 u8 v& w2 J5 o: B H $push($tagname(a<i>.replace("@","")));
; X# ?/ A1 D( H7 b; c) n+ J }/ y( \6 B; V: R; H7 c; K
if(a<i>.indexOf("*")==0){
. t* f$ D3 K' P g) i- K $p= a<i>;
) d' a6 X+ v& c$ K. c9 d; N- X if($p.indexOf(".")< 0){) r0 O" l- Q6 F8 t4 U3 j
$p = $p.replace("parent","parentNode"): G M# G! p9 y8 Q1 A( `; G, t0 t( q
}
( T' @; _: a' L$ }8 F2 G var $p ="u."+$p.replace("*","");9 I: |2 b! g I% f! P
while ($p.indexOf("parent.")> 0){
4 g2 S1 [ d' Q/ M3 V $p = $p.replace("parent.","parentNode."): T: p3 h: `: a
}! }; e% A8 s7 i& q- ^
while ($p.indexOf("child{")> 0){8 l E& I8 H1 o0 q* q3 r
$p = $p.replace("child{","childNodes[").replace("}","]")& S: O4 A4 m: M, I$ ?2 u2 U
}
1 M! u4 x' p8 i4 J5 n5 z o.push(eval($p));/ h* Q! ^" x8 w! L& T3 H1 |7 G
}
# Z+ e- p% `- b. @( h if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
# L& Z5 }3 d( F4 ] o.push(eval(a<i>));
) e4 l. J* d1 Q9 }' r, i+ M }
# Q, C, X7 Q4 f. G1 x# L }8 K% e/ m4 y) Y/ k. y
if(g!=null){
- {1 _& K7 B# m; C F o.push(g);g=null& |' Y% p" V9 c U
} 6 n N2 W! Z( ]9 d) T0 [8 x ]
}/ f. i+ Y2 o* f4 W- v
}
; ~1 A* i/ i* `* t, L
# `. V2 O, [# \; K: a $o(a,o,c);
" _, C! `1 y; u
% a/ j3 m' l1 p4 z9 O: g for(var i = 0;i<o.length;i++){8 U- s# v/ V0 C) ^6 r# e4 {' a `
for(var j=0;j<c.length;j++){
3 ?; W8 S* `3 `5 J$ A, o u = o<i>;eval($format(c[j]));' w0 t; O5 a$ L7 _7 M# G
}, X/ G/ D) V1 O: V2 }; Y3 k3 Z3 R
}
9 {4 i) B. V1 X) O* ]' L) A4 k5 y1 \0 j
if(o.length == 0){' i' K" ?1 L. ^* P
for(var i=0;i<c.length;i++){$ J- I+ a+ S, U, M2 x9 D" W
eval($format(c<i>));: L: E0 g1 G0 \3 W: {5 A
}( W+ }7 R9 ?/ H2 K# u6 e- t2 W7 p
}/ {5 N* }0 u# b, T; V! r. |' N
. y* K+ o3 T$ N/ V, Z
if(r!=null){& \; _# J4 L6 l* @& a
return r;, T1 H2 e& ]+ {3 G9 s1 n2 `# D
}6 S$ U8 c, b# B% c5 {3 `
6 v& v7 Y1 D, X6 c if(o.length==1){
; [, d4 d' A8 i/ S, ] return o[0];
. u6 r+ F1 h F) Z. ]! a5 h }
; x, [2 f* ?+ ^, c) X else{
+ \: ]( S0 l- ^% C u$ R return o; q* d/ S8 q/ F, ^: }: u
}
9 ?6 R- G4 C+ q8 T& M5 B: a8 m 3 u7 Z# c$ k1 e) i% p' I& j* w
}/ w. F4 L) E3 B& J1 m4 O
var lrc =$("#lrc;show()").innerHTML.split("[");
. p0 l/ Y, K& [1 }8 i# Cif(lrc.length>5){
0 h% w0 H' t& x* _, kvar array = new Array(); l" H' y, R8 Q$ `$ W
for (var i=0;i<lrc.length ;i++ )
- y* ?3 ` i& c/ A: j. M{. T/ ]) ]2 p" Y, ] u( Q
var g = new Object();
$ S! T! {( }" N* T9 t t= lrc<i>.split("]");$ q U2 j: b1 V& r4 m
g.time = getTime(t[0]);. G9 L- F& ~3 S5 a6 g% a) m7 _
if(isNaN(g.time))
- o* I* r, w( b" M# L continue;- p# D9 u& v; z V0 {1 D; F1 @
g.c = t[1];- W+ `. i. X* }* ?" i4 K0 r' P
if(g.c == "")
2 F0 d* v, e' H4 r5 H g.c = getNext(i);- e, y, W5 V. o) t. [+ }
array.push(g);( v x1 r9 h7 b& o0 G
}+ Q6 p R4 V/ ^# C
array.sort(function(x, y) {0 M ]2 u# o3 t W: e
if (x.time>y.time) 0 ?, @, N" m6 N* R
return 1;6 h6 _/ u9 E: W: _. R
else if(x.time<y.time)$ ^5 @9 H! ?9 b/ r) |. d2 T' [( h
return -1;8 ^7 H/ @4 G' J' j& h9 [+ x
else6 c% Q. _' A. v4 {
return 0;
% \( D ^9 r @" ^- o }
. h+ l# L( C6 }' b; P0 @; Y: r! X);7 ^1 E: z0 G6 b+ @: {. V
for(var i = 0;i<array.length;i++)% j! B2 ^5 j2 X# S( }7 I2 d5 P. d
{
2 ]5 Z+ t8 u5 c( r var g = array<i>;1 @+ d7 H6 H5 _. j" Y8 c7 S
if(!g.c){, z% m! K0 f' {
g.c="";% m- X8 n/ _1 ~; z2 p8 p
}5 j9 Q* h( x2 _8 |0 j" k, l- U t
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";" v$ G+ I. r2 E5 E- b
}
; [2 g9 @8 W- @; j: H9 Y. G/ S. lvar time = setInterval("lrcList()",500);
1 l$ g4 j- ^0 a1 }}else{
: [, j6 l7 K, o3 S1 l( C* @ $("#list").innerHTML=$("#lrc").innerHTML;
: |! a; q/ a% R% ?3 {5 k}% g4 b; W7 d, `% n% e; P: L
function getNext(i)
! D1 r( }7 G5 t. @{4 o+ j8 ]8 G5 [) |# d: K$ q
var result = "";
! M, C4 ~+ c/ [( a8 Z; ^" m: L var i = i+1;
9 v+ G0 r. i0 L7 d$ J- c, ` t = lrc<i>.split("]");
/ l0 F0 I# F. l, b7 l; F if(t[1]=="")9 H0 F( f$ _! z+ o2 R3 u. x% \* s
result = getNext(i);
$ O% v8 K5 Z W' V4 |( Q; O% y+ k else7 L; A& g; O, Y( A
result = t[1]( m3 b/ U9 i9 p3 w, X
return result;
+ [ p' W0 J/ m6 g% G}) ]7 O6 w9 T1 D
" Q+ E: i. s& S/ F3 y0 p
function getTime(str)
+ Y; p- B' M3 G3 c$ A) M# Q{3 o% X/ G& e( X, D, ]% ?
var time =0;: y! O0 F7 ~% P
var ta = str.split(":");
6 m/ _! w: a7 g# K# l7 Q. V2 b if(ta.length<2)' t9 e* N. b; z7 r
return time;. I; ?* |! p: u; |
5 H# U9 M9 e, t. H E: W if(ta[1].indexOf(".")>0){
, R- N* x4 E& D# K var tb = ta[1].split(".");$ `% w0 `$ @9 c. f. S
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
\$ ^% r7 s7 W3 S: [. } }
8 T& w5 X3 g; J7 w else" S" x: R+ d% U8 A
time =ta[0]*60*1000+ta[1]*1000;
0 e' q: X$ M+ m9 [2 D5 [3 E! |0 W return time;
5 H7 Q( |* t5 C; L( B4 w9 [}+ u+ W+ C3 l& W3 P
var preTime = 0;4 }9 C# W% Q/ X0 x/ e3 N
var nextTime = 0;- M. M+ t, P8 c# c: d
var currIndex =0;! Z7 j/ S! r6 X) |- j) W4 I
function lrcList(){) y( D$ p3 A4 D9 O0 C7 Y
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
4 q7 C- G4 p1 V s = s*1000;
1 l0 C Z5 f3 x+ K- N+ o$ v if(s==0){
5 U+ i% v. V$ y5 D# g currIndex =0;
* k+ W Z. i( O $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ |" ^* g) V( B4 Y( `
for(var i=0;i<array.length;i++){
$ U) }6 G5 s: i document.getElementById("lrc"+i).style.color=colorNormal;* J1 y4 Y" Q' A) w) P3 t
}3 p+ p+ q5 o% e* U. u) n# R
return;
J5 a- D, h0 H8 _; H u }
: n0 E7 ]3 B" w ]$ g* r if(s>0&&currIndex<array.length-1); t' _3 D+ Y4 \% c" P
{ % i( `/ a& j6 j, t
preTime = array[currIndex].time;0 n H9 m, g1 j8 t2 |8 Q! ]+ L
5 ~8 g' p( u3 ~9 L a e nextTime = array[currIndex+1].time;% |3 Q9 ]; v# F$ z
3 i {: g2 ?9 {* _ r" B$ I3 }
if(s>=preTime&&s<nextTime){0 e; x) G( @0 ^/ a( ~
}
8 T, [* [$ @. Y8 n- p/ j else if(s>=nextTime)
% t \7 y. ], a, [" t {8 E( ^; V0 m4 w. g
document.getElementById("lrc"+currIndex).style.color=colorPasted;" I, D) }% Z( r' N0 f* o
currIndex++;) _: t( O8 s1 O9 K" D/ Q/ S1 T2 H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 n* q# a' |+ {& Y6 I0 _3 \% j
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
' a# A" h( i7 }3 a3 ~( f- E lrcList();
' K4 ^ f( q# |- ?8 W! H: d/ y' M }
0 Z& A* {1 M6 B; g, L else{4 o/ M1 `- D2 X3 V# ^
document.getElementById("lrc"+currIndex).style.color=colorNormal;* ~3 T a3 b$ S. T: w, j% z
currIndex--;: A. h. q* y* K0 e% V* K: @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 F, z/ L C5 M% {" i
document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ _6 i& f* f4 A* ?' ^8 Y% K
lrcList();
& I& i' Z9 p+ ^, {- Y& { }
- U, t$ b" V# F& b3 `; S }6 R- ]8 U, \1 e x3 _
else
) Y+ F5 a, K9 Q: k+ ]0 L {0 d Q% U! M8 ?
if(s<array[array.length-1].time){
( }, R8 u2 H$ T$ p6 C7 g8 o) E currIndex = 0;
7 G9 e0 d* M. N0 M, c) R& i' k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: R; u7 r2 S' \
for(var i=0;i<array.length;i++){4 M8 b; J/ l7 u1 R9 p+ \* o
document.getElementById("lrc"+i).style.color=colorNormal;6 `7 S9 v' Z/ F+ D4 a& ]/ w
}
! `) E ]6 _: X& Z) o lrcList();, G* V6 Q. w; R; b
}& M! {/ ^6 z2 K+ r5 I& b
}. C; Z& w/ m3 [8 i3 L6 b
}' ^3 {4 H/ C6 C. e$ W! L
</SCRIPT>
5 r$ ]: ^; h* Z4 K" z2 B. w</DIV></DIV>
! R, o' ~+ d, z7 N) A9 ~. J9 ]7 a7 s& o
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|