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