|
<DIV id=list>
' {* T- ^! O3 X# |: e<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
" F; ]7 _( y8 F! W& @& J4 g( o<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>$ d4 }: o% L6 @3 Y% {
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>! z# Q' t/ K, O( @5 l( U% ~# j
<DIV id=lrc3 style="COLOR: #666666"></DIV>0 y' n# h Y# O9 J
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>2 T' p) _$ V! ^2 u* B- Z6 ]
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>. G( E# v6 z6 J" ]4 ?' R
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
" k4 r/ o8 w. m( w5 d<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>2 F. I8 D9 c6 R1 k% `
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>8 M8 ?; Z7 T E. e! }
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
6 M* I! u+ \1 I, ?- O) U<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
( V* Y2 z0 Y1 o- G- f<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
% R% O! Q" @) A" v- `9 l! G<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
# W& F: A6 g2 C8 `, p<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
1 D) i( g: m1 U& @3 @<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>% N; f9 U( Z X- n$ p1 i7 A9 d6 B3 U
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>+ x& W( h: V" d
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV> k0 A; ~0 @1 Y* m8 j% ?6 }4 p
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
% n( j* l4 Q) `5 X8 i<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
4 i |2 F0 v( ^" ?1 d<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: B! I) K6 `. z8 _3 E7 n<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
5 J" ^* I3 |! \+ c1 g/ v, l4 G<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
+ o2 ^' s+ X/ C3 F1 }( _<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
3 Q; Y% z. n1 c6 v5 k<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>% n: l: _2 N& ]2 D* K$ D
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
7 v: W2 _5 I7 t<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
, K' I8 U- A- ]+ e<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
" H, h+ C% C$ t# B<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>1 w+ P; V/ i s2 P+ E; L
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>7 G6 ^% ^3 i. Y1 T
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
+ e2 v. D. ^6 i- `4 L<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>6 @0 X7 a/ D3 [2 d. c
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>3 l8 e- p( j ?2 V
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) O# T- i& v" F6 |- M6 y<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV># R: T" |- K O t
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>9 e6 Q G& r- C) k: b
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>. g5 j: B8 v, I' a6 [$ c
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
! C( \" |: @, ~/ v1 P<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>8 d! K. i B4 |" A& |+ O/ j
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>- W7 x0 K @! g" k) X+ u( r
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>8 s+ B; t6 ~/ }9 K
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
B$ Q, _8 A( n- E- ^: G<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* x4 o. s& ^& b0 U/ \7 {
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV> v8 G' ?- o# {+ ~; D: h' \! f
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
& R7 M* n8 d' ]! n<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
; t- n C- t: f8 B$ F<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
- O' e" d0 m! c, n9 ~" C* E2 Z<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>5 A* b" S4 O3 E* C
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>5 @+ K7 E; z7 l6 U6 @" U: n
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>6 N0 s/ W9 _4 M" N# x
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>: _6 h2 V9 r9 q
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV> s) ^/ q% P" [' S6 S* n8 R. x( M
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
! c+ C8 Q' l2 u% C<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
$ T5 v# i) m! Z" C( O% M% j<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
3 p* H$ t q: k4 Y<DIV id=lrc style="DISPLAY: none"></DIV>
) g, R4 J( D8 Z" g' g- W<SCRIPT type=text/javascript>
% C) h5 K- r2 c6 y J4 c8 L+ q8 wdocument.domain="1ting.com";8 n" q( |, R# p7 V h- ~' `
var colorPasted="#666666";! y7 V, G; T0 q6 | P
var colorPlaying="#ff3300";# I% D5 e4 z6 p4 F9 f: A" A" c$ R
var colorNormal="#000000";
* s2 b, r; \& t+ `$ = function (a,g){' ~& w: c% z% ]* ^) [/ B
var o = new Array();
$ L5 k) C4 ^7 @5 |' R4 e) A var c = new Array();
* T, p! Y; W5 [. D5 G/ ^ var r;
6 h& K: d, s( X* _5 W var u;
( R }2 O6 s( D: J( M$ y var a = a.split(';'); # ]. {: ^# H) j1 j- ]
9 n* y- W% ]6 ^: s var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
( H L5 d, Z( T- S* W for(var i=0;i<e.length;i++){, D$ R* R0 L) E$ J6 M
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")$ S# X; v; Y3 O; M
}
: t4 }; @9 n* c$ m5 k# Z; z) q9 n/ y% O& }
after = function (t,d,s){# P, m6 M( |9 A5 a5 a9 ]9 J( t- l
$after = function (){0 R, @. N' A2 M( a; q! y* |
var $n=document.createElement(t);" j0 ?7 S+ k3 o* y+ v
if(d!=null){
; l7 A% `: p3 O $n.id=d; J7 m8 F3 F% e- w" p8 Z4 v
}
( G* z5 b2 c, N- k- h% G
) U* E$ f) j2 V) u u.insertBefore($n,null) , ~9 S# H3 @$ k- n- u$ k6 R
r = $n; & j6 s5 H& D. `
u = $n; ) X. Z# v7 [% y
}
5 P g9 U8 u* b4 R* t $for(s,"$after")1 G: @& H. w. S3 d- x/ Y: b* d
}
" n1 T' h" x# G
4 t$ r0 Z4 V' Y/ C show = function (s){ k! G0 p& Y8 \3 q6 s+ m: z+ v
$show = function (){- L3 q, q* [5 a1 L, ]
u.style.display!="none" ? style("display:none") : style("display:block") ;
" d" C# n. D7 L* e' J6 U }
+ T* S* H( C8 _- B $for(s,"$show"); J! O2 _6 K; B3 J; Y) i
}
6 W0 E* o0 N* ^/ s# Y
" M2 F+ X: V8 I( A- L check = function (t,s){
9 S$ r5 q, q5 Q1 _" x, k3 ~7 v $check = function (){9 G/ R! |/ b/ z! s" h1 h
if(t=="2"){" w$ w6 `% o/ V* V# R' E7 n
if(u.checked){
R! W0 n& t9 \7 I- j u.checked = false;( x1 B% B' ]- o& I5 t% Z
}else{
( i/ m( m @7 \6 H u.checked = true;- r1 M( z- x: ~2 J
}$ |0 X4 ]: R* w$ N
}else{/ M6 J; _- q. }) L `$ V
u.checked = t*1 ;
8 o0 t; T' F6 `7 X' `+ t u | }3 m+ f _$ V7 l7 s' D `4 F8 K
}1 Q3 i4 I2 N7 o5 j* z5 P7 D
$for(s,"$check")
8 C. X. b+ Z$ [5 k }8 d; m' o! g) B$ C
, n! H3 K" A2 Y% A: ^. |# U& a style = function (v,s){0 C' _. q& {! F1 H
$style = function (){
* L4 c, N2 x% p# ?, ^. C1 U var $n = v.split(",")
' z9 Z0 |% ]: ~( { q2 N for (var i=0;i<$n.length;i++ ){
$ S! k" k1 k* w var $m = $n<i>.split(":")
5 O3 c) h5 a' f8 X eval("u.style."+$m[0]+"='"+$m[1]+"'");
& u/ R% Z5 p L+ D& Y }
: e( r8 s9 ^5 c }, ~- B. @5 A* Y, C7 f
$for(s,"$style")1 K( W1 z- \. o+ f
}
0 t) O; n1 Q' n! L
. s2 x. I+ C1 U& t5 P2 F value = function (v,s){
- ~) a5 {* b: {4 W' ?& J var $n= $this (v);4 N$ W4 X: O$ X
$value = function (){: R8 ~ ^; V$ ]1 b2 B8 e" E6 J
u.value = $n5 J' s; Y2 |; ^1 U6 x9 [
}; b, L U" J; ^3 a7 r0 A
$for(s,"$value")
( c* s0 F; I0 N( f# p }
+ M' h/ z7 i) B. ^1 [4 `$ w9 R* _) t4 v: ~: q8 I
text = function (v,s){
4 Y+ [. s9 z& A( _ var $n= $this (v);8 J, n6 @' R8 ?) \$ j4 \" a- _3 [; X
$text = function (){
9 u P3 L5 o: R5 t+ [0 f
8 ]0 w ?/ d! D9 G u.text = $n
1 T) t. p) z n0 y1 k }
( U5 x6 K B8 Q( B* f# ~" q $for(s,"$text") 2 I8 O4 k) c+ k; Y0 r `$ h
}5 B6 F( Q. o5 Y: D% X8 C2 M5 t! E! |
/ m, E) ]( g" r. f4 W8 h% r8 Y, ?) E8 n: f innerhtml = function (v,s){
* ~( [+ s- e% F* {: @" _ var $n= $this (v);
5 ?+ v4 n4 f6 Q' s9 U D; J $innerhtml = function (){
# G, ?2 V1 B4 E# E6 }6 m2 P u.innerHTML = $n" Z, I1 [# E# J" i; J* z) h( H
}
" D5 _% ^9 t4 X* o2 m $for(s,"$innerhtml")
$ q9 ?% t* a* T3 E: s- C }
! V6 f* ^* g7 n
, Y& d1 i' { B w. F$ G b7 U; f removechild = function (s){* k1 Z3 ^: P3 \3 }4 D$ K
$removechild = function (){
" S& f4 B3 {/ I9 E$ f u.parentNode.removeChild(u)* F& _" p" H" R5 o6 } M, }
}
) z3 y: ]/ G; g; G $for(s,"$removechild")
& p% [3 Q; A) Q' |0 e; r }- `+ R# R' y: |8 k8 P1 r
8 P/ l) {3 z* y; o, E6 T, I $this =function(v){
5 Z) f4 [! |/ { if(v.indexOf("this") == 0){
3 Q/ h3 }# T I% m4 c2 e, @5 u return eval(v.replace("this","u")). ?9 y, m2 ~& o; y1 J) t6 d
}, U8 }5 O, L( r/ n/ K O8 R% P
return v;
- d& K1 w9 k9 L7 o) k5 `$ f }
, V" {! Q% v% u
% w' ^9 P9 _& O8 {9 n" r+ ~' W1 Y $event = function (s){
/ W6 l1 M& P b' Z! m" X# Q var $n ="u."+s+" = function(){$work(this,s);}". a5 J4 \* ~4 W! G
return $n;, c) |7 ]. N2 o- e1 j5 q9 A& `
} g; Y/ h9 y0 f% k) x
3 W6 s& D4 L) B0 ^
$replace = function (s){
4 W$ U5 M) ^; p( l: R) t @9 v0 @3 L: K1 C
}1 ? g0 {1 F4 D3 d4 g# J) e
@9 x! p: a( M: y. q% } $for = function (s,c){& K0 H& D+ p/ y& x
var $n="this."+c+"()" ;. w9 x2 Z+ V& R6 _9 i: L6 Q9 y" b
if(s!=null){
8 {0 s3 W# l; V, O* ]* Z$ { var $m =$test(s);8 q" P% {; n0 [4 _" @2 h
for (var i=0;i<$m.length ;i++ ){; Z9 O3 u" [: S3 i+ z7 I
u = $m<i>;
* v9 O$ e' w4 S) @! Y& q eval($n);8 \; v: f$ j+ f* r6 I: s, d$ r! }' u7 A
}( t { n+ z) }! x% ~; e
}, ~, _. L- Y& W) Q% B6 F
else{
: p/ K4 a: E. h7 l# @: x/ C1 A eval($n);
( s1 ]- h" x. @& ?6 K }* @4 o7 }4 `/ A9 {7 O2 ?
}
& q9 ~6 n' r3 E( e3 ?6 C( y + \3 q& x y. ]% K
$test = function (a){
. Z9 X; q. K7 T7 O var o = new Array();$o(a.split(';'),o);
. @; ]9 s: L0 K; L+ E5 `2 A& j$ i return o;* w# A' j$ g" l1 x
}5 j& U" F. L* W, I* w, \
0 H* B4 H2 o1 q, ]9 D4 z$ n1 [
$format = function(s){5 X9 d0 a# r; L1 B9 G# F
while (s.indexOf("'")>0){4 @" D$ z) H- v: u+ ?
s=s.replace("'","\"");4 N: U; h2 `# X9 B4 L; T6 f0 h/ E
}
1 c% n7 [/ A5 s while (s.indexOf("][")>0){
$ t$ I' j# E- e$ S s=s.replace("][","','")
0 Y9 f" X4 z! w. B( S o }
- k$ w+ t3 Y5 B( E7 g4 b) M3 l while (s.indexOf("[")>0){
% Q" s. a6 d4 R! A0 W$ x; X) \ s=s.replace("[","'").replace("]","'")
/ D' m! ~+ F9 u4 W4 w7 E0 v }
! r9 O2 G2 p, J$ ]8 U1 {& J return s;
. l- I+ _3 Y5 W }, Q$ G& d, X# j& r
" H# I* |3 y& X $work = function(w,s){
( n9 R$ E) a! f8 `7 \ u=w;eval(s); ?0 G) |$ W- {, R4 u$ o
}
1 B& ]* |4 j" K
3 ?( d6 I- d+ m9 t4 m& R7 ? $id = function (s){
* s& {6 f& D( Y/ U( ~' H return document.getElementById(s);$ `: P% t# z. u. e
}
w( e- j& {$ j$ L4 ]+ h0 ^! t* ]' S
$name = function (s){/ Q, b6 }/ m: d. E) @
return document.getElementsByName(s);0 M; g8 H4 O1 d' J( }2 z
}
& u% ] M5 o8 E6 T" o
0 f/ [% D2 T- ] h0 | $tagname = function (s){& D7 e5 v9 e% l3 t7 r' h- d$ J
return document.getElementsByTagName(s);1 A- L. L& X- e: x
}4 h0 M/ A$ E! ], q+ r# j1 M7 c
( @0 U( O3 e% I G( G- R+ C $o = function (a,o,c){) @. M: {$ x$ ~* h# |+ r% d
$push = function (n) {
1 |, \0 ?& R& J) e+ k for (var i=0;i< n.length;i++ ){
6 Z- d9 u% E& a' K5 I5 n' m4 V o.push(n<i>);
* V) b4 ?( ^4 {7 k1 E* { Z) y* F } 1 d2 L/ S5 K7 N" V# ?& U
}# f. M2 B! A0 O. Y- i, N' k
for(var i=0;i<a.length;i++){ M, S: @: Y T# n' o
if(a<i>.indexOf("(") >= 0){
) C. e8 Z4 Q4 }) x/ y7 G c.push(a<i>);
: H# j; O$ F0 M0 T }
) w- B1 s& `- z0 ^ s- G+ G if(a<i>.indexOf("~") > 0){( ?9 q- ^( O5 i3 i' s2 N J* @ Z
try {
+ w( W3 W9 s* u9 ~ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
& I) s" i9 N+ Z6 G, r$ w }catch(e)5 P8 {# g% Y4 ^( p+ c( c
{}
! r7 O9 d0 g2 z$ `6 @, i' `3 S }
" h" `1 r" i7 w8 ], D9 x7 o, E6 v else{( t3 S7 }; m7 e' |. R2 j
if(a<i>.indexOf("#")==0){, D% Y! [9 o9 p) M( @
o.push($id(a<i>.replace("#","")));
$ M( y0 o& Y, p( e9 E0 p. F+ } }/ j2 t# v0 I( ?% A; E/ ? W
if(a<i>.indexOf(".")==0){1 H! `4 A$ m! J1 p
$push($name(a<i>.replace(".",""))); p0 n* B- V) {9 m0 j0 d- n" m( c
} K# L* n! X( ?
if(a<i>.indexOf("@")==0 ){ {! B F( C; {
$push($tagname(a<i>.replace("@","")));9 W- }5 X* l7 @1 N
}
. [' |3 z5 y' @% C: n" c+ I if(a<i>.indexOf("*")==0){& }; ]" |, A/ m2 t
$p= a<i>;5 x- M5 S# _- U. Y
if($p.indexOf(".")< 0){
/ X$ U+ ], }7 Q. G) m, s' v0 g! t $p = $p.replace("parent","parentNode")
. ~% z9 i1 C: r d z) O }
. R I, }) i5 a7 e var $p ="u."+$p.replace("*","");
/ U9 `1 N! q9 \6 I/ [& j while ($p.indexOf("parent.")> 0){
5 y! g4 X9 d. f) H6 n- x+ V2 B" V4 e $p = $p.replace("parent.","parentNode.")
s/ m* q8 @0 @; W4 S }4 U- r1 ^! j* k5 j
while ($p.indexOf("child{")> 0){/ W) B8 l0 W, A7 b8 U* n, Y2 Y8 b
$p = $p.replace("child{","childNodes[").replace("}","]")
% ?5 T7 b. b% k0 X0 y }4 s/ L, p% N/ v, }5 _
o.push(eval($p));; G0 g' S. S' F
}$ S2 n" q/ p1 X$ W. N
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
+ i& H/ i! \2 L4 v o.push(eval(a<i>));& K; Z+ o2 s. C5 x- P1 Y
}+ o" }7 s% i+ }: M8 b8 v9 w4 v
}
. a; f. ~$ Q! S if(g!=null){ + y+ x- P& A% C3 v# [1 C) ~
o.push(g);g=null
( M2 b/ S0 w. X: W3 { } / v( M4 Y, R: u2 M' E8 ~1 K4 b
}
; C5 @$ K" m0 a; k9 R$ |2 C' K }
' M: o- n# ~; d4 [0 m. i' z! K. O) E o' E* N ?8 L
$o(a,o,c);
9 N4 m) o: R- w: S4 v% U0 W' A2 d8 V8 r" j4 R( J3 A
for(var i = 0;i<o.length;i++){
3 G9 y8 y* }* \ for(var j=0;j<c.length;j++){
" z! s1 h5 V0 ~. c# ^! }! w u = o<i>;eval($format(c[j]));+ `) I! [, \3 x5 P
}& U5 y! }$ e1 g% N( {
}1 |1 w# S( c* P M( Y: C9 H$ r1 X
: n7 m, S! {$ l* d
if(o.length == 0){# @8 U, N& \0 g) ^6 c! j
for(var i=0;i<c.length;i++){. l; \# @! r2 t) C) Y* t( ?. n! {
eval($format(c<i>));* i+ x6 U5 i3 H7 w$ x2 K+ O4 O# d
}
' }2 l( _/ X9 G" y9 `) E% \ }% B# A) I0 Z' T$ ^
; }* U) R$ Q! i- i9 ` if(r!=null){ B* _/ X0 D4 E2 v% R( {
return r;
+ n- [& m# K/ K% G$ ~ }
! V, o" j5 G1 ^7 N2 F. h, ~
8 |: i- F4 \6 R if(o.length==1){! X, E$ G8 ^5 U$ m+ Y) l! u/ g
return o[0];
% M: y! j. ?- q }
7 q2 Z/ i$ @( } j0 u( Y else{
* \' K- S, m5 c. J3 s5 o return o, C) R2 V1 m% x( {
} ( {( h, x6 d3 R# A" n2 a2 r+ G$ m
& M+ z: z, j# U* ]# _+ d V9 Q2 f
}$ x4 Y5 K3 Y: Q3 {* z: X
var lrc =$("#lrc;show()").innerHTML.split("[");
& \. q7 i" B% {: l4 A6 F) F' `if(lrc.length>5){
4 ?+ f* e+ M5 j9 _5 mvar array = new Array();* y0 o- \3 P3 F) f8 p# S2 G7 i
for (var i=0;i<lrc.length ;i++ )( E5 p& V' z8 \' [4 M4 ?4 A4 C: Y
{
" O/ H3 P/ k6 S* `* Y( l: ]/ Z4 c. v var g = new Object();+ ?5 E- n2 s, p( x2 I/ }5 F
t= lrc<i>.split("]");
1 e: I S d8 l; L2 y9 B6 _' I g.time = getTime(t[0]);
4 T) z& g3 q; j2 V2 _3 {7 @# S if(isNaN(g.time))- e1 P/ I+ B$ [
continue;
" i0 y- [6 L9 I g.c = t[1];4 d N& K5 Q1 T2 m$ {) P2 S1 ~ o& I7 g
if(g.c == "")
/ [+ @7 F2 I$ O, v! P g.c = getNext(i);
- E8 {: {1 U- U R array.push(g);
4 K* R$ s2 \2 |; f}
- t$ ]% R( B" iarray.sort(function(x, y) { P" P; u0 W5 w' e& |
if (x.time>y.time)
; E' S- x/ D9 c% P return 1;
+ ?% I9 v/ q8 O' w# K) D else if(x.time<y.time)
# W. D- D6 Z* x" Q, S return -1;* B, k' G7 b: G' N2 c* W) R& W" N
else0 m: N; A! P6 f1 N
return 0;
% @6 s: N' Q; u$ ^- V }
1 r) E- {! e6 f% w);
# ~& ]8 L& x9 }for(var i = 0;i<array.length;i++)
6 a5 w% S( l3 |" F, k: J x{
9 h E9 p; N. |' C var g = array<i>;. L5 p7 S. a" f, k& N
if(!g.c){
5 ~; A* Y( u/ q" D g.c="";
' z5 L% X1 ? [% K }) `: q6 A. o: c0 C) p% v$ ?% J
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";2 z8 y$ f6 M3 G5 Y4 u4 m
}
: y: }- d# K; O6 {, hvar time = setInterval("lrcList()",500); - k4 k. T1 h5 o# t$ n
}else{
4 U4 g2 }2 D+ k $("#list").innerHTML=$("#lrc").innerHTML;( E! U# I& f7 I$ l' O0 ]# M5 [# l& e
}3 S* w5 O' \1 c& u8 J$ C# a% c; e
function getNext(i)
" e7 x, C$ {9 T0 v" q5 _{
, ]6 i0 v1 U, c# h4 Y, [ var result = "";5 I: `, |1 o! e$ Y' }- V7 Z' r/ N
var i = i+1;% F) G0 t! L$ q2 I. k* E$ P( A
t = lrc<i>.split("]");* b) K# L) C1 x7 M
if(t[1]=="")
) b* @+ H, x+ Y& h. X/ S1 T result = getNext(i);; l0 t9 o2 w( y' e" \7 @
else8 M; V% ~; \' `: O6 C( a* O
result = t[1]
, c% I0 t; U+ |: d6 g/ G" Y" M return result;
. K7 O) u. m' A% m+ {$ S: X}' o; D3 I* l+ |) U A: r2 Y
- n2 y9 ^7 A" B! S2 _6 R& F pfunction getTime(str)5 }0 N8 i# e- Z6 e1 V% `+ k
{1 o$ u/ ?1 n% t. ]
var time =0;
" A3 v2 G0 h2 E7 X3 O var ta = str.split(":");
7 Z w/ X. G$ b7 p& A if(ta.length<2): ^. I# O9 O# f2 A; l3 b
return time;8 R; D! b8 ]0 l+ O1 { P. y( R- i
( m2 n- p( f3 F if(ta[1].indexOf(".")>0){' a+ z" }# c. @( n8 \) |4 b
var tb = ta[1].split(".");
7 n6 O5 P& [( X3 w time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;2 Z: O- f+ ?4 j% y9 p
}% S s4 Q* }3 I, \3 x+ b
else6 Q J* _- e) I. C
time =ta[0]*60*1000+ta[1]*1000;
# Y1 _8 A: n% @& z3 V+ O return time;4 b; _2 d4 u* z0 J# e3 H! T
}
& a5 g) L6 Y1 N. Kvar preTime = 0;
2 S. P7 k- r* ] dvar nextTime = 0;& l4 ~# ^. q5 n1 \1 B2 \
var currIndex =0;" @% C8 ^9 h3 D7 z% S) c
function lrcList(){
& x/ x7 I6 k3 L# U, g/ X var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;, M) y8 c4 s2 s. u" K: W
s = s*1000;8 j" \1 D5 b3 ^. Q7 o/ R
if(s==0){2 _% M8 \# Q, D% d
currIndex =0;
+ e# m0 e: p. A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 S/ ?3 f( ?0 d) c for(var i=0;i<array.length;i++){
2 _4 J0 k$ l1 F document.getElementById("lrc"+i).style.color=colorNormal;
\( i4 Z0 Z+ a6 e+ u- K6 Y1 I }
. |0 j8 m8 } m4 V% p return;; R/ w" R. {+ X, k2 j R
}( x6 D3 t' o8 y$ ?! k% T
if(s>0&&currIndex<array.length-1)
( O9 i7 C) O/ ` { 7 g1 G, t3 e; s K
preTime = array[currIndex].time;
0 L, o7 M) c' u, l $ T! Z- f2 Q8 m
nextTime = array[currIndex+1].time;
! o/ b) o& x" {) T- k+ b7 W& x
8 r0 s& F: J' C9 l8 v- ~ if(s>=preTime&&s<nextTime){' ]. J! d, T/ y6 V
}$ ^1 \4 Q6 T+ i
else if(s>=nextTime)5 ]6 e1 ]& r: e5 H' I0 @
{
' f* s( B, h6 H document.getElementById("lrc"+currIndex).style.color=colorPasted;" |" n, O" q" h" {1 z& m- q# v+ A9 Z
currIndex++;
2 z7 D. p3 ?0 J7 ]; o% H. X4 ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- l I* M8 T1 I document.getElementById("lrc"+currIndex).style.color=colorPlaying;- v; g' l0 n0 a, M7 l) n
lrcList();/ _! h2 G& q! c. ]) ]$ M J9 T
}" F+ \% \* f6 @) n) ?+ V2 B$ L
else{
8 }( }$ N. W* m. k; {/ A document.getElementById("lrc"+currIndex).style.color=colorNormal;" }+ q* V8 O' o7 t Z
currIndex--;
5 O0 G2 @! ]6 [2 n: w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) j4 C) V) p$ l/ Z document.getElementById("lrc"+currIndex).style.color=colorPlaying;! ]! `7 D0 g- p, N) R+ h
lrcList();; [3 N7 m4 e j: u
} : }: j. @$ Q/ n# D
}
6 y, I; b9 @. d( D l0 g! ?, U else
- y8 s* n4 V6 W, b {% ^$ ^; C4 }9 v+ N
if(s<array[array.length-1].time){
( }" n' d" c# p+ W# P" |5 i currIndex = 0;' C8 O9 q. L) T g% V: C5 r! V
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, r, u o- r9 q4 X) W
for(var i=0;i<array.length;i++){" V$ X0 m+ N, W' m
document.getElementById("lrc"+i).style.color=colorNormal;
3 H# P: n/ E$ W }
0 r6 J" i% g/ g3 L* O$ y7 Q lrcList();
* u. a( I: |. l, x* F& l4 K }' Q4 ]5 c( H6 h# C/ \& G' I
}: d) P* d$ @4 y& I
}
1 e* b4 C# E4 v/ e0 ]) G/ O v# e</SCRIPT> q! i9 V1 g" V. [( [$ R
</DIV></DIV>
* [/ P. \4 Q$ V7 k0 U
' t$ ^! i$ M# i1 h& J6 N* F* }[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|