|
|
<DIV id=list>
8 ?! P$ F* x( {9 D<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>+ S2 _7 b- @0 `4 x7 s8 G# q
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
- a3 Y2 [+ P9 P& O/ c$ E; w<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>; S* @- k9 ^7 c: ?7 X2 r1 T
<DIV id=lrc3 style="COLOR: #666666"></DIV>: G2 u7 v! m0 O+ W \* y
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
* ?; }! j: | w* t J<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>0 y3 R5 s) `9 l/ g2 A; q
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>) `0 Z7 x0 {/ T3 E. o+ A) i: X! l: u
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
% D9 R" N" [6 H<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
! C- i* o: |9 f5 {<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>4 C9 ~9 ?7 ^$ H q4 h0 D
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>" I5 i' ^ F8 x3 k( W
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>. `% l; U1 g+ ~8 l2 k) C
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
/ H$ s+ B9 _ D+ n1 I6 K5 c<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
/ ^, v. Z1 P4 l! k<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>- S% q L/ b( i% U8 b7 N$ v
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>% v7 G5 M7 y1 Y6 r) v% p; W% |
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>7 P! i% `( ]! e9 v% w
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV># H$ q8 S, {& v% O4 C% d# p; r
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
' W- i0 J5 z% Z, k, H- M! \& k+ y<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV> }' o+ `1 }) i: G& }
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
* \4 i ]& Y" W9 Y0 T<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>( T" b( ^: _7 W; K6 k5 c1 N
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
8 ]/ w) r6 g1 l7 q- U<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
# r! o- ?5 Y+ P! F' m8 j) o* t<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>" L8 T# J+ m* s- h3 l3 b
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>6 u' C. k8 b& C: N
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% B1 F# O0 c1 T6 ]# J<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>9 L- a7 V# \" n P" K" i; L" ], z
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) V( \8 M: h: ^- e<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
( A9 O# o5 O g2 I9 m% {<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>6 T1 @8 J' n2 c# N$ i0 t {7 c
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
+ z+ g2 f6 d' W( k$ e<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
# w3 M5 n+ F. p! y<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
$ p! q+ |6 G* m) X9 i<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
0 a! f5 q; Q2 C7 Y<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>" {1 b4 T5 g8 }+ N4 w2 V) p
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>4 c) f i; a3 [& D% `
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
& Z! P6 t- G9 B% B! ?5 O6 [<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>; _7 `+ V+ b, ~, y; i
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
2 Y/ P! {6 \$ ?% Y3 O" [2 U<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>2 T! i3 q6 l2 ^& L
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>: V. ` a3 e6 [" `. M" e3 q. s
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
& k) u4 r* Z9 [' t7 s. e<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 Q% f* J5 U# b& v
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
3 J( l& ~6 T: P! R, y4 \<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>3 l5 C7 w( ? x1 U/ d' A$ }5 t3 ?: J
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
0 M! S. j4 A" C8 [5 `, W( V, O<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>8 J& c( X0 I$ d3 t
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
* Z( ]& H" I/ u) m- M6 A3 ?2 a<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>) {) b. A6 s( z! |3 h5 G- t4 F* ]. b
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>1 M% M( c5 j3 G1 d
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>( L( b: t2 a' j4 W8 }
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>0 V, ^8 e' e* W" C7 X/ X
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 6 _5 I$ j* m9 G( `8 L" }4 I+ k/ G
<DIV id=lrc style="DISPLAY: none"></DIV>
# ?9 H( I' w; |<SCRIPT type=text/javascript>- J5 a9 O' K! e( o( S
document.domain="1ting.com";- n0 d9 q* q; ?( n& L8 t2 q
var colorPasted="#666666";, d1 U5 [6 l# y! F( t
var colorPlaying="#ff3300";" s" H, M$ U/ `) l# p
var colorNormal="#000000";" v, F. a( o) z/ T7 |! l+ o6 u
$ = function (a,g){6 h$ F! q. U: E, F5 p5 F0 S0 ^1 R
var o = new Array(); 2 O5 R; @% k5 M( V3 O5 T
var c = new Array(); & [: P* ^; J; e5 P
var r; 1 g; _6 q' Q& [6 i- I
var u;
, _% `0 {5 o+ A5 [. }- G. w var a = a.split(';');
8 u% B) B* M% C& c6 c! U( N
" a Q5 z/ _" R% t" ~* q/ f var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
6 f: Y0 F3 Z i# l% Z# }' c for(var i=0;i<e.length;i++){% f( u* P9 g2 l: u3 z% u1 M
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")3 w0 n8 G$ C, X9 K+ U' ^5 l" R" Q% o
}& I: s0 B- `3 u9 r% |
Y4 K# M2 I6 C2 p5 F' Y. m after = function (t,d,s){
- W; w% u/ d' w- T4 _" {0 V $after = function (){& {0 N* q: F7 w1 L2 m
var $n=document.createElement(t);
" h; d# C( L. o* E4 E$ x if(d!=null){
9 }- D2 R# w8 N$ t* j9 Y $n.id=d;
' x5 ]3 r; ~9 F# I5 S }4 v9 h. v5 r `6 j( q9 w' n
# u; S2 e% Y l. J1 X u.insertBefore($n,null) ' o% Q) g$ x- B
r = $n;
' Z. J8 v- f" j( Q" `' O8 k u = $n;
' f1 s1 v& }. e) }& i( o }9 c- a7 x5 N, ]9 n' g( R( U
$for(s,"$after")
5 A5 i; M6 o3 \* } w }! V# Q" _- F: R' G5 u" @9 F
& _0 ?$ {. m" d7 j show = function (s){
- M6 k9 X6 B: ^/ t4 f $show = function (){
% p# l) `' O% A9 A Q4 Q a; q u.style.display!="none" ? style("display:none") : style("display:block") ;/ M) m, N, X4 M% f7 t
}
7 a3 Q( G) g# ? $for(s,"$show")9 \. U$ m7 b) _! b( [. u
}6 w$ @2 ]" D! R" ]" Q! K# J
& S! I/ \% H: }5 X0 y check = function (t,s){; L$ @; B- w7 w4 I
$check = function (){
1 K5 m% P* h' j: m- J if(t=="2"){3 [/ u0 @% B: `) [
if(u.checked){
! g; F# T/ w% z u.checked = false;/ w( f8 X9 s9 N9 j$ v
}else{6 ?1 O: K( \3 f, g6 g% `" n5 Y+ z/ U# }
u.checked = true;+ q, }; j' e* r% \/ D) {
}) X4 h8 i' G, M+ P/ i! ?/ m
}else{8 x6 h5 }8 A9 \4 i& t% B
u.checked = t*1 ;
5 ~% e) U; B' [7 T+ N. d3 W }# ]9 K% C- U0 v2 d4 p
}0 ^9 P) F# y7 i8 a% u
$for(s,"$check")8 ]4 a+ b! J% E9 D" d8 C' U/ k
}
$ e( @# a/ _, Z5 ]/ e& j
( T' H$ F- I$ t/ z" { style = function (v,s){; U% u) ?8 n0 w6 y& b* C1 x/ U; l
$style = function (){- o' m/ s: }" N8 Q8 }; l) W
var $n = v.split(",")
) p, {9 u, a3 T% v( U" D for (var i=0;i<$n.length;i++ ){. y8 o- w* r5 V- w( S( y2 J2 s
var $m = $n<i>.split(":")
. p( z [, y" Z2 B: m# [ eval("u.style."+$m[0]+"='"+$m[1]+"'");, y. W$ h$ Q+ t' T" N9 [4 m4 E0 y* \
}
6 j3 t) ~4 H% o; {1 S4 G/ M, t } n6 e" n5 @' \" `
$for(s,"$style")
! B' p) b6 y2 D' Z }
+ v! [1 C! {) @- P5 ^0 H, t P8 _1 d& i5 i- s! M. T2 \% a K
value = function (v,s){
8 [# | \9 m, u% c, s) g var $n= $this (v);, E! y" e1 ~% L4 L/ Z
$value = function (){
" x! N# z H t# }3 M4 V* C u.value = $n
! r3 X! e9 Z2 M) j {% \ }
0 D% H$ j$ U* m $for(s,"$value") 5 E# u X. L* J. I
}) C: B7 ^5 e& [4 r6 ?, W$ q6 w
1 q& B* N+ U/ O3 E+ v1 O
text = function (v,s){5 g3 d( x" v: P( \! ?1 p+ u
var $n= $this (v);: W/ j& x& r h6 n" Q; R; w2 x
$text = function (){
4 ~) n* z# e& V3 h
# i# s1 u d& v! N @2 r1 c2 t u.text = $n8 H/ h# m, p! i
}3 m8 \4 k/ Y. {! S
$for(s,"$text") 8 w/ s. R# t1 e. _$ _7 d e9 V
}* J Z0 M7 K& G* \
( ~0 w& k& R e- L. x3 ^
innerhtml = function (v,s){
( u0 p! |7 C: [+ k8 K/ l, Y; W var $n= $this (v);6 y" v+ i: u; V* v, X* T4 K6 r( u
$innerhtml = function (){
' T8 H# X# ]; _" n: h H' g u.innerHTML = $n6 f5 V. B. ~' t& [+ x/ |
}
9 C6 p* p3 J. f5 [! G $for(s,"$innerhtml")
% C# Z- `: j7 R) p }8 k3 V3 L& o4 S# z5 P
' j$ Y& c" r t: }7 C
removechild = function (s){* [+ H! O& _) ~8 R$ E
$removechild = function (){1 F1 h3 w5 H% `% c# _
u.parentNode.removeChild(u)
" S1 {5 I) B% M }2 R0 X# _8 F# q$ Z( G o
$for(s,"$removechild")" F/ k% k F) c
}' O1 K4 N- y4 j: D4 k4 C$ c
) _; f' k; `6 V
$this =function(v){
8 e. h* j4 C, Y) u# A if(v.indexOf("this") == 0){
. t6 ?: f5 o m$ {9 R& n; p return eval(v.replace("this","u"))
3 ]3 T. m. Q" d5 U3 }! s }
' p+ @2 P" m6 H, u; ~ return v;2 s& N$ Z4 z9 q' R( K( {
}" g) ^0 Q5 A/ |/ \; k( R% }' O
" a+ y2 v3 b- j" Y6 Q7 [ $event = function (s){
* w( Y( z z6 Z$ P d7 V var $n ="u."+s+" = function(){$work(this,s);}"
) S- l9 v _# I9 D return $n;3 {- K$ l! J, h! N; T
}
) i% x6 g! P4 X( A& W, `7 S$ ~
' N/ {( @1 K8 D2 e9 y7 ?6 U $replace = function (s){
7 }- _% W: X9 L8 ?/ l+ v, \' Q/ Z5 [3 S2 V
}
$ v( D+ V/ p2 O- O+ H* I& r( _& n7 b# U8 S5 c6 l' v
$for = function (s,c){5 E5 n8 k4 q2 z4 R& ]' ]* {- }* m" m
var $n="this."+c+"()" ;
( b& h- A0 J& b* X" |. v; k if(s!=null){
% K, g+ g9 b2 g. K* Y# H var $m =$test(s);
* ?* z# O# C& l7 r; O for (var i=0;i<$m.length ;i++ ){
7 v$ D2 f$ O' m1 r/ w7 c/ C) L5 ^6 f; y u = $m<i>;7 T- @5 _ c8 E
eval($n);5 \1 b8 i, V4 E0 n& l
}
+ X: \( \: X t+ h7 g, b: f+ d }; N9 g. C. H F( @
else{
! q- ?1 e: [6 j0 X* o5 e eval($n);; f! ^0 P+ x9 e0 V
}
, d" q, R Z7 t! x+ L6 J5 U7 J! S0 Q }
& t' P6 L3 d2 f( o' [ ( |. Z2 [- J) H k5 F
$test = function (a){
h( P' V3 y+ b& o var o = new Array();$o(a.split(';'),o);$ `5 ?2 F' N, O& p0 S1 s; H# F
return o;
9 I0 x7 r( ~. r4 \; D. E l2 J& o }0 D- o5 o4 } S# C! A' w" t, [$ A
! ^/ X7 m5 q2 Y' a! j0 X $format = function(s){% u" Q; E& q3 X& p9 @3 q6 n
while (s.indexOf("'")>0){6 X- {& g- D$ F' h/ ^7 \
s=s.replace("'","\"");/ K6 R) q. e3 y& g; j4 n$ s
}; p1 r- i/ i' F! L4 M
while (s.indexOf("][")>0){
3 s0 ]# A# Z |5 U/ p# }) ^ s=s.replace("][","','")
+ v5 K' U( ^2 e5 q8 r- _9 O }8 n. a2 r4 v+ C; {6 S" B/ Q5 D( S
while (s.indexOf("[")>0){
9 E4 O2 j9 P, T9 T s=s.replace("[","'").replace("]","'")4 q, c/ P( A3 y1 j9 X) ^3 b, \1 ?
} 7 R; K8 L) u: N7 V* e( ?+ I" o
return s;8 K3 A, ? b6 w8 Q& @
}
/ Y6 e$ Q) a A
! D' n6 z% h6 i $work = function(w,s){
! {' m L( \7 ]& O u=w;eval(s)
# K2 Q# Z" A, ]/ i }6 ?: c0 [+ J5 E- J( `% A; [, S
6 d- ~) y. f1 o: r
$id = function (s){& f% @6 f1 d4 F+ ^0 p3 v
return document.getElementById(s);
. b* X- s8 @. O1 ~2 x4 b }' y0 ^4 r+ ]& C/ U J
7 L( A3 w7 ^" x& v0 X f
$name = function (s){* b6 o+ T$ j/ ~. @7 `) C8 |6 i
return document.getElementsByName(s);
3 i) z# N0 ~: \. g4 p }: ~" U* b# w/ ~5 z, i
1 a @$ n# F/ b# A2 n1 ?5 h
$tagname = function (s){
/ b# j; }0 y' e( f" K- ~& r& [ return document.getElementsByTagName(s);
0 n% \! m' G. ~0 c% a }) x+ w6 c! ^1 N7 m6 [0 w
9 q/ G$ L% m! k* q' _- k' B) q
$o = function (a,o,c){
! g& q8 e- j4 g9 E& y $push = function (n) {
" m$ L4 j8 x% B& l for (var i=0;i< n.length;i++ ){/ P1 ?0 w( m8 F) v, i
o.push(n<i>);
: n s0 G' z0 \# N9 ? } + y1 e2 K- C1 r7 d8 j7 a
}
( _- X! `8 ?/ H1 ~ for(var i=0;i<a.length;i++){* P( S# _. U) \& P4 W$ h& B; p' F3 Q
if(a<i>.indexOf("(") >= 0){. H: r( _6 ?/ }# c; V" m1 A+ ^) i
c.push(a<i>);/ L3 c3 t8 B# K* C
}, }: f9 d5 F, w+ l, h9 ]+ ^- S
if(a<i>.indexOf("~") > 0){
; m) `! e0 m6 [( E! A* S try {
2 X9 R9 H. y! k! Y" H4 S $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
- W: B. O! q8 I! d) p }catch(e). @- `8 e2 q) B5 N, J2 }/ S( l
{} 1 w1 V, J! C1 M7 S0 ?
}/ O- v" z: o! g- t$ r% G2 u
else{
+ x4 v0 X3 J b5 X# x' L: Y+ F. M- O if(a<i>.indexOf("#")==0){
7 _5 i5 f" D, E/ @ o.push($id(a<i>.replace("#","")));" _4 f, C) y: s8 W$ V
}" b7 A0 R$ x6 r8 I% Z( Q; p
if(a<i>.indexOf(".")==0){
8 T. X$ {1 [6 r; ?* R8 |3 c $push($name(a<i>.replace(".","")));
' e/ Z0 l. B w d* s$ ~ }, J. A6 S9 ~5 s/ A* r! w
if(a<i>.indexOf("@")==0 ){2 O/ ^' i4 m$ S1 l) i9 R' Z4 |
$push($tagname(a<i>.replace("@","")));
% ] i: Q4 a- |* F7 s% k }6 Y1 @+ A) Y) z( Z# J4 K! T# H
if(a<i>.indexOf("*")==0){
1 Y7 n5 i4 ~2 p $p= a<i>;+ @; J+ H; y% L8 Q- |
if($p.indexOf(".")< 0){
" F% m n4 U/ D $p = $p.replace("parent","parentNode")1 F2 V. b2 d! ]1 Q: f* B1 \. C. n" D* F
}
/ F* F* O& i, H var $p ="u."+$p.replace("*","");# U+ Y$ l4 i: A9 M; @
while ($p.indexOf("parent.")> 0){
$ p$ I1 [$ M5 j# e $p = $p.replace("parent.","parentNode.")1 E6 k% n+ u. g4 P/ I
}
+ x; i" Q2 @3 ]2 T9 T3 ~ while ($p.indexOf("child{")> 0){
/ N k; i: D8 c $p = $p.replace("child{","childNodes[").replace("}","]"). i7 h3 ?8 Z, t* X c
}7 o( y! o: L9 w0 q% m; v9 T
o.push(eval($p));
0 |2 ]0 _8 ^3 u/ T0 S }; S X% l! n9 g) D6 `. f3 a* G' o) R
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
; H' a6 d0 _- Q o.push(eval(a<i>));' a$ i: {( ^' F% c: V$ r
}' M# l6 j0 \) ]* c: f
}
) Z* _7 K! n2 }; w2 _; ~- E' t& B, [ if(g!=null){ ) i; H( s, i1 G" I9 T
o.push(g);g=null7 F3 n5 E+ i, t& _- H& J
} 0 Z& X; M( u9 t h& l3 `6 W7 V. z
}
3 Q6 g5 x) k+ u, z$ R" n( _1 Q: X: u }
& {7 L- W( D# I* x' N2 d
* X+ u# o0 t- D# @, p) { $o(a,o,c);' S% n; N& ?' G
, z. p4 R0 E" w( ?: o. S
for(var i = 0;i<o.length;i++){0 j+ h/ w6 ]/ z" l9 Z- y
for(var j=0;j<c.length;j++){
. _4 ~' V, p1 D4 k u = o<i>;eval($format(c[j]));
1 q m$ [1 f8 N9 L. ?" o# } }
( t: k) a( O+ W3 B }# |3 ?4 w- G/ ]* Z# E
7 r5 ^' ]$ q. r* n! D7 }
if(o.length == 0){
! ]8 f8 y; N( g0 x" w for(var i=0;i<c.length;i++){% V) R/ g( q( m6 z/ w9 c9 Q
eval($format(c<i>));& ^- r, b% v! y) x5 m9 d R4 C
}" Z. f( L* T2 z4 {+ }
}5 y2 K4 M T& c) h+ X# g
; \9 g& K8 f6 E+ X5 v if(r!=null){
5 F1 b5 t- N7 f, L+ t return r;8 |, N K4 \( s& b9 z$ L
}$ p( z" n8 S$ x a; X# ^6 d7 m
+ p+ k+ M6 n, l
if(o.length==1){; A/ l3 r$ T0 U, a' F4 t" F; f! E
return o[0];
5 t2 Q# Q1 U6 Q }
6 m. V! ?0 w, i/ [6 e else{
4 k( J) x+ A$ G, p4 ?# Y return o# q$ ?1 ^7 s3 ?$ F+ ~9 v
} " }# Z: e/ {8 t9 |0 w5 Z1 a3 P
6 t$ {. T# Y6 \9 h9 c5 c }, [( C4 C: |" u1 n t( k
var lrc =$("#lrc;show()").innerHTML.split("[");# k" v) f5 [# Z) H0 h) T9 m; K
if(lrc.length>5){
4 d1 d1 f% l% d/ [- x/ O fvar array = new Array();' v, @- A( W7 o! H4 r. F
for (var i=0;i<lrc.length ;i++ )) O( w( Q& z( u5 `2 v* W
{
/ V2 d U4 p+ D9 A4 G" t0 _4 T var g = new Object();& ~- I2 R& v: w
t= lrc<i>.split("]");7 R) M7 a7 w: ^( {
g.time = getTime(t[0]);' X6 j+ g( [ j2 r; e0 [
if(isNaN(g.time))
" ]& |: }* t! V0 q4 C continue;
0 w V* R/ W. ~* C# R- M) l" ? g.c = t[1];8 k; b: X" ?' S0 A M) V" l! f
if(g.c == "")
# N" s+ L; F! }+ T4 Z g.c = getNext(i);) X7 K4 b5 _# s+ ?1 T3 U' U- p
array.push(g);
, b) L: ~( H9 h; T, l}
2 R# g* `. b9 B: ?0 Z* Harray.sort(function(x, y) {
9 X. \! V! y4 z' l1 b if (x.time>y.time) 7 _8 J9 q, y2 f& b6 s
return 1;
9 x2 C/ ~ V" { else if(x.time<y.time)9 {, Z1 P" P, Q
return -1;, r5 H: D; n% a9 X0 L- G
else
9 _4 G) Y* M7 f! P, f( e return 0;
9 G3 F& q# O8 \! b2 T8 v } / C7 Y% q7 z: X, a
);8 b; V9 |3 P% l. @
for(var i = 0;i<array.length;i++)( Y' o/ r+ f3 u9 M0 C
{
5 H8 o, X5 ~# t: G5 A" ?; } var g = array<i>;7 ~# |8 g {7 K( s
if(!g.c){
* I( R5 t3 t6 | g.c="";4 T& o: l$ \0 w0 `. ?
}
' o7 S* m0 y: _ $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";$ _* i& `& t9 ]* g& g Z
}! c ?- D. z! d( ?
var time = setInterval("lrcList()",500); & Q# F8 Y' n+ y& B8 s) F* P
}else{
- n4 W) [: a( T $("#list").innerHTML=$("#lrc").innerHTML;/ c6 ]2 ?; q# G$ {$ }) k; h
}
1 {2 A' @' C3 L3 r' Q9 N: sfunction getNext(i)1 E8 U0 l1 |5 O$ w: | z2 A# W
{0 \ Q/ i- t' t- v2 o
var result = "";
# \. g7 o8 u& y! |) Y1 o var i = i+1;
. k- ^5 D# X8 u t = lrc<i>.split("]");
) V$ [& @+ F3 I5 }5 Z4 J6 g0 s5 K& i if(t[1]=="")
! G+ L5 A& R/ J1 D# @7 z result = getNext(i);
6 Q% s) s$ o- `8 x' @) ] else
+ V: P3 \$ @" }4 H6 F& M( g result = t[1]- s s( v* r4 g7 Q3 k
return result;# T- w5 z; C: q, A
}
; f( B8 i9 c/ ]& Z0 b! P/ i
6 _( L7 M; L7 r- e$ afunction getTime(str)
" m- v- q5 g2 Y& }! X5 U, y- j{
+ ?6 u0 }0 a. f0 J* f1 Q- H var time =0;
_; S* c8 k: c; m/ E var ta = str.split(":");/ O3 Y& [# `' x/ a) X
if(ta.length<2): y A/ u6 l) _
return time;
1 L0 {4 {: L& S9 u4 n+ h# ~$ m: ?% E. g
if(ta[1].indexOf(".")>0){
) p7 Z' }. X, L3 K( l _9 I var tb = ta[1].split(".");/ \$ F4 H' _: f5 e
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;7 f; d) S' @% u; A- f8 O2 c5 N
}* K% Y S( Z3 q3 n, w6 o; y
else
7 n5 v" V* Z, a time =ta[0]*60*1000+ta[1]*1000;
- h$ G# f- l+ J7 w/ y return time;4 ~1 g ^3 q2 q7 N T
}1 i5 A. o- h) W: O8 J6 |
var preTime = 0;, Z2 @ h7 [( Q# z
var nextTime = 0;0 M( P2 q8 k8 M
var currIndex =0;8 D4 ~# F7 A* W4 r
function lrcList(){
* ~% \; I! e/ P; z$ i var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
" b6 @( B8 T# l2 e2 F# c0 B1 J s = s*1000;
" I9 q; q/ j5 \ A& e- m5 f. M if(s==0){
$ C% t0 i2 u# p% o* t/ _1 ^1 d" q2 F currIndex =0;" s k0 I# s* X( G+ N e
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 U1 @0 ^/ N, x' A for(var i=0;i<array.length;i++){
8 r9 Y" y3 [& `' X8 Y document.getElementById("lrc"+i).style.color=colorNormal;' ?1 k) d5 E1 }* d- w, h* a# D& O
}
; |0 ~8 ]6 a% \( Y3 Q return;
" Q# m' y/ j9 D: V1 f }0 B. F7 E W4 D i0 m
if(s>0&&currIndex<array.length-1)& Q; M! p$ b+ q5 ~0 X9 _* _, [: B ]
{
% s0 T/ a( g0 c/ [1 n preTime = array[currIndex].time;" _9 ]1 W8 `# ^1 H+ E6 z0 u
" D5 E; w$ D; f Q nextTime = array[currIndex+1].time;2 A5 x* ^9 d0 O
) r1 c3 O/ m. P' [2 v5 c% ]
if(s>=preTime&&s<nextTime){8 ~4 o. }; a8 X5 U" y, D
}0 Z1 k; j' m' y8 s2 p$ [. n
else if(s>=nextTime)
& L; g7 g$ @+ D5 \/ M7 i5 U& M {! N! {% o, u& x, W( Z
document.getElementById("lrc"+currIndex).style.color=colorPasted; O8 r+ f$ A. D0 @
currIndex++;6 s' ?1 Q! Y. D, `7 P" S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 x& m- c5 K/ ]$ J
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 R5 j0 X9 `. _7 S2 F lrcList();0 G, W; j, X" Y4 A& Y5 K( ~; k
}
' s% {1 S$ n) }! m, a; O else{9 s. Y, b, P. y: T ~$ Y
document.getElementById("lrc"+currIndex).style.color=colorNormal;* F1 ]% \0 _3 \6 a+ j5 ^7 O
currIndex--;
: _2 b. T- c0 W2 s# H! c' k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 ^4 g7 N* x: {
document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 U1 O; h; g6 J# W1 }0 U
lrcList();2 G* Q6 u/ w+ L. B c$ ` h
}
8 T& X5 v, p, h& D& z( f }1 w4 ?; y+ ^ I) O) _! `' t! u0 }
else
a% z, W6 y. v1 j5 q4 y& n$ C* F {
0 }! B* t: [- c9 g5 r. R" }" Z if(s<array[array.length-1].time){
7 [0 h9 ^4 W y: Q3 E( M* _ currIndex = 0;6 o& \" [) Y- G% s" U3 j2 F+ Z4 @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ _1 Y. l# W3 \$ k, P* |
for(var i=0;i<array.length;i++){* S" l+ K' y* V9 [% V1 G
document.getElementById("lrc"+i).style.color=colorNormal; y, R$ p2 l/ L
}! j2 T; ?6 E$ a0 m7 u9 R; J6 Q! i
lrcList();. n! ~0 l3 e9 @3 {' H! @$ Z
}
, P* q% k A' N }' T* t, C7 O+ R( U8 `- [4 N
}/ @; @, [: {; H3 I; b- t4 v
</SCRIPT>& b6 s7 |* A0 Q
</DIV></DIV>+ F6 j# X7 H2 ]( @
5 c1 @" x( {" U- ]. A[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|