|
<DIV id=list>6 u4 [* e* ]7 @$ r. K- Z, U
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" H' f' f) b9 W
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>5 t0 s7 A$ Z. s6 F! R3 I! N
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, ^) J# a6 s9 [, C3 l$ F, a<DIV id=lrc3 style="COLOR: #666666"></DIV>/ E4 \9 ^( ?) e2 l! R
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
$ F4 V. X( j7 F- D f<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
, [5 D2 `' J* {<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
+ t* q3 Y. |. f) O' `6 S<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& p, R) d% D; S9 {- ]0 @8 L
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" c+ Q/ B% p! b" x$ q
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
( ~7 f4 i/ _' g3 {<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
. M( A2 ~5 K8 D1 B, I<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>8 S9 S/ y$ c1 p
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>& K8 G. v! h3 y |9 ^8 P
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>* D5 a5 K/ i: Y' }* d9 E
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>7 [1 a' {% b5 h2 J, n. t
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>) K4 q! M: ~9 t. r# i& x: r' |/ c
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>3 W/ v7 J2 c* d8 P: a* C; t5 X9 d
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
E: S. f; \7 Z( i<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
( K( T0 e$ W9 k- e; ^! p<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: z a- Q3 c. c8 c3 ^<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>" c" \* s( x- y! N& m. r0 {5 l5 \
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
" ~& y, e( N' c+ r e1 m<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
6 e I# ` N* t& q) @# @" B<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
# m6 `! c- o2 E<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV> I! S) _9 k# `
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>: Z3 U" e3 P, Q2 H$ t* O1 n
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>5 F y! C5 d* p. s- L4 t
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 j; \1 t" [+ Z' x<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) B; ^. B/ c& q* @$ m<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
) N( i/ `! ~( A- ?% u V<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
& P1 H7 z+ e! i1 ?/ b5 B<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>4 X) [% H8 D/ o5 s. b b5 Q8 h
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>* y# T6 O4 J- ]# u
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
' a5 V3 e! p3 g- M- r0 L8 J- y<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
" a" t- S! Z% I" D: i5 d/ b<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>* [$ l" U G% N3 c3 ], X6 W
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
$ T! f; k5 F) z" S% |# w<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
9 E2 |# N4 V1 r; o/ T. G<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV># f8 d" |1 r" `# I* Y" H
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>* [, {! t4 ]$ g
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
5 n% B) p0 C; ]; Q- w( @4 ?<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>3 D F# Y7 [1 W6 `* `3 X
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>8 H$ b0 j$ E. P* b) K( J
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>) v; o1 l# L/ S; [; o
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
/ E7 e$ ^% h( y4 @+ H" Y( ^<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ ?; w, A' T _" ?1 T1 J) M2 u8 y
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
( a& s& n$ c! k) x<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>! n1 \ Q: Y' n* _
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
) n. [# X3 _6 q3 q' n% v; C5 f/ O<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>& M; V+ h# I( b% C& ~& c0 `3 x
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>' M6 ?* |( ^" E2 S3 M) \8 D/ A
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>$ d% f$ ], V: M; E
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>- C/ R i O* |. P5 [0 M( L+ H( H5 I
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 - h1 B0 t+ n. [* w5 y8 t, r9 R
<DIV id=lrc style="DISPLAY: none"></DIV>8 e; ?& T# Z; j5 F3 H
<SCRIPT type=text/javascript>
( x7 o2 S0 G M. n" E2 F: gdocument.domain="1ting.com";) W7 v' P8 ]: d0 W$ U' n- Q
var colorPasted="#666666";
/ W8 Z( x: K H) cvar colorPlaying="#ff3300";
' Y5 l, x7 F7 jvar colorNormal="#000000";4 V* V6 F) Y# b, C
$ = function (a,g){ ?7 _# p& U6 M0 d
var o = new Array(); : k0 J8 Y+ l& b& _0 ~. ^- p
var c = new Array(); 7 Y, q9 j) [3 s8 v' f/ | Z M2 j R
var r; $ i' L/ U$ Z! r2 M6 u
var u;
F9 w. T0 f6 ]9 f' N M var a = a.split(';'); : B% Q6 j4 i3 W7 s9 E' Z
1 b; G5 Q, P$ u var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");% b2 [9 \& o1 P( {0 I3 N# o
for(var i=0;i<e.length;i++){
8 R' ?* f& w! ^, ~; K: v" g eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")% K2 x8 |. s; F! J% A% `( b4 I
}
& i8 Y' f/ C" @" \2 p# ~4 n5 X5 |" k, ?5 b
after = function (t,d,s){
9 u; P1 K4 o+ s! g* w3 ?1 Q! f $after = function (){
* p. c7 |, n2 {4 k6 g var $n=document.createElement(t);
. \& c+ t5 W9 }; T) z if(d!=null){
7 J1 m. {' R4 X4 H3 u0 | $n.id=d; 1 m% O) f- _, ~3 M( e
}
& `! c+ Q+ s2 d) ~) t* d
x% H: X# _* T4 S u.insertBefore($n,null) $ K! j' ?/ m! p
r = $n;
Q. ~. V: k6 V& w- d+ o u = $n;
- L3 [% o4 _7 r' ?0 X }3 s* @0 Q' \0 P8 q7 j: R1 a
$for(s,"$after")$ e+ N0 n" ~+ ~0 G0 y
}3 K9 n5 F1 E/ k M) @
; k6 v5 r! T9 n! w4 B+ [" ? show = function (s){
- r! r9 y- H( |. E; }+ b; ~; z $show = function (){! q; Q) v( z# H) Y+ N
u.style.display!="none" ? style("display:none") : style("display:block") ;: o* v0 d# }0 |( n: d, b" `
}
$ u3 X8 y4 F. e! R2 J $for(s,"$show"); B! G. F* d; I% }- q5 a4 |
}
6 u% Q% h/ I: @& S; G0 \" S k2 z: d! e
check = function (t,s){
7 m( u5 S2 `$ U/ K* E: L! n $check = function (){% ~: c' D2 o. ]2 R. a7 P, o
if(t=="2"){$ `% }1 n2 H7 C: H6 R
if(u.checked){2 F0 z" W! u7 d) E1 g3 z P( M+ [+ I
u.checked = false;
7 ?2 G; a- \; c$ s. P6 B$ R }else{
( a+ f# c# B/ O+ o* ^ u.checked = true; h7 A$ [4 L3 c+ `
}
1 \8 H. N" R7 F* J, F, j# _, \ }else{) X" `% L. l B8 T
u.checked = t*1 ;
7 M; J: N" T2 |! g- V- c" Y' e% k }
+ i t" f: F: T0 D1 i; } }8 }0 ?5 @9 ^' f% U9 }# I$ p6 k Y
$for(s,"$check")! H2 a9 A% s- y' N- ~8 b
}4 u- F$ ]) }3 {& ]% o" H* M& j* j
. z# t! a! s& q) J3 D1 Z
style = function (v,s){( W; ]0 N9 }! c/ Z
$style = function (){% v$ H& H% \8 U' T4 w5 g) E
var $n = v.split(",")
$ y7 a/ }2 R6 y; q$ D for (var i=0;i<$n.length;i++ ){4 @4 z! L$ i+ ?: s& }2 x
var $m = $n<i>.split(":")
9 _( L4 x- f. q) F; U7 G) @5 M eval("u.style."+$m[0]+"='"+$m[1]+"'");
8 v: l( V; X" s; s( |' Q) j }! Z) k2 }8 k0 x
}- L+ G; S- ?5 b R) J
$for(s,"$style")$ ^. m! O1 S& W/ M% l( C
}
0 A( K- N( Z+ \+ a$ `% A% l+ _0 ?3 s4 U- n% s5 m1 S
value = function (v,s){( f4 c% E4 A0 }3 K
var $n= $this (v);
4 C% u2 \5 Z- v, C* Z9 v# } $value = function (){
: B/ b5 k5 z2 h u.value = $n
! O- c, q% P. s# ^ }2 S7 r2 O, F2 L5 r- s
$for(s,"$value") : g8 r3 ~! j* u1 r* d1 v- a
}. B6 C! x. y- y4 L
6 I k% c8 _+ c4 I. F( f6 q& z1 U
text = function (v,s){
# F6 `& ^. E$ ?3 \5 I var $n= $this (v);; {% H' P4 X" J7 q' r
$text = function (){( @. H/ O3 x) ]
- X5 O1 t9 u: V! e/ Z) k$ g9 c& s u.text = $n
* y$ f$ F2 s5 C/ T8 a( @ }
* ^- u# ]: Q( F; ]: F* g* E $for(s,"$text")
2 i! M7 {$ W: `. _2 J6 [ }
! f/ v# M$ L, V4 q8 M
0 o* B0 q& H9 K innerhtml = function (v,s){, ?9 f( K% {2 S3 o& o. y
var $n= $this (v);
$ u# h3 L4 h: l: `$ g $innerhtml = function (){
7 A; l5 r0 ]' O+ g# p" k- | u.innerHTML = $n
1 C2 e2 o3 ?+ c& {) w$ w }
6 v% r$ s6 a* M0 Q $for(s,"$innerhtml")
+ K' Z, \0 |% l; @7 X }
% ]0 w& }* q) A2 U 2 _3 x2 u8 X7 Q" q" N \0 i
removechild = function (s){
, Q9 F1 g/ W% y $removechild = function (){# g9 j6 J" D5 }; R
u.parentNode.removeChild(u); g# g: `2 J" T7 k& _ k; j/ m
}4 P. S. S* T/ E
$for(s,"$removechild")
0 s( f) ^" W/ y/ ?2 Q( w/ B }0 T$ n) J" L$ O# q0 g
2 F, C8 v# `: ]: }& t $this =function(v){9 K$ H; L/ U5 r) D
if(v.indexOf("this") == 0){
" O+ A" s. W2 n) M return eval(v.replace("this","u"))4 ^$ S) _7 F" _0 A, D
}) t. ~, C- m x+ S+ n
return v;4 A6 @; d0 I; P% V& J) B
}, K" C$ H" O) X& Y0 u/ H; b6 O# ~
$ B2 `* Q* T/ c( f6 b" F: Z( s
$event = function (s){2 r- L( E# `. K& Z/ f
var $n ="u."+s+" = function(){$work(this,s);}"0 v' m$ r8 T( i h( m. e
return $n;! R/ W: x- I. j" @ U& S" K
}
7 n1 F2 M! r" w' f' Z8 i' n0 H
! l3 N6 v9 U6 b. X $replace = function (s){( x X! h& p+ s/ q4 }
' s: a! m6 _' |5 J& m; X }1 `1 i1 `& W6 T* z( k5 o/ C
1 ?: l" `3 {6 {# P( G
$for = function (s,c){. X- b; n% j: v V4 q
var $n="this."+c+"()" ;
1 }* V) ?/ Q3 u2 g/ u9 g3 q if(s!=null){2 @$ ^9 o3 ^# X5 E. w
var $m =$test(s);
1 |% t, r( S3 Z5 N for (var i=0;i<$m.length ;i++ ){
' y; [) ?8 X2 _- R& X u = $m<i>;: m n' t6 L8 I. |
eval($n);4 j. l! P6 A& f( t/ \' G
}
: D; E) K1 V8 E3 S }9 i3 I# r/ r5 o0 a$ o" h# m+ R
else{ s3 c; Y, X5 B' ?) s8 l
eval($n);% k$ |$ C( V3 b* Y2 ^' d& R
}
# \8 Y" G- B* n6 i& K) r& w, q }
$ v2 a |! I6 E. M+ W" k - ?: D4 K; v+ x5 |: o' |* ~5 y: X; w
$test = function (a){
j, B- `; d2 }; } var o = new Array();$o(a.split(';'),o);; n3 B8 x8 v7 G7 O1 Q
return o;5 J6 i+ k5 A8 D4 B
}
4 w1 W6 c$ R; e9 @
) o- @' j) ?1 N3 o5 A4 s $format = function(s){
7 H- f! ~2 R. F1 [% e5 n while (s.indexOf("'")>0){
0 m& x. {! }+ r2 L* d( ] s=s.replace("'","\"");
2 H1 Q6 u" `& o }
; i& }- ]6 @3 v" { while (s.indexOf("][")>0){" ?( _' m9 o- Z: ]
s=s.replace("][","','")) I+ K* i: v T: F/ w+ ` u; v6 m' O
}
8 [- H0 H8 H# |3 o0 i7 p while (s.indexOf("[")>0){% s! X6 O ]% S
s=s.replace("[","'").replace("]","'")6 Y5 D$ i. v3 I2 G. o8 {6 I) q7 H/ u
} , }7 W$ `: \7 q) L
return s;
7 ^4 l E; P& {+ M T3 O! d }
( u( Z% |' Q+ p" M( h
1 G) j" Y0 v6 K $work = function(w,s){/ y' Q, Q5 T1 P; m
u=w;eval(s)
3 u% A6 T" T/ x* A$ p }; x6 i; w; J( k
) a9 x/ N: v$ A/ Q8 i. H* D $id = function (s){$ P* m/ h2 F/ U: }6 F
return document.getElementById(s);
) }4 z0 w4 {' L0 W* y1 I }6 g7 G" G4 L4 ^0 g/ r y) A
9 A( E8 U' m" s, m% ^$ d& Y* j
$name = function (s){0 y, N; x7 l' x' R7 ^: V
return document.getElementsByName(s);& G, Z# _6 }3 F% T" u" E0 {* U
}
" t0 ^: Y' {7 J" W% }. I
2 n. l2 a* E/ k' \/ D $tagname = function (s){' \% v. [5 l. Y; ]- i
return document.getElementsByTagName(s);
1 d- |( y+ _/ A! E% V }0 Q8 [ @/ } v, J7 N/ `" p3 t
% v* b E S' J( F. n
$o = function (a,o,c){
# t h; O& t; S p; S+ [4 z9 G $push = function (n) {
& k5 b# E" L5 ~0 r; F for (var i=0;i< n.length;i++ ){4 W) Z1 |* \5 q7 L' X
o.push(n<i>);3 v2 x) m2 t% ~& h* X
}
% C" N( L1 Q: k- r% N) t }2 |. }/ c3 {: Q7 T
for(var i=0;i<a.length;i++){# G) D, ]$ R# \$ O. w* @3 D
if(a<i>.indexOf("(") >= 0){0 Y8 o, j$ D& T. G# l! Y
c.push(a<i>);; [. I4 C; T# z+ j( B0 w
}3 V) Z+ u4 S# c; I
if(a<i>.indexOf("~") > 0){
! f' c2 r$ B, I) D4 n, ] try {
' ^4 _% D' }7 Q) N. w $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
" R9 N b) b* w) I# F% X9 \0 ]) [ }catch(e)$ ]) i- @. Q5 p. a
{}
4 w9 C9 ?% M, ] }7 A5 x* w( m9 s. r
else{
! I- E2 e- T4 ?! d- d8 Z5 f if(a<i>.indexOf("#")==0){; h& b7 e3 ^( m
o.push($id(a<i>.replace("#","")));$ {# v: n9 O/ W& G2 p5 K
}
: w" ~& M9 M/ A( }3 h$ o! _ if(a<i>.indexOf(".")==0){
4 d, x7 \9 k: ?3 N' L $push($name(a<i>.replace(".","")));4 F3 o8 q% S% i+ B: E& y
}% K2 |' d @: `5 R" _/ b
if(a<i>.indexOf("@")==0 ){: D" V/ c g0 C
$push($tagname(a<i>.replace("@","")));
6 h1 r9 g8 v/ S3 a) T8 }) w$ Y }6 N3 U+ z- S+ r2 G/ I4 b
if(a<i>.indexOf("*")==0){
' e, G, E7 F2 C+ h/ L $p= a<i>;' A1 F8 w: M; y @
if($p.indexOf(".")< 0){) N( a1 B( |7 A
$p = $p.replace("parent","parentNode")$ |& s0 d1 N6 k% M3 c: H/ _$ L
}' ^& k4 ~. e- v+ m- _( A; ~
var $p ="u."+$p.replace("*","");
, v7 C6 Y; P K: r6 G while ($p.indexOf("parent.")> 0){
3 ^# S) r2 B/ Y" D. |) @ $p = $p.replace("parent.","parentNode.")
7 a8 S* y+ a5 l3 d }; w. @$ C' e9 y2 ?3 A
while ($p.indexOf("child{")> 0){0 p$ Y3 `7 e k9 m% o2 K' U
$p = $p.replace("child{","childNodes[").replace("}","]")3 Y4 |5 x" C7 L. `* s
}) ^" Z5 g1 I x# ]: j7 H; [5 p( Q* h
o.push(eval($p));
H$ q+ W0 W% Y' P. V! _$ F( m }4 G+ M/ c3 a5 W% s" C+ O, C
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){: ?5 d- l3 _6 V) N( ]
o.push(eval(a<i>));
4 p4 w7 }5 D2 u, t- u7 ]4 I6 i }
& [6 w- n% f1 a9 w }
3 {5 i) y9 K T' d. V( X if(g!=null){
( [+ `$ B& |, ] o.push(g);g=null. l% R6 ~' O. L, C2 Y
}
0 R* S- j- G5 I- O. f$ P ~ }! H# @+ f) M7 I( x. A
}
- {* v" c& S' }2 n' s( o! Z
1 Z; [/ Z% B0 h' B ` $o(a,o,c);
) Y+ r3 u& S( S; {5 a0 `, {2 L* N$ I+ X
for(var i = 0;i<o.length;i++){% F- D& K0 g3 S; ~, \7 A' P
for(var j=0;j<c.length;j++){
; ?7 b! Z* Y+ P# i) n' X( v u = o<i>;eval($format(c[j]));
. C- H# x, ?: f5 Z }! p$ A% M3 O; G2 p
}2 V/ ^- n, b& S C% r
5 u' V- V0 j5 S+ `5 I if(o.length == 0){) n3 m' G3 L* u5 ], k
for(var i=0;i<c.length;i++){
! v0 d0 o5 V$ h" u eval($format(c<i>));
5 R. \/ I# t" M, v0 q1 f& N& k }
7 O) m( m' R" s/ M; @! X* e* A; m2 ~- ?. a }; b b) T2 I0 h7 Z3 F0 y
! U* W& \- u$ d+ Z! l
if(r!=null){
& [0 C) W4 c3 r7 P- m& C3 L return r;% F J1 w( R* ~: h
}
% @3 P7 [ L3 E) i" [- K ) F' G* F7 a" a
if(o.length==1){
+ Z3 X# x' y: Z5 G- d& A/ E return o[0];. v A ^& |5 H F( V
}
5 F8 \, B! \& K else{
% W' l3 t# @9 D7 w9 t# b! y return o9 G0 M2 Y0 h, k/ Y7 U+ N$ ?% n
}
& s; I* t8 i' i6 k
" z5 E1 e$ z( M6 Z" e: q }1 }2 f# \0 v1 r7 N7 W
var lrc =$("#lrc;show()").innerHTML.split("[");& [! y" v# h1 ^' n! T0 W
if(lrc.length>5){
3 Q! M- y1 k- p! W1 L9 }var array = new Array();
( ~7 P4 P e9 B/ W* Qfor (var i=0;i<lrc.length ;i++ )
( s* P0 o5 X: d/ ~{
9 ]& T4 A P4 w5 ` var g = new Object();
7 I" _, J( J0 Z2 `7 ~5 E; c2 t5 m t= lrc<i>.split("]");
q1 s- _" O3 J/ P- S g.time = getTime(t[0]);
) T! Q! j! x4 i, n+ |; N; E: W. H if(isNaN(g.time))
5 _: O2 o& E2 B6 u( j- c) l& Y: k8 c continue;4 P- I: H8 q" X: a* a2 a4 A$ [3 F- |0 u
g.c = t[1];# {- m' ?, d9 F1 H% c& `% {
if(g.c == "")
6 E q6 S( v1 l3 E: P g.c = getNext(i);0 Y! O( K6 F* b3 Z; y1 v
array.push(g);
' R! j+ b: N" E0 V! {" a8 F( F3 t) P}
* e3 Y2 U6 S! p; m$ {! K W2 earray.sort(function(x, y) {( I5 [* F ~/ S
if (x.time>y.time) , ]# L6 @ x: b, l: `
return 1;
% D: K' m& n! a* W+ h9 ?1 a5 [6 D else if(x.time<y.time). Z" u5 w) t. f) S$ j
return -1;
5 V6 } E6 }. M) W7 V else9 [8 t& u( m! ]7 G0 b# N
return 0;/ u U" k5 F+ t8 v" u! u4 S* [+ b) s! c
} ; L4 ?# i7 s, I0 I, D4 G$ L
);. m' D% x9 }- {8 F' x
for(var i = 0;i<array.length;i++). X! o" H/ E1 b$ [& i' a8 O
{, {9 r$ H# `$ w% y4 g
var g = array<i>;9 {/ d9 U# q" Q5 @- f
if(!g.c){
: t7 I. V/ ?* E' ~$ R3 S* ` g.c="";
9 S3 _' T7 M- `7 ]% ? }
9 ~ E C5 K" W4 D. i $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";+ a. a- F0 g( I8 u
}
6 Y% a3 _. f; U( F9 h: a2 G9 ivar time = setInterval("lrcList()",500);
7 s7 k* \7 A- s}else{2 B! L+ L0 U) P# h5 ]8 l8 Y
$("#list").innerHTML=$("#lrc").innerHTML;
) J! x# V, u, X9 Y}
* S. q" t7 S( j+ X5 C) Pfunction getNext(i)
* c; ?0 x/ Q7 R8 N0 Q* O{
: s; u8 K& G5 ]7 a$ O. C4 Y var result = "";( l \4 J# t: E. x; |/ z
var i = i+1;3 r7 t) w1 J/ n H
t = lrc<i>.split("]");. B+ B- O, o; q. n# a l# U
if(t[1]=="")( X$ b. m$ M+ W1 j c- z
result = getNext(i);
" x5 [( V/ ~% u* P$ _ else
- K/ i5 x; q* {: P- b7 o2 T result = t[1], m0 E8 q# [$ n7 {) A& L6 X5 G
return result;
$ |# I9 I0 m8 w/ m t}2 P4 y% o2 y3 q/ v
4 D1 j% p8 I# j. Z4 [
function getTime(str)
8 M/ |6 W8 [8 X6 S1 [" G2 l& @$ ]{
1 y' g% j0 F* g var time =0;4 T# L" c/ h0 O% C/ M1 f0 Y
var ta = str.split(":");5 Y/ ~' [1 u3 J4 Y& {+ q
if(ta.length<2)
5 m! R: F9 P; M, s return time;3 G9 _ T. C0 l% h. Z4 L
! p6 Z5 @5 i# k8 f& Q2 w, y; T
if(ta[1].indexOf(".")>0){
9 D, s+ }; ~1 E4 V1 U/ i var tb = ta[1].split(".");
) X6 K1 t4 H9 u" W6 {5 O6 S time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;; R4 ~( W$ ]/ ]. H! k
}
" w ^7 Y; \' o else2 E e1 Y2 L4 ^/ W& q
time =ta[0]*60*1000+ta[1]*1000;
_5 B/ i! `9 Z9 T3 Z D" d return time;
1 ^0 V$ k( A1 i4 O+ V/ r/ p. @}
& r( [) A* I( T6 y) ` ]var preTime = 0;
6 e: P- ^9 i. kvar nextTime = 0;0 A2 n5 a# l3 Z
var currIndex =0;5 \/ X& _% b9 G. }' y! f
function lrcList(){) ` [# e+ O% u' F- V
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;" q: @0 ~/ b, K$ ]
s = s*1000;
p6 t& Y- {* d/ h if(s==0){* w0 Y8 a! J4 h% u3 e
currIndex =0; |$ z" ^$ _. ~' n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;0 G% I6 z, U. C3 t/ X
for(var i=0;i<array.length;i++){% g# R1 ?* N3 N2 f& ~
document.getElementById("lrc"+i).style.color=colorNormal;* A6 y/ q6 H* `& A% X( M$ z) }
}
/ w! Y( j0 q8 b9 h* j/ C+ s/ { return;
& s4 P; p7 o' u. k }; D. z% {2 A. j; ~4 Z$ `$ y
if(s>0&&currIndex<array.length-1)' r& M$ Q$ D$ Z/ n! Q5 k5 Q# y+ ^6 D
{
& @( k2 P1 l$ N0 m' r' L7 E' [ preTime = array[currIndex].time;
1 s+ `6 ?+ d* t+ {* N
X# R4 A, D. r: I( k& t nextTime = array[currIndex+1].time;
$ P4 E/ Q1 G Q6 x, `
2 l" {1 k0 L/ G. G4 G$ j if(s>=preTime&&s<nextTime){
/ T% ^, s; M3 _ }2 |9 [) C8 j8 _! I1 M& P
else if(s>=nextTime)
3 D+ {0 }& I! [9 K {
9 P8 E) Z3 U" i+ n# \1 I document.getElementById("lrc"+currIndex).style.color=colorPasted;: j+ p4 l5 Q+ Y3 x8 V
currIndex++;
+ U% z' L% m q- X2 X K $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! f- j" S5 ` h G5 O1 _# s I* A9 B document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 R! ^' K* N5 i6 ~ lrcList();
6 t+ V3 R [9 L8 c' B0 F }; W1 r1 M4 C; S8 U" c: q: a+ }+ K
else{
! h( d! U# Y9 G7 m0 y/ J document.getElementById("lrc"+currIndex).style.color=colorNormal;
$ w0 F( v, y: ~+ H2 f; o currIndex--;! [( C4 ^0 b4 ] H- v; a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) _: S- M0 s) i5 |* \
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
/ w9 n) Q$ C, r4 [. B( ^ lrcList();
( A& x5 w# p5 p/ K } 2 b. g |5 W; i( q# g! B$ h2 i
}
# e! V* C) `+ i* K# P" l8 C& Y else
0 ?" ?+ ^4 R+ W6 V7 k: v {. N7 f# P: B5 D/ H
if(s<array[array.length-1].time){7 Z5 V9 c V& M$ B( o
currIndex = 0;% z. x! `3 J7 U4 N2 b( M! V) t( J
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
( _, ^) [; B+ s0 l. j" J0 G for(var i=0;i<array.length;i++){# |, s B: b0 m9 d
document.getElementById("lrc"+i).style.color=colorNormal;4 K5 L- C/ S7 K2 m
}) N& x4 ?+ z" I
lrcList();
# l' k! Y* k ^9 D$ [0 F+ q6 P; L }
6 ~1 d' Y1 P0 J. o! X+ C! o8 Q }
, a7 `1 q! a6 ?}, e$ |( Y6 x1 C& [
</SCRIPT>* o$ Z" z8 } {' R( O- \
</DIV></DIV> v' Z* G2 l' c2 g" [# j- B9 Y7 l9 X
2 u3 ^7 o7 T8 }4 k. ~7 n9 x& [
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|