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