|
<DIV id=list>
6 W) \ M( a- V. a' E5 n, k) a. O* Z<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV> X( L' s: s# f# ^3 V ?( j
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>2 Y3 z$ Q- _5 d4 {/ I
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>1 n8 \ g. Q( B A
<DIV id=lrc3 style="COLOR: #666666"></DIV>
9 m: I7 ~5 g' e<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>$ a4 m' ?: n, H2 M
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
1 ~4 k- ]7 A# |# Q% F<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
+ v" d* [" b. ?1 c9 a<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- n. F4 `6 W/ K4 _
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV> y: c) H+ t& {$ z) D, E8 e
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>3 j- v, T* }- u7 @7 T, X1 k+ h
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>% u6 y! S6 w; h$ ?3 O
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
8 j& c1 h9 B2 \, E5 ^$ E+ @<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>+ g) a9 g& h2 r, f+ x* e3 r* H& Y
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV> a' p! ^: Z' M$ v. [- Z) s
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
' W1 g. I0 C, v4 R; n8 Y+ F<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
$ t8 M; ]. B. J$ g* P<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>7 K+ ?* b+ W! I4 {
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>6 g( X+ p* J$ N, g0 d
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
/ `, l0 k& P; r+ B( L/ L* i- S<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>: d% R; d' E9 O: S0 v( d
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
- E" Y3 _" t- z9 Y' C1 W<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>3 H( j ^, p4 e
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
: \3 Q7 Z0 p/ f* z8 \8 i [<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>3 o1 b, E9 ?9 K5 t% M
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>7 a$ T: {4 ?/ }0 W3 {' n) }4 @
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
8 j, T( [* r5 I3 T<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>8 t6 @- S: A3 }# R* _+ r
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>4 ]3 q+ g+ a+ u8 @
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>( D% |0 E+ C/ }. Y$ ^
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>) L1 L% c/ N8 [; c
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 B* P1 y" M0 J. f<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
: Q! m, T# O8 L1 H* V; o) C1 K4 i<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) F' E2 U/ m2 ~6 d& z L<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
9 |" V7 T( K! U1 g$ e) V<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
' ]+ s. H5 S, B" W# |<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
M: R6 z) r0 G/ T) G! X<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>$ z1 M8 _" f$ y5 w$ p
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>' o K+ X2 \! A
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>7 d; ~* W2 l( O5 q, Q7 m/ Y, v
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>1 r. y) T4 B) r+ z* J, V9 `' e
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, W, U! `/ B# s: d9 Y4 G8 p
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
3 f5 F. @% I' d<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
8 O9 R1 f z- O/ o7 R<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>8 u/ p Y4 \' P, P& a
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ y: l$ b" Z4 _+ d9 E! i; |! c
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 x8 U3 e' t/ @$ |7 X/ ]; w<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>$ H( X4 H4 l- f: m
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
Z: k8 Q. k. l1 A. D% R<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
9 u- C2 Z5 m5 i* \0 s$ G<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
L- z/ ?* X6 c3 J<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 w J6 s D5 @) R/ h
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV># Z* N* `3 ^0 Z, F _$ `7 t; Y7 [
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>7 q3 T% H6 O) ~9 ^
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 % F( k, y3 f* j
<DIV id=lrc style="DISPLAY: none"></DIV>6 I8 q) g. |2 _
<SCRIPT type=text/javascript> b$ I7 F8 O; g& x0 j; A& q3 g, \
document.domain="1ting.com";& z( p% O9 U/ |/ F
var colorPasted="#666666";8 d! U7 H( Q' [
var colorPlaying="#ff3300";
4 N! C4 y1 D6 ovar colorNormal="#000000";
: R j& d6 J/ \8 r ~5 j* D) ^+ k$ = function (a,g){
; |! M# C# u7 j s' v+ e2 N) f var o = new Array(); : y8 y% ]( X2 C! |" i
var c = new Array(); ( z* D5 k# m& s- }5 V* ?* T
var r;
! v: |6 Y* r. r var u; ( B* w( f }' Z% b; S4 @2 M; n
var a = a.split(';'); 0 [- N) `" V4 g" b2 u3 N" s
2 `0 i5 X9 _7 P. F var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");! D9 w5 F7 D3 h% H3 o6 Z# h
for(var i=0;i<e.length;i++){6 v& ?- E: I2 n3 v; f( I* o3 a2 K
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
7 d+ z' L9 }1 ? }1 V( u. x" r- U$ N
/ W: Z5 |: l" E( |4 ~ c after = function (t,d,s){ C0 _% v+ ?: e
$after = function (){1 E" D) e; W3 `) k4 o
var $n=document.createElement(t);
% ?8 }" L5 p! r' ?5 D8 Y if(d!=null){
" p2 B8 b, ]% N" O: g4 a4 `% g $n.id=d;
6 o4 @( e5 m0 O: }# ]7 h0 b$ a) N; t# W }
4 a1 o* L. ]! g- g! K, H2 a* c
U" A2 a, Q. Y u.insertBefore($n,null)
+ M5 [7 d6 N2 S S; T$ A5 \/ F+ g r = $n; ! d" R; }; y8 W- y
u = $n;
; _1 Q4 i& x- x }
* ?$ o) W) o, D4 V6 K- x- P $for(s,"$after")
6 B1 Q6 d3 p9 V' Q }; X; A; S) R" T- r9 p6 y
, _( i* Q4 M& ~+ z2 G
show = function (s){
( q1 w( D* z+ A+ H1 U1 W $show = function (){
. T) h4 ?) u9 c& I4 M u.style.display!="none" ? style("display:none") : style("display:block") ;
9 i3 C$ L! t* H7 x% T7 I& ^, x }
& i3 |2 {- b# T0 O% M0 {- W) P( D $for(s,"$show")% A8 `0 r7 W5 a1 |6 B
}) C1 H* z7 I% O& `' f0 \
: C- T$ p: j9 w) B) K check = function (t,s){
. H- }4 X0 d0 p! O $check = function (){
- o s" ~0 Z H1 J6 x. H if(t=="2"){4 I" F, Z) f$ p r. @
if(u.checked){
1 n' S n' F* @9 l u.checked = false;$ d X% g: b/ E4 u8 V) e9 k5 b
}else{; g6 {3 [: g4 U& x( `/ _
u.checked = true; V& A& p# E% L n# G
}& U: `' K+ ?" K2 y
}else{0 ~5 n h/ f8 |+ D- J% m
u.checked = t*1 ;
6 B2 N( w* R+ R$ n: d+ |2 u2 C }
3 \* r" J2 i2 }. g1 }' B! P9 X }: S7 B2 y, Y3 C+ V' b. f& O( G
$for(s,"$check"): }4 p: C6 O7 O. ~3 U
}, R" j2 N u. k+ n/ f" l- U
1 p' m$ h5 ~: _* z1 L( N ` style = function (v,s){
% j1 z& I1 n" h& f7 } $style = function (){
0 w# K e3 o! l3 X var $n = v.split(",")
% b8 G: e$ ?+ Q! y# v! j5 m2 } for (var i=0;i<$n.length;i++ ){
0 d9 v6 \0 Y" k var $m = $n<i>.split(":") & f# v" p* A H* X1 M/ w% m& w7 ?* H
eval("u.style."+$m[0]+"='"+$m[1]+"'");; s% O& t! H& \
} }2 ~) Q2 B$ L* P
}
; p O4 L0 b+ J3 p) S- K3 e0 N $for(s,"$style")
: A. A5 h; r4 @: y2 w }
5 z* V6 t: v; P2 N, k
# W2 u9 q. b& t6 r value = function (v,s){
+ |% V$ Q4 G$ v# e! m R var $n= $this (v);
- C- a% T# e+ t $value = function (){- b) h* S1 r7 E* H( p* T( [
u.value = $n w3 W; n, q% ~+ p! h/ L
}
* ?2 q! W! Y# N0 E $for(s,"$value") 3 T: y! ]" H1 Y
}
+ w3 T5 R+ f3 I3 i7 `9 W
8 Z% N4 z9 k* [+ z3 E9 W text = function (v,s){5 o0 }) U8 A, b$ |2 ?0 y$ n
var $n= $this (v);
* h" d& J+ W t, d $text = function (){8 ]. M8 \$ P" X* ?* y+ L# }* F
1 j, v/ _+ w) G- l9 x5 ]7 q
u.text = $n' v$ B- ^$ S; \2 N* O
}4 e7 @3 Z) w" @' P" D/ b, r
$for(s,"$text") 3 B, x1 b( p8 R
}
9 G. c- t- d) L% H7 `5 ~, \5 _
. H( { ?( W* m9 ~ k innerhtml = function (v,s){
; Z# {( m! G ^8 z5 i2 _+ R) |/ u var $n= $this (v);0 a; k# X9 o; T7 }3 i
$innerhtml = function (){2 b, l6 z4 V% `' s
u.innerHTML = $n. h3 s" Q3 l! }* S
}
6 T) N- n# T3 a6 z l0 [% V $for(s,"$innerhtml")
+ l) Y3 I2 r; y' Y }. P" [" s3 G8 f& Y
. e* i) ]: `) N1 P4 H removechild = function (s){) b7 k3 ~' l3 J$ s4 z% E+ @
$removechild = function (){0 M; w5 L2 R4 B. B
u.parentNode.removeChild(u)+ k6 O, y- m# ~5 }3 p
}
: N* h$ C( u+ Q4 \. N $for(s,"$removechild")% U" M; t' n9 w& T2 n
}( l) G( {7 H9 D+ P6 ]9 j8 H9 [: @
/ K: ^9 }2 l- v3 `
$this =function(v){" J* v$ R# v5 E- T
if(v.indexOf("this") == 0){
! @* ?6 a' t. b& |. i% _' k return eval(v.replace("this","u"))
5 ~; s0 s, D- q: H$ j, [ }
) j t( W$ ^ Y# |: Z1 U return v;
, v2 i* [ T3 a6 [1 ?) R. D# K }
* f" S t* y$ J0 X, @; ?. N* V. f) ~. D( a
$event = function (s){
/ L6 i/ M, x0 d6 J+ a8 F7 U var $n ="u."+s+" = function(){$work(this,s);}"
6 x# _2 Z. ~1 x9 i. { return $n;
. M. \4 i1 |# K; a8 V }7 e5 V$ Q% A, a9 P! E
2 M/ g# T. v( w
$replace = function (s){( P w( H, W6 t! d% p0 ?
W( T9 P" ?% \0 h }
) v1 U% h* O' Q+ \9 e1 M% r2 {5 F7 }0 C6 M3 n3 L
$for = function (s,c){
- h2 [1 C! {7 D. O9 A0 o9 j var $n="this."+c+"()" ;. F( d- k, H0 N
if(s!=null){
5 W& h. V0 `3 k: \# @2 k, o var $m =$test(s);: _( d* \( ^+ C8 V2 w$ Y3 X
for (var i=0;i<$m.length ;i++ ){7 U% n4 \" c7 {( Y# ^6 U
u = $m<i>;
* g9 ?4 f3 \; r" ^ eval($n);/ @( U% U- [! T" Y' x' K
}
- d4 [" b3 H6 O7 B4 s6 R }
6 f' K0 U2 ~# F6 b7 e8 f9 } else{+ D1 \5 o0 c) g* u6 E' h" B! [
eval($n);
0 w* B- G3 w% c, K# _# q7 N$ S$ F }
) S6 c+ F! b" a/ f }
* j8 b0 d- V' R
j4 `& S- T% N& i$ I) K $test = function (a){) V. _) H' b: ~. F' ]
var o = new Array();$o(a.split(';'),o);9 I; u+ m7 q) e3 [
return o;0 ]) \6 N. a* a/ B9 a# p
}' t& u% s& K* w# S
3 v+ ` l+ G( @4 N $format = function(s){
! W. [. j1 O8 [0 d6 {# t while (s.indexOf("'")>0){
( q$ X( H" g$ e4 Z: V s=s.replace("'","\"");
: Y3 f. X' g: h v6 s }9 y0 D+ l4 V6 [
while (s.indexOf("][")>0){0 g, N1 _% b0 A3 h2 e/ v
s=s.replace("][","','")
: @/ Y2 m4 m+ q+ E, o }
/ g( V( [$ I% N) t+ U1 Q% B while (s.indexOf("[")>0){/ q) X1 m: V( O- ^2 ?5 k9 u% v- B
s=s.replace("[","'").replace("]","'")' c; j+ U! T& _1 I6 O% N
} ! k: F1 q- r7 f$ Y. b
return s;# T/ @- \( E9 n0 o4 j# b5 Q
}( y' I/ Y; a$ e" |% P/ Z
; {- S( b% ~, c$ x4 p
$work = function(w,s){6 u T+ @; ]3 C! [9 X
u=w;eval(s)
! f \7 }" Z0 @( v4 g; z: a3 T$ s }* A# @# q$ p1 m( I+ n
% q- z4 }* h% p4 A
$id = function (s){
+ N8 y9 Q" T) L' Y/ x return document.getElementById(s);6 g; j. `, n. r/ F* p% x
}
* x% F! m% {3 L& t. p0 @1 I7 X0 ?
$name = function (s){. B, \( s* \! ?" y5 g$ }: m( {$ v; @
return document.getElementsByName(s);- ~( |& {/ n" k. O
}9 {) I, ^, p: h0 N
% J' r8 `! v u3 L$ n% z0 m $tagname = function (s){7 X$ ]( i* `! e; H+ _" B
return document.getElementsByTagName(s);
9 _ u( V/ ~. o" L# y }* _3 U1 S2 p7 |- T5 g) n
0 @& t; \) I7 Q
$o = function (a,o,c){
7 G) i6 n! y' N+ @6 V; k6 V0 P( o $push = function (n) {
+ I8 [+ f- T4 U) G q/ { for (var i=0;i< n.length;i++ ){: w# Y: p/ K( v0 \8 |
o.push(n<i>);
1 n# {# L" ]. V( ]9 E5 L$ _ }
1 q# Y6 S O- ~/ X& X2 Z5 m }5 j. { J/ g+ r
for(var i=0;i<a.length;i++){# K b5 Z; \! h: j
if(a<i>.indexOf("(") >= 0){
) N. p! B( a. P+ Y6 ^7 z c.push(a<i>);8 {( w1 [* h* A5 x
}3 _0 y. Q1 d! p5 B! G1 q8 ^- |
if(a<i>.indexOf("~") > 0){! I6 W& x- w, i& q- n
try {0 [9 |* t' v) U% k
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
3 m5 x# H: Y& B& L }catch(e), U, X: N+ o w+ S
{}
8 a. p8 D' Y [' t: s. U }, \% j1 G* g! i- g- V& N" K
else{
_2 ~" s! q( G% t; E1 i if(a<i>.indexOf("#")==0){6 c/ x2 K5 C5 A) y- K V2 G
o.push($id(a<i>.replace("#","")));
# m1 {9 K u; g/ }7 e* k( X' [ }8 ]3 |' c; b$ | i/ {! I
if(a<i>.indexOf(".")==0){
+ ^0 _% m2 d5 q* G; {( [ $push($name(a<i>.replace(".","")));
: l, D/ n* O* V6 r; H" W }
# K+ T& {3 q1 n: B8 x$ k3 A; F4 a. A if(a<i>.indexOf("@")==0 ){
0 ]- U X# \6 G; D/ N: M% l $push($tagname(a<i>.replace("@","")));
/ o+ _3 u! i+ `% o- L9 p }
- @- v) j! U$ P. W) @6 l* V/ S, Q if(a<i>.indexOf("*")==0){5 F* [& A3 c8 t8 [& W# Q
$p= a<i>;% V" [. u1 O' U$ w8 i: q' A9 K$ R
if($p.indexOf(".")< 0){$ r# B% f7 X- S' ^+ M
$p = $p.replace("parent","parentNode")
S) u8 `/ _% ^+ ` k1 U: t# v }+ g# x# L3 A; v1 d7 h
var $p ="u."+$p.replace("*","");: C% r% B( R# p, k
while ($p.indexOf("parent.")> 0){
h5 h: E2 i! z* I1 C% F $p = $p.replace("parent.","parentNode.")
: u% H# Z8 F6 r4 @' \7 ~! a }
$ m4 Y. [/ a' p. X) h4 ~ while ($p.indexOf("child{")> 0){& B* g0 {2 z! G2 |! L6 p2 ?* Z1 W
$p = $p.replace("child{","childNodes[").replace("}","]")
$ Z( I/ \" |) Z1 Y" e/ L }
6 @9 a: F. h& {/ A1 m0 V' d. F o.push(eval($p));3 I4 \4 `0 m* b* G$ }
}
9 M# q% t3 T; G. D/ U L" G if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){$ B3 z5 g4 G e0 ?
o.push(eval(a<i>));
# G. R4 E5 V7 }5 U }* f8 i/ @( r6 N/ b
}
# E5 U0 ], F) s3 i' |' Y' v% e* | if(g!=null){ # X1 X( \5 t4 }$ B2 f% ?
o.push(g);g=null
3 ]3 [% L6 m" X } % i% r3 C3 o" s$ q3 x% }
}
( b8 Y# t7 E L }
: ? P: \7 q S1 g ~. X: U! j5 I4 U, `0 a/ i5 Z! S
$o(a,o,c);
; O; P5 t; W9 e' E. b' ?$ u
$ j X8 c2 W! I e for(var i = 0;i<o.length;i++){8 I* b" d' \8 E0 B4 G* W% J
for(var j=0;j<c.length;j++){
0 |% B3 q1 p S u = o<i>;eval($format(c[j]));$ S! X8 n/ C& R7 s! l+ s t
}% c |& N) t& X0 G
}
; t# l( w/ Z# g3 N
1 }- l9 d/ `! M; X4 [! L3 _; d if(o.length == 0){) }) z1 E2 o4 y$ l
for(var i=0;i<c.length;i++){6 ?8 C* A6 R+ P, e8 u
eval($format(c<i>));
( s* {. \! x" u, A+ H# r$ O7 k2 f }
9 x* p+ o/ ?9 {& I p }
+ i5 l9 H B& \7 m
" K/ w% x, m1 [) ~( Y6 B; U1 G) j if(r!=null){
L; q! J3 G2 D8 }6 {: D0 | return r;% ]7 A% k; n9 L8 L7 D
}0 I- X. h4 ] }3 k& N. X/ v
8 L9 z3 ~$ G6 x% c% m0 t- z
if(o.length==1){2 A3 F+ ^: k l; d, D
return o[0];
0 U8 L( T; a" E6 G. @6 l4 F }, l* ^( J& R0 m
else{/ v$ f+ } A* k$ d
return o! ^( D* k& n2 j9 o3 u/ L
}
) p2 Q7 P" f' Y- ]9 c! ?: N
$ B8 _: B0 b+ g- b- Z }
" s8 ?1 t# j" Z! l3 jvar lrc =$("#lrc;show()").innerHTML.split("[");# W- j4 j8 C5 @8 A
if(lrc.length>5){1 {: h5 r) J! p; @; f- D
var array = new Array();
3 n7 a& L e5 U- {for (var i=0;i<lrc.length ;i++ )$ K( G; ]) J0 }+ ]) i0 U
{
' p2 i3 n* d: d1 {4 U1 H var g = new Object();
+ k9 y/ o' a0 s6 }) W; B t= lrc<i>.split("]");
7 K! [4 _5 t7 r4 _ g.time = getTime(t[0]);; f: C( k+ ^- I6 @) z8 T: t5 Y, q
if(isNaN(g.time))5 I5 W& H3 g9 `
continue;
& }+ v; G7 S5 Y" I g.c = t[1];% H4 U* L6 r) f+ | l4 a
if(g.c == "")
( w3 u1 H0 u+ d4 U0 v' M& Z g.c = getNext(i);2 c( G! l: b% _& c. C
array.push(g);
% ]+ E. `$ Y* z* w8 Y}
+ P9 s2 D& v2 \" l- ?' aarray.sort(function(x, y) {
0 M/ E/ d, \# p. ^! ^ if (x.time>y.time) ' a5 @9 ?% Q* F# }
return 1;
b7 J0 C, B/ e! O else if(x.time<y.time)$ t* I' b i2 h0 q
return -1;
7 A2 S5 _6 P7 j; r/ K5 Y }: i else
( ~+ W3 ]& g- Q" U" r return 0;7 B7 Y/ t3 t9 _
}
. y9 w. P' ~: X8 V);4 T0 L0 o6 X( I+ z+ c. T3 w
for(var i = 0;i<array.length;i++)' i# z! `* k7 k* o, L
{
' `0 G/ q+ ^/ h" V8 I, @ var g = array<i>;; K n! ]) j) j% D% f4 i1 l1 u
if(!g.c){! Q( u' \( p# b6 S" w
g.c="";% m3 X/ [$ p9 @
}& J8 H# P' J+ ~
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
; o6 W3 Z3 {) h6 k0 r" s}% ?; p8 ?8 l5 t, ]
var time = setInterval("lrcList()",500); " z$ V. T3 h! d. n0 n2 C
}else{2 R" K3 j( H4 w5 |) j* l& N c
$("#list").innerHTML=$("#lrc").innerHTML;6 v1 w c, e+ c7 p5 ^5 x9 V% _9 Q% X- |
}
( j5 Z8 Z% m7 q! \0 N. afunction getNext(i)* T f; t& W9 w: W5 g
{
9 ]3 M# `) |7 r& M, `" { var result = "";
! o, `3 |8 Q0 _ |0 D; `. {! L' ~ var i = i+1;
+ z3 F, x4 f. S, N/ o/ {/ o% N. Y t = lrc<i>.split("]");7 C: p) I( C+ H! S% q! t
if(t[1]=="")
5 _1 {* e6 V* a result = getNext(i);
% k: P/ K2 z; E& f: T) w" f6 r else
% b- I' ^1 V8 `0 j result = t[1]. G$ d- U- @, r. @6 I
return result;* n S% z& S- R% u% n: p
}
7 ~8 x9 N5 S# J& j1 H
/ z' S' I8 [2 j5 R# z O) nfunction getTime(str)5 v! h% J% N/ x# \. X
{
8 n5 w' x. w+ Z1 {3 t var time =0;
) V+ w/ Y1 ^0 c, B5 C% Q; [- m var ta = str.split(":");
. b0 m4 Z: D# {; n4 x8 z) c! ~* J if(ta.length<2)" X S% d0 q3 e6 ^8 M
return time;% @5 q6 G1 f% S( [/ S# I& i
' H8 x" v9 m4 z if(ta[1].indexOf(".")>0){
& e; m$ W( U" K/ k! R9 C var tb = ta[1].split(".");5 H I' A9 _0 W7 t2 d3 x
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;0 v0 q+ Y# t6 X* P
}
+ V `! `* \# C. f else4 d' |( B! [+ x7 n9 H; p
time =ta[0]*60*1000+ta[1]*1000;( n; [- W ~/ m
return time;
X9 G) m7 w- O7 i( j}
; s7 l, j( ]2 h1 a G0 a8 svar preTime = 0;
8 L4 P" l/ l8 {% Y i/ I M- Svar nextTime = 0;
8 E8 b. ]% X6 ]+ I! l6 B+ }var currIndex =0;
8 D, X+ i, `) o- X# Y) Z' Vfunction lrcList(){
0 ]. K0 y3 }; y; Q: _0 s* n var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;/ A0 N. T$ {1 R! h) g2 ?
s = s*1000;. T/ ~3 A3 n, N+ M7 k0 Z
if(s==0){
6 Y3 @) @7 Z/ ~8 I3 O currIndex =0;
# G# D+ J% K: A" G6 W $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
( g2 z B" `. p- K' j# y' Z for(var i=0;i<array.length;i++){, N% y5 G' V- Y4 d/ Q
document.getElementById("lrc"+i).style.color=colorNormal;
2 z4 G' k; z: p1 c9 ?4 w }
2 ~, [ v6 j2 D( `3 k* G/ w# X G return;
. H# C# f. Q. N }
& z! u2 T8 _( g7 J( x7 N9 [ if(s>0&&currIndex<array.length-1)- w& P8 ? U1 J# ~5 y2 e
{
+ \ ?6 u2 \: J; u7 e O preTime = array[currIndex].time;2 T+ J+ X' x, o$ \) p1 _
5 C$ C. _: q- v% @2 ^1 |9 Y" S% z nextTime = array[currIndex+1].time;- v9 F/ x6 |9 d. _& g# L( Z+ m
/ B/ Y. y" S. U+ \0 A
if(s>=preTime&&s<nextTime){
1 `1 d: l" j: t% ~. E4 z: \, \ }
: I1 N, Z2 O9 U; _2 @ else if(s>=nextTime)
0 N/ H! M* K M( _4 H {/ j Q7 w8 I' a0 I
document.getElementById("lrc"+currIndex).style.color=colorPasted;
) W2 x6 F b* T2 ?. Y, x- v currIndex++;6 G7 E. N& H: B/ L' s, _7 }! }7 {% g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& S* D, [9 t% B( p document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" v' U9 D9 l" R! m lrcList();% o5 [, w) ^& T2 X1 Y0 L F0 W7 p
}
5 M7 G# c7 s- F else{
6 `2 Y8 P3 B W* m9 @3 m document.getElementById("lrc"+currIndex).style.color=colorNormal;/ o. w- O$ a4 j3 U
currIndex--;
* }8 ]- ]( B6 V2 _ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 \" p# L: b8 H& B+ F# O- h
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 K5 v% l2 ^5 _2 ?( J6 b% M lrcList();
, n6 t$ c, w4 V* w% [6 l% z1 c } 5 O9 \% S8 |% W
}0 U- ~# s0 r2 u5 i1 ^' W
else C1 O8 z+ v2 u" {; V2 M
{
$ |. g0 l) R2 h# r% q if(s<array[array.length-1].time){0 k/ B+ B- S$ z4 v$ v$ f2 L
currIndex = 0;
5 r/ d$ B/ v& ]. W ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, ?3 y b+ S+ c/ Z6 r- Y3 }& B
for(var i=0;i<array.length;i++){
! O- O+ {% V6 W$ N$ X7 U document.getElementById("lrc"+i).style.color=colorNormal;
" H. |& K3 r& K) ]4 Q }
# K* d$ d# u. H9 N; l% i lrcList();+ ?& S# y( `6 ]. x% g4 n( ~. m4 ]+ J
}. W( {# z# O) Z5 q1 p: \: V
}* p" ^9 L+ ]" I, W' Y
}$ C& l# A( c0 {. }
</SCRIPT>
: M; y' g4 h1 A! F</DIV></DIV># B! j& S9 B2 t. D) w( I
& B: v" p, L9 x, J. I; h% N1 H# s, J
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|