|
|
<DIV id=list>
; }8 W4 S2 Q% I0 h) Z: L<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>+ P& t" b# B \; W
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>7 {2 ]) Q$ M6 Z5 N: z! L m
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>1 w2 ~- U- P: p5 ^* t
<DIV id=lrc3 style="COLOR: #666666"></DIV>% g" w! c. |8 A1 C0 r% m
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>: p: v' H, F0 k- u2 G
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>& y% g5 x N, \
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>) q8 c7 L+ }. P" N, j
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
- K- ^& p0 Y K) F) B2 l! a<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
- b: t* X$ ?( I<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV># w+ \4 q2 a) S: r O8 G+ Y' U
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
$ q% Y8 J! k u; o<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>8 D$ N) U4 A9 H0 _2 r3 P
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
9 X' o9 H# c4 t) P<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>) O) |! x, { @, `% |% ]+ f9 ^8 z
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
$ t. P E& G6 R# I<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
5 u, t0 ]+ X+ c<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. {" \5 b* G( d: b5 U# r<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>- G; h7 w `1 r o9 U
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>0 N: _7 T1 v g" { [4 E$ l
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: |9 h% _+ _& }* Y7 a/ B<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
# Y7 s4 e6 D" D/ ~ c; l7 h* c b5 C0 w<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>3 _0 i" p1 Z4 V7 d1 W) L
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV> x; Y5 a) K/ F, ]/ b
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>- S% P0 d) f2 X
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>: t! {8 \5 F5 g5 S7 b
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
' ^9 w9 W+ n. \; i2 M. Q) L! g<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>( g% r, r3 q5 Y0 t% b
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>2 _7 \& f) x, N( h, z
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 }2 x% G! a3 A( M" c; f
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
4 _5 Q" N; h# `# M<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
4 L* r6 i/ p: V3 v6 N<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>( t1 Q H; A0 _: V: N- A
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>: l1 r1 i$ ]% Q# ^' k# N
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>: M& P* [% P7 f! z+ A
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
8 R' S" ^+ B0 A- ]2 W<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
5 o" [( b3 e* p<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
8 B* n9 y, Y- j; N# \. J* |7 |<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
5 e/ F! s* n4 |0 S<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
: Q; i7 f* q) f N<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, |) u2 L+ u# ~0 z
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>/ G q/ q( L2 b; m9 @4 H8 S' v
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
+ g/ A$ |( ?$ J% Z4 l, K8 H, R<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>" ?* s0 f$ X4 m+ ?/ T
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
' j' G" k" ?2 S- z* n, _<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>' y# h+ w8 p- U) k* u
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
7 U. j+ W. R; y<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
* r2 S6 E0 M. r; ?% `, z<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>7 i- K/ u5 z5 A
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
8 x" \' ] J. q& I4 |<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>3 a: i% U; U$ i
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
- _+ X# Q, [1 t8 ^) N<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
: b: N& d/ p* U& ~! O! Z% r<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>2 _; Q+ s& a; X2 V
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
7 I/ q1 e* @! |. A5 E& g<DIV id=lrc style="DISPLAY: none"></DIV>
2 l0 |* b! c" S$ U+ U, j; |<SCRIPT type=text/javascript>' i: ~2 u# }9 Q+ _& [' _
document.domain="1ting.com";' f5 W+ K5 h- R' z
var colorPasted="#666666";2 @4 v7 F, v) L2 m* {7 X
var colorPlaying="#ff3300";) h# u! y+ `, \+ S: I$ L
var colorNormal="#000000";
+ m2 M' L6 H' n, |+ m7 i# d$ = function (a,g){
' E0 B% ]# C1 u" x' ? var o = new Array();
" x; a L! v6 O G' b var c = new Array();
7 j7 j3 ~: T0 O' Y- a; }, T# p4 r% e5 \ var r;
+ n9 j6 U5 P, {7 p& @ var u; ' Z% B1 w& x, m9 U: [
var a = a.split(';');
# W0 S- D6 e( U/ n1 c$ C% R' n& y5 H* ^
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");4 Z+ q+ s- u8 r" x+ A, x
for(var i=0;i<e.length;i++){% ~! U+ E; k4 M0 }* @( P
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")) Y0 `4 }& g9 s: J
}
. G4 K: _" q' n) {
/ r/ B" X6 O( Q, @2 }6 x after = function (t,d,s){
: O' p+ C$ l; y, S: p9 }* X $after = function (){$ x4 b+ }6 s2 M+ J% i7 r/ K
var $n=document.createElement(t);! p; i6 T/ d9 s0 c4 v3 ~& i3 @
if(d!=null){' z2 F2 g1 ?& r2 }& S
$n.id=d; : Y5 ^! G- [4 C6 a2 F& e1 ]
}
1 p( [( P0 ]9 m7 P- U! b! x , q) S5 V1 b' _0 ~) R {5 z& R7 b9 T
u.insertBefore($n,null) - T! t: O# y2 h( n
r = $n;
: z6 h7 J9 J! g6 N, r3 C% I! r0 s( N u = $n; 8 m/ H1 Q- B5 u3 _4 W7 `
}$ f6 d$ f# \; e4 R
$for(s,"$after")* r* J7 |6 ~2 o) c) s/ |; n9 L a
}0 u/ |5 q P) t: h M; `6 V1 y
( c' O5 p+ a2 x% w4 |. i
show = function (s){3 W: @ _; H, v* g) A5 |
$show = function (){7 w( ]6 b: p8 S, n }: R$ C
u.style.display!="none" ? style("display:none") : style("display:block") ;
[8 b0 r/ c) x8 S! W }# o5 y. ~% N! Q5 M1 Z) p
$for(s,"$show")& ~" L& l+ H* y7 R' U$ C& Y' o2 Z
}. e9 |( f1 a) Y+ }; F3 Q! t7 N1 Y
2 w( K3 r5 F9 h% @# O% N9 M" Y
check = function (t,s){) f& X4 f: _* E" j+ ?
$check = function (){
# y( z+ G- Z; L/ V if(t=="2"){2 H. h) B7 ]6 |5 j# {5 A5 S
if(u.checked){6 G5 w; ~! X' Y; A
u.checked = false;0 U0 M9 d }8 N4 M: I
}else{3 n( u: ]8 k8 _& y0 c
u.checked = true;# T) h x- r$ m+ `- l" n9 }$ s$ v
}* C; c& M5 U2 j; O$ V
}else{
! k- Y$ o$ W0 W& z/ D* x u.checked = t*1 ;
2 d6 `/ N! f3 c( G }
) t5 k$ z/ ~8 t/ h }& U! f R; |- @. C6 ] H6 M- m8 \
$for(s,"$check")
8 e7 G9 _1 R# P, { }2 j, N( M+ |$ h V+ c
& S, i: y1 X) \4 X style = function (v,s){
7 V: R1 v. `: g% q, f $style = function (){" o! @0 G' v# Y2 o% [
var $n = v.split(",") 8 W* E7 y# V" r+ \) T
for (var i=0;i<$n.length;i++ ){: E+ @: r3 X0 @
var $m = $n<i>.split(":") ' }2 f- {: E4 a0 ?5 a
eval("u.style."+$m[0]+"='"+$m[1]+"'");
" L# D2 t/ R: a3 f4 o( g }7 Z. `$ L* n7 q- M
}
# o- }% Y( g' ]- ]( ^/ l, V: o $for(s,"$style")
+ z3 | ^$ p6 D+ t, q" k }
- z6 x4 |0 L6 d
! `+ h9 P: p0 [% z( ], C. A value = function (v,s){
% p$ t: Z! W0 _8 G var $n= $this (v);
, I$ v5 i2 c7 u n% [ $value = function (){
$ k8 C8 V- \$ G" o, S u.value = $n
J% j4 u8 I. u }$ h* i" {( w! j' _ w* \
$for(s,"$value") L$ ]+ Z' c& z* J6 @$ S. ]
}
$ Z1 [# p, z: ^- k0 G
. l+ y9 f) ]5 P9 B7 X8 ]$ r; I text = function (v,s){
: P/ u7 E- {0 F9 O# R+ U var $n= $this (v);
+ p* u# b* J3 |" q2 R $text = function (){
. E, f. U' z4 p3 F6 ^3 A
0 [, H9 L% y* U: R0 _) r$ G( V# c u.text = $n) w) R. k" C8 R' T( V/ E
}
2 u# u# h7 ^" l. C7 m7 k# o $for(s,"$text") 3 ]" k0 Z2 k# \: X
}
7 t6 H/ y; \# T% E8 \% ]
7 ~% \& n( y+ y% R0 E. }. ~ j innerhtml = function (v,s){
$ H) O. X8 z! Z1 J var $n= $this (v);+ w& w; Z3 p# J) R
$innerhtml = function (){
/ ]9 C$ w# T' ]- A' U& H" h u.innerHTML = $n
: z. i T8 G/ {. d4 b( \ }5 j" a B* P1 z) C2 \5 B) E
$for(s,"$innerhtml")& @1 m% T B0 N, J+ L5 I% f7 E
}
9 C$ Q8 m! x2 C . ?. {# @' U* E ?3 V9 M* R0 K
removechild = function (s){
# X& v% M a- n. ~6 [! R; p $removechild = function (){* z% v0 v) N5 t2 L$ Q# J1 J
u.parentNode.removeChild(u)
; S3 x# L* |1 b* ~6 M0 ~, R q5 H }
a& a, b8 y! X $for(s,"$removechild")& s/ s7 i! l7 N' B$ c' h
}2 ^! \0 E) e% U* F, e6 h3 b
?0 ?7 d# W( L
$this =function(v){$ S& r, o$ ^' m! f/ p9 A+ o% }: [6 f9 A
if(v.indexOf("this") == 0){# E; M. h$ ~/ X! b$ L8 Y3 c
return eval(v.replace("this","u"))
- H& `6 R6 o* t1 P4 C }9 T( t, ^, V* G) @7 V6 e
return v;
: s/ M) a0 J. E' T% S }
# I. g# }. e; q' i7 q4 o% N1 f! O6 A, w$ N) D Z x! z% F
$event = function (s){
& q2 y2 @* ]0 y' ?* r var $n ="u."+s+" = function(){$work(this,s);}"9 t8 s5 B* z4 @
return $n;) I- j/ d6 \6 k) C! _; W
}8 e2 b8 J8 p$ i6 m! t( @( d0 c
; m. I- i) f6 g5 { $replace = function (s){' W y! ]% E5 G% m* y. E3 o
+ f8 e6 _0 \: s, Y; U9 T }! w' ^2 N) f% S7 F' m
2 K4 B' S4 h% I $for = function (s,c){
6 d( \# |& u/ t) _" f( a var $n="this."+c+"()" ;
9 x1 {1 `% x S# N( Q, s if(s!=null){7 m; K# z* d k: Z9 [
var $m =$test(s);. |! r$ z, Z4 l6 B% D0 {0 V
for (var i=0;i<$m.length ;i++ ){ p+ X; z h. @7 k9 I
u = $m<i>;
* {! h$ F# r$ j* U0 B, ]$ { eval($n);2 p+ N9 J. I5 I
}
3 G5 k8 b, S9 d1 _% ` }
) `5 A; [0 g9 [; y* `; `% K else{
. H9 ]1 h5 h" b eval($n);$ `- i' D" ] G. c$ q
}) i' B% I. k: {; a6 l- f$ c+ n& k2 [
}& F6 w) L4 i5 d. P/ f5 |4 D
% O2 B8 M8 N# n$ z# _ $test = function (a){
% N- C5 @1 q# {) f, C* j2 ] var o = new Array();$o(a.split(';'),o);
' \9 z) D8 T5 G2 x% F. T return o;6 [9 y; s2 g! J1 p' D
}- n4 U6 x9 w* X9 X8 l# O
8 j8 V& Y2 g* L3 V5 a
$format = function(s){9 o. M* i& ?. r2 z
while (s.indexOf("'")>0){
/ n5 S2 A. L- B9 [% o: u; l4 w W- ? s=s.replace("'","\"");+ L0 J) h: Q0 y# g( Y# M( l* J8 Q$ J" F
}# @9 t, b+ h/ I3 m
while (s.indexOf("][")>0){
% z: d! L+ m& m5 f6 a h" D s=s.replace("][","','")* Y0 Q; d1 c/ b- _$ y% E# Z
}
) R g5 b( d2 f: k" ^2 o8 j$ t while (s.indexOf("[")>0){7 | E1 ^& Q1 m$ L( Q ? a& G
s=s.replace("[","'").replace("]","'")7 T0 v( `- l7 c9 l5 a( o
}
) \* q q! q# j2 z N return s;/ \2 X5 ?/ w/ X5 f7 i
}5 K! w, q+ {: ^) l$ C
# B7 P3 T8 k* s2 ] $work = function(w,s){" [9 M$ U4 }5 B, F5 F3 L8 T
u=w;eval(s)
" f N D) I( i( h; o0 A% { }; }5 L/ R9 M0 s4 S- K7 v
/ a" s4 k5 L9 M& k5 s $id = function (s){
5 z3 J9 @% |( V4 `6 M) C return document.getElementById(s);
$ r. d2 y2 m. r }' i4 ^8 w$ L2 d7 c7 c
# F; O* `1 }& u5 R, S" W $name = function (s){1 X( J" Z! z( A
return document.getElementsByName(s);; v% g9 g/ |9 ^# Y
}
) U2 }: `2 d# N: T/ s7 a% u
; b$ o$ } P/ K. o8 x6 e $tagname = function (s){3 [; \6 r- {$ D- g# b% q( _+ V
return document.getElementsByTagName(s);
. C$ J& ?& _2 P; | }
5 v# E$ l5 K: Y* o# |# v+ |6 |/ e/ H s0 H
$o = function (a,o,c){
% \7 V+ e) L, Z" x% B5 }9 G $push = function (n) {
- u, S. o# w% `$ \ for (var i=0;i< n.length;i++ ){4 ]3 j6 p& k& R& \
o.push(n<i>);/ I0 r/ b5 h" s. a
} # f/ e! B0 b) ]+ B" u Z
}0 p7 ^2 ]' q$ S) G: \. ?; ^
for(var i=0;i<a.length;i++){6 J- B- }4 F* M& T* N1 D
if(a<i>.indexOf("(") >= 0){& B* z0 D4 C" s. D
c.push(a<i>);+ ?( [ Z0 n: w. ^! K8 }& E% e: N7 U
}- Q/ d! Y! Q i. |! R
if(a<i>.indexOf("~") > 0){
, y' F- a7 b9 |; e try {
/ T. e* W( r: O+ ? $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));0 _( V! R$ G- }4 w" J( q, C1 e
}catch(e)
. g. A3 c( O, g# B {} 7 F3 q" P% m- F/ r" p# c9 B7 Y$ ~) z
}0 d1 v# R9 k9 v5 r% N V6 _
else{
5 U- T; K r$ W* a6 x6 s if(a<i>.indexOf("#")==0){
3 L. @+ a+ S6 {/ w o.push($id(a<i>.replace("#","")));
: y) I. y" \7 ]* k) m }
, B) i0 l! ?& T- u# @ if(a<i>.indexOf(".")==0){/ A# `" a. g/ D4 t j
$push($name(a<i>.replace(".","")));
$ }' O, G( H7 x$ i9 l- H( W7 X }0 N3 Y4 L3 I+ y8 b8 v! C) x7 s
if(a<i>.indexOf("@")==0 ){
/ B) m7 l" D; O $push($tagname(a<i>.replace("@","")));, O) s' ]2 }& [6 v/ {' V0 y
}
6 {6 {; L/ h( Z. W8 {4 Z; t if(a<i>.indexOf("*")==0){
) {) W0 E, U& E' _! A $p= a<i>;# p. [$ Z' K3 b& j! V
if($p.indexOf(".")< 0){3 ]7 f# m6 I$ U& z4 l" ^# |3 G# L
$p = $p.replace("parent","parentNode")
9 Q* V+ Z' H6 u1 }! D }
2 K6 Q) F1 X; Q, H var $p ="u."+$p.replace("*","");
/ a* K; e9 q& _0 O0 E& d while ($p.indexOf("parent.")> 0){; U( O# Z% o' h* G) x# l2 `& a
$p = $p.replace("parent.","parentNode.")2 n8 l* O" i! r `, i
}- T U" q- V8 A
while ($p.indexOf("child{")> 0){; e% s* N3 {% u# N- b
$p = $p.replace("child{","childNodes[").replace("}","]")2 }. f# y y5 G/ K; Q3 o
}
J4 c; @& p( Y2 H0 W) C! U2 T o.push(eval($p));8 n4 n3 N' e7 i7 p$ S; O. c- y" Z6 O
}
$ b, n: H' {/ R$ m- q. L: \ if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 b$ I+ T8 @. s, n o.push(eval(a<i>));
0 T+ w/ \. W* ~: g+ ?. W. W }' ~6 y, U/ f/ Z! g: p: ]3 @! X
}! d$ n7 O2 M e+ d
if(g!=null){
* x; x4 j( l: C9 z7 K( d o.push(g);g=null e% B) u2 Y& @- j
}
; y2 v. c7 l3 S3 N! P }
( d Z7 `- j u8 u) P$ D }
0 x. w6 e, g5 ^( e0 [# t" Y7 ]( `
$o(a,o,c);
1 [2 J7 w# q/ ]4 d* \' a8 ^
" n3 k8 @! q/ o4 P for(var i = 0;i<o.length;i++){, p: L3 l2 \1 }; g8 d4 \9 Y0 {
for(var j=0;j<c.length;j++){* n+ P7 v6 E. x0 i
u = o<i>;eval($format(c[j])); ?& R9 J% m. h1 G* e1 `
}
2 `' P0 i/ ?1 C0 R* e! [ }
/ l! u/ E# B- Z1 L: e& i
4 h* m, h7 G% t1 n$ q8 }# z' c if(o.length == 0){+ e) F$ ~) l. k, G0 Z j* S
for(var i=0;i<c.length;i++){, e: B0 m+ Y1 [3 r. u0 x* i
eval($format(c<i>));
* _; _2 }# I; S7 p: R }# d0 k1 B/ [1 p
}
0 h+ O; {% s+ [0 ]
( U! D) j( W0 p3 f; z+ Z) v if(r!=null){4 C! Z# x1 k" n) W2 I4 U- X$ P% h
return r;3 I/ s) o F+ I _ z6 k6 m) `
}6 Y" l8 }9 C4 f/ ^& s
$ S! G, Z' R# u2 Y' x r if(o.length==1){
" P4 l! ? Z4 ~& u. Y return o[0];% ?+ e: t2 q* D0 Y# C- P K1 ^" b
}
7 B4 H7 _/ p) m' ]/ k9 a else{
/ k. S# m. G) `: |1 F+ T/ s return o4 I7 }6 P- N3 m' y
} 6 p N f% d, I. j, A/ r) K
& B! H- s' U) |! L6 l2 S$ r
}! Y t$ H9 l q! l E$ Z
var lrc =$("#lrc;show()").innerHTML.split("[");/ ?3 A. h8 [) z" L2 S3 H4 v% b
if(lrc.length>5){, h0 R& o. z8 L: d- ^
var array = new Array();* k+ w( s, f2 w5 {1 a' o
for (var i=0;i<lrc.length ;i++ )& Q" l) @: }* Z
{
6 H- [( S) N. _- F( d var g = new Object();
% _" }( w9 A( T8 D7 w t= lrc<i>.split("]");+ E/ y* V1 i, }( w+ d$ v. Q( A# L
g.time = getTime(t[0]);* w% X0 Z# b' E* o7 ~
if(isNaN(g.time))
8 C' c. h( x0 \9 ]* V5 A g continue;# e# v/ h, B9 A& d4 j7 I
g.c = t[1];* w/ N }# p- p5 @, E! f' y
if(g.c == "")6 L' o2 y' z$ T- x4 d7 ^% D" U4 e
g.c = getNext(i);
% l- p7 ~$ x( I# T$ L0 d array.push(g);3 f, {2 W. D# X0 h) `& H( |
}
5 A# a' o/ e/ }6 T/ darray.sort(function(x, y) {
# z s; W8 |% k4 i5 o# a if (x.time>y.time) - e- b& `/ a/ s, g. N: N1 h9 L6 V
return 1;
; [! F2 `# H* g, o else if(x.time<y.time)* T) n7 B# |- e$ |7 a$ B
return -1;' w" I: F# s' B6 M# @4 D: R' C
else9 w! t' o" K g" e, u/ d% R
return 0;
7 T* f7 ~, `( H& F1 Q } " c$ G, o6 G. e2 m7 q
);
* |7 ^7 j9 r6 a; P4 s& ]8 [: Mfor(var i = 0;i<array.length;i++)% V* ~, b# |: ]6 n7 ]' M1 p* [
{. l1 @* [+ E6 [$ r! j
var g = array<i>;
2 i, u* g* l$ q* E. m, d if(!g.c){7 C: Q% F- H. c6 T; i" U
g.c="";$ ]' f! Y9 G' a. F0 S$ f* Z9 T, N
}) @! G7 M& |/ I% L; x: [& t
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
$ }( p0 C# p# v}
c5 i. C4 f! n# z1 R1 Uvar time = setInterval("lrcList()",500); 6 R4 M+ M" |# @2 y$ `1 {( y
}else{
8 G2 Q6 n& G% ]6 i) _0 v $("#list").innerHTML=$("#lrc").innerHTML;1 ]+ Y. n) `' Y. M
}
1 L8 _8 C* s" Jfunction getNext(i)
2 P+ M3 u: d+ g' v{& `0 F( V$ P; ]
var result = "";
# S# ~- r b& h var i = i+1;( F0 C9 P' v7 L) v2 ?3 g4 }8 }
t = lrc<i>.split("]");
, T D' n% \! B: ~0 R! J if(t[1]=="")
0 }5 H P+ p* W6 D result = getNext(i);
4 l$ S: a2 h! [( A2 f7 M else2 O, \/ h5 `$ R& Z
result = t[1]
+ a, I3 H4 i7 i8 f return result;. b* S j% O1 T8 A! s, C) n& O9 e
}
, _& H% T) _& r1 ]4 S/ P7 s' C$ w( f* ?- q8 u! U- X7 t/ U
function getTime(str)0 O% w% G& S% |" f+ ~0 Y, @
{! K3 @7 @( z+ |. `, J9 ^' s# u% o
var time =0;0 k6 k# o1 D8 m+ J! E4 j
var ta = str.split(":");/ R- B0 ^! ^+ Z0 d7 B
if(ta.length<2)8 k) o9 L. r) ^; r) s
return time;
; B- r$ l5 A7 x, G8 Z7 j
, ~" J* n( Q6 l: r! L' @ if(ta[1].indexOf(".")>0){0 Q c# j0 s$ ]; r4 t! b P6 b
var tb = ta[1].split(".");
; K M' m. J: y% d; \ time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
: v! ~" I2 x% w1 k' |2 j }+ A3 A6 q# f3 X
else
5 g5 ?5 U0 m! a" z time =ta[0]*60*1000+ta[1]*1000;& W J( W' @! T X$ v' }. H. q
return time;
% K. U) d. r4 D; V" k% r7 U5 N}
+ P3 i3 K: Y. E& p5 M& ]var preTime = 0;7 D8 _7 V( m$ }# T9 r
var nextTime = 0;
' F) U% C0 d3 [' D: Qvar currIndex =0;
) n) W, X7 g; a% A, B$ Rfunction lrcList(){. q, U' }1 C, \/ T
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
% ]2 o9 F2 F& m6 N" R: t# K$ C s = s*1000;
$ ]3 n% y4 t8 k6 O+ w if(s==0){
7 e K: W: D3 c+ d& C currIndex =0;
: R/ y4 B1 i& O0 w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ O" B5 x% U8 o- }) E, e for(var i=0;i<array.length;i++){
) @$ P* r6 I5 M! Z) x document.getElementById("lrc"+i).style.color=colorNormal;: g) l0 j Q4 _ }
}, C* r9 Z7 l6 V8 V4 j/ q g" _
return;0 w4 u0 t; V- m9 ^1 Y
}
, g X- I/ o) d- Q/ H4 W if(s>0&&currIndex<array.length-1)6 }# a3 J* ?( ~) }0 U
{
, M- P. V t! ` preTime = array[currIndex].time;: c/ J, n& I9 b# b# r
: V( T9 d# F' k) b nextTime = array[currIndex+1].time;
! l4 G! Z& H7 D
8 o P+ K( U, s7 V) g if(s>=preTime&&s<nextTime){
6 v E) w5 C! d* @- ? }
9 Q4 C9 \2 Y' F& G; Q' y else if(s>=nextTime)2 _$ \1 M7 _5 A4 c+ B" n& H4 k& c
{
$ d# u5 Z6 {# a3 H+ y4 E' V document.getElementById("lrc"+currIndex).style.color=colorPasted;
* A4 t( q# V) {, d8 R& w* K) F currIndex++;
4 g# _0 q Y7 i9 r $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, T; q& G2 |- i0 u8 P% } document.getElementById("lrc"+currIndex).style.color=colorPlaying;% J, O+ r1 q6 l6 | q3 i; q( t' q
lrcList();
' d' ~+ r, U9 x7 Y3 Q }& Y5 Q% j* X+ Z
else{
4 g* h$ c6 y- @9 b7 J) K) p' ^ document.getElementById("lrc"+currIndex).style.color=colorNormal;
/ j: A1 M9 P6 n$ I: W1 v1 X- A& U currIndex--;
. d( J$ [8 Q. v$ s) K( | $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, p$ m! w0 S& I) @1 U( g
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
: |* d0 d+ F7 f+ N- M8 B lrcList();
5 n1 i% f* u3 C. O8 ~ }
" u: m* x5 [3 x/ p1 Q }
Q8 R: I4 q+ c5 Q2 |* A% j/ F; D: P else$ g0 \+ c9 {7 [& E
{- }" v( k4 n4 l8 @6 ]
if(s<array[array.length-1].time){
3 P5 J* t# \9 G+ ]; s4 @# [0 M# L, O currIndex = 0;, u/ t; g- f! f7 B$ l. q$ H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 x7 v0 M' }( e7 R8 Z for(var i=0;i<array.length;i++){
4 B" l0 P+ y: o4 h- Z2 B document.getElementById("lrc"+i).style.color=colorNormal;. o; u% h* C: U5 Q" A1 O2 O
}7 a2 ? n1 v7 {4 P( _
lrcList();5 u, T3 s! @7 T( ~/ b' T8 l. {8 @
}& I) d; r" t/ j7 x: m) x
}) M' b8 b+ B" f* @- J2 b& z
}
3 t5 \, G) f( i5 m6 S" |! \8 x3 e- g5 Z</SCRIPT>+ W; Y3 t4 e4 v3 y5 r
</DIV></DIV># M5 Q! I u. Y7 I
! M$ t) Q7 l6 Q o/ G[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|