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