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