|
|
<DIV id=list>
/ N: P6 Y, m7 n5 l5 b+ P+ f<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>: V0 Q4 [6 v6 V! h2 o& j3 m# _8 U
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
0 z5 e: |9 @& H" G* w<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>! X4 W; f a3 [; i0 c
<DIV id=lrc3 style="COLOR: #666666"></DIV>( [- \( |# V0 q! l; P
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
8 o" A' i' e' P K* M- H<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>7 L$ P+ \. J* |8 d' Z+ b J
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
$ z# b$ R) `+ d( M: u- y0 N<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>8 q: B6 k& ~1 Y' U+ Y/ X& S; O4 y2 F
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>4 A- h- U. M" F6 C: t3 M
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
1 ]# i9 _( z4 }6 _2 U3 P( ^8 v4 A7 y<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>- K/ c* y8 P _6 A1 H! B+ k
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
" d: e/ h0 r: M% L" n/ @, w2 V9 K" _<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
/ b4 [' A, b/ T/ {! a<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>) ?- D" ]2 i4 O1 `- z
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
/ p- Z, Y. Y7 X; X* X<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>2 N" N j9 t) X1 g; _
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>2 z2 C" j/ @6 j0 C0 {6 G% U
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
, X ^/ | c' T5 N<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>* _8 L1 c$ C5 x/ Y
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- Q' x5 A0 F: N. B6 G<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>" P7 W5 V+ m8 ^5 z$ `, K3 T
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>; K5 F# H6 k0 E3 N; ]9 s
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>' F" z0 I: x6 T" f3 x$ S6 P; Z
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>+ t: j' l6 o+ @2 D( K
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
) I! E' r( s4 I* ]<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
1 G3 x. P3 P7 w6 H8 T& P<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
& d3 I, N4 ~4 u( t0 @1 ^# N, N. p<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>) O, I" ^0 o1 T# i0 _
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>4 t9 Z$ K4 c F2 Z
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>5 w1 D1 @; S7 _$ G+ Z. `
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>' `1 [3 t# c9 V/ m
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
3 w9 z% ~6 E2 B; h<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
5 c- T' `9 @; c! A/ ~9 M<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>$ d4 S+ u4 q$ W0 u/ C* \: N
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
$ T0 n* M$ p1 \. `( C: g<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>8 `- e" G% \2 o( U, {- g
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>9 P' c3 {" Y* B' r
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>% J7 ~# C. J) F; T! E7 G
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>( [# x8 q$ z* X/ A" c5 z
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
6 h$ Z; K$ ]0 X9 P, I0 \7 ^<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
- G$ P* l1 v$ ?. e, j- I7 G<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>) B8 y0 G" y: g0 O
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>: U) F! f+ E/ A. |6 T$ q. H# v
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
* T ~1 b9 f8 L, l0 j: M ^& P# g<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* z* E" j4 Q6 q' n3 _<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>2 k9 V+ ?1 p- i9 s6 d+ Y
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( D9 B1 x# }5 u+ o. C: `
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>7 F" ^ F, E4 T4 h! i
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
2 V( l/ l3 v+ j% a; U<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
9 }) Q8 [2 m$ F<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>2 J& P9 g/ D( P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
$ ?5 [: b7 _3 x* a8 o' |5 O6 ^# N<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>! N4 F; m- C, h, o8 j& L
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" a& V) M& v2 U# j<DIV id=lrc style="DISPLAY: none"></DIV>
' D$ m3 i7 J! L<SCRIPT type=text/javascript>
1 |% e" }. _4 ldocument.domain="1ting.com";
7 a+ n* Z0 d* { F( D: p) lvar colorPasted="#666666";
2 k% G' _4 S8 U& i4 { y R, Zvar colorPlaying="#ff3300";
- j4 n1 f" f0 X1 T1 k" v' V9 Bvar colorNormal="#000000";
% A' f2 I. `* x8 Y. ?5 @. N$ = function (a,g){
) ~' N& U% y5 Z# b+ l var o = new Array();
3 S/ Y& K/ [9 E var c = new Array();
8 E) @" e& a8 x8 Z# T$ [6 s var r;
O- q; v8 p1 j( G& ]) i var u; / N3 n6 ~6 w" G9 o
var a = a.split(';'); ( S( V8 F9 W- ?+ t# _; |
* |1 ~' J3 M8 A) c2 K/ `% v0 ?. s+ p9 H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
1 ~/ Q! h! h5 i5 H3 W for(var i=0;i<e.length;i++){7 ?* A. J' e# t- D
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"); x. c% X5 _8 Y
}
/ w! A R0 V# O( S& I& o+ T* Y1 }
; ]% S" S6 _7 p' Q6 L after = function (t,d,s){' ~3 R9 h: P8 q$ w
$after = function (){
s" D, s/ v" i; Z) o3 V) v. E var $n=document.createElement(t);; p; L# W- T% a4 E: R
if(d!=null){
7 a+ x9 q) p% K9 \# ~6 s $n.id=d; 3 r V' z; f8 v" ^) b& y
} B+ m9 K. P+ I- y' Q1 R: D
# `! i9 V$ u* c, w9 n0 T u.insertBefore($n,null)
8 B1 V6 ^* E* _$ ^2 M r = $n;
: Y3 F2 W) M1 \5 O u = $n;
, @& S8 Z6 `( \9 ^- }9 }1 @* ?5 i+ Y }; _: n' W" M6 k+ H6 ]: s* |2 I
$for(s,"$after")' X' z8 n0 g4 k9 @3 p. b* ]8 G K
}
! y$ T) w( a" i7 [% H% ]. k/ ^& T0 O
show = function (s){, D% m2 G; H1 { n- D# _' Y2 y6 |& l
$show = function (){
$ A8 I* ], V$ k6 G R u.style.display!="none" ? style("display:none") : style("display:block") ;
1 i, g+ k" j# V& E- g }0 n9 i. _: j/ N5 d* u+ t' Y! {' q
$for(s,"$show")
2 b# _$ h0 @& L- u4 k1 w }
4 i. w' n9 z' \2 R, z( l& G) l# P- ~8 l- V
check = function (t,s){
3 I; p: Y, [& T $check = function (){
/ e5 {7 w8 T$ {9 ~ if(t=="2"){+ ?) y# L! W; Y! a% j$ V6 y
if(u.checked){4 A( ~, E. I0 w* y
u.checked = false;8 T% p3 i: d0 i& g3 }( |4 b# k
}else{4 K9 H4 U6 e; T8 [9 V1 s) O
u.checked = true;3 D3 ]( \! @2 N7 a m+ G& c$ l: ~
}% I$ X: V: }; A2 ?
}else{# c+ `2 E8 J6 I) [9 i
u.checked = t*1 ;1 C6 ^: ^) E: f" p( b$ }2 E
}) o$ z+ a/ I' y/ j- y& K
}
) n; {* q# N6 C3 M& f8 p; N $for(s,"$check")
- e7 G8 j5 t8 ~/ T/ H }
2 a9 I2 Y. Z6 j$ D c: Y+ {3 o Y E. C. P8 C$ _" t
style = function (v,s){
y' X4 U: e+ g$ \1 i! @$ x) v5 t; v $style = function (){6 Q8 B9 Y1 ?, |& @) p0 X
var $n = v.split(",") 9 q, d: P3 u! d6 E4 e$ |( n/ i$ O
for (var i=0;i<$n.length;i++ ){
8 K$ m/ \& D: v* R var $m = $n<i>.split(":") ! V% h9 I! l: K1 }* {, t2 S
eval("u.style."+$m[0]+"='"+$m[1]+"'");% g$ f% o+ i1 s# l1 q, Q: q
}
# r$ t" Z5 x; y }
, V' x8 q; j; s+ S L $for(s,"$style"): Y% Q% H* H& b4 E: q |$ k, H; j
}
. f, ~, P- h& K) s4 K" G0 d' k* ?( a5 V: d& r1 |( [
value = function (v,s){& X) i" X) J) u _) _4 ~
var $n= $this (v);$ S1 @% L$ ?+ `8 u
$value = function (){9 {! k0 ^# ` {$ Z* e% B H! {
u.value = $n4 L1 q5 A8 d+ g$ \( z2 w9 J0 r2 J
}" o( G0 t2 o- R4 g, P
$for(s,"$value") 2 K2 Q5 Z0 J' v$ j5 R" Q0 n
}/ [3 u3 n3 P' P0 P
S, `+ \) N: H# _- ]
text = function (v,s){
" E0 H' X. q8 P var $n= $this (v); [0 T" |) K$ L# d- Q5 c" y+ H
$text = function (){
8 g' `; ~2 J, D3 i5 _8 I ' e( }- @0 b- n' w3 v
u.text = $n, U3 Y5 R8 f3 v7 Q; s; x
}
4 r0 i7 w5 o. E4 k $for(s,"$text")
& Z' M4 r5 ~% T+ e }
- _! A6 Z. [8 g) y' s
) H$ }9 d1 ?5 \3 w% s. e. T1 c! @2 Z innerhtml = function (v,s){
8 s0 b$ O! q( R# L var $n= $this (v);- X% c' b5 t6 e$ T8 s4 G H
$innerhtml = function (){
% r0 z! i/ D' j( K) @ u.innerHTML = $n
+ G3 k R. V" X, h* Y' Z }
( F( ?+ V9 l$ h+ ~. c+ @3 S $for(s,"$innerhtml")5 v$ ^7 b8 D" c
}- X6 Q( ~6 _, T4 a0 ]
: @1 b! \! V' ]2 O( U- u7 i9 a8 [ removechild = function (s){4 A6 d0 L) a0 A# h
$removechild = function (){4 M% F6 Q, ]3 p2 {4 \
u.parentNode.removeChild(u)- s% F, N: U* a$ p3 r7 V
}
7 r; K3 m: e; _& R/ S( C $for(s,"$removechild")
4 F4 C$ l& z' u9 I8 w }1 P' j7 z9 |+ D
2 l1 L( s' ~' A2 L% \7 Z% E1 |4 G5 B u
$this =function(v){
' K0 o, ~7 G) q9 L if(v.indexOf("this") == 0){! O# o0 P8 ]3 s9 C8 S6 \. G" ~
return eval(v.replace("this","u"))
& b- Z& _9 `. P' H" D; r }
* `3 A! M( n, J. o# k; Y7 @ return v;
9 y; T. s4 M3 ?' L* X$ s }
, C' `7 w0 e1 U3 i w) b2 d
; @- |: ~" f+ G% h1 o; a $event = function (s){5 m. _7 l {! ~
var $n ="u."+s+" = function(){$work(this,s);}"
) |1 {3 i0 l5 E' B- @* | return $n;
. h3 Z6 Q, b: U9 u; i3 q }
: x3 G) @ Y* ]7 S0 P( J7 r; j x6 ~
$replace = function (s){7 L! {; ^/ B1 E/ x& L; u+ \
, S3 |- J& b# f% q+ k }
( h V; Q! L3 A% D+ H' k# V2 l! J, j1 y8 B; X5 P. [: k1 k* L
$for = function (s,c){
/ }2 s3 S9 ^+ ~, J! A! m. R var $n="this."+c+"()" ;6 p! }6 F/ y9 j6 F6 l! o: s* F
if(s!=null){
& \7 \; W1 s( Q; |; D, p7 i var $m =$test(s);3 ^1 i# J+ V- U& X& N9 j
for (var i=0;i<$m.length ;i++ ){1 S# p' [8 j5 z1 F
u = $m<i>;
' w. [' \9 p: n6 h* L- k' \' w eval($n);. h# G" _# _0 c1 P
}
}" b* Y7 |1 u) _2 k }
/ }; W2 ]6 w7 S# F5 c else{) t' O9 ?7 G( i4 I4 m& a, j- \( O* K* F
eval($n);
: G/ P( S/ \5 W3 V1 X3 m3 v0 r* g }
, @, [ Y: Z* n7 Y5 G& n" G }
: P3 A( L2 j" I( M8 J* L4 S 5 H+ } |" Q- O- s
$test = function (a){8 B: \2 N ^% f- a' [7 H
var o = new Array();$o(a.split(';'),o);
' V' H" Y4 X9 ? return o;3 _- l8 d' e5 V* D L: P+ d, I7 _9 R- L
}$ }* |: P0 Z" u: ~5 a/ I; @' t
2 g$ [* @: Q( \( ]" M
$format = function(s){. t6 O6 F9 g2 ]* ~5 P6 e! L4 L
while (s.indexOf("'")>0){" ]) [7 H! y7 n- C
s=s.replace("'","\"");( q# d9 L9 e( L& S) A
}
. c/ N* k9 x1 ^ B5 Q while (s.indexOf("][")>0){
% A3 T- o) P) V } s=s.replace("][","','")
/ K) h' ]7 {3 X0 P: L }6 l) S* p% |- v" s7 G
while (s.indexOf("[")>0){
4 m' Q% L3 u" A. M1 R# B+ d s=s.replace("[","'").replace("]","'")
0 p% p2 y5 _; d5 D0 H } ) d7 w% Q: ?$ q2 @4 r
return s;1 U! q, [2 N- r# O( G" v
}
6 p7 `( j6 c' D5 E L' Z1 X* b
$work = function(w,s){
8 M! T( ?9 E; i4 t u=w;eval(s)# x! M; {% y8 u$ T' k
}
1 l$ o1 Z9 K/ `6 M) K
& i! G$ M* y( m' `7 z- V( w $id = function (s){
) F! A+ [6 p) L) T0 k+ z: z5 | return document.getElementById(s);1 k; x& ^6 d# [' y" s1 M5 j) y& ]
}
5 I9 d3 U! O/ V
; Z- _9 a6 K3 o: }- o $name = function (s){
& _+ j4 e8 d$ x+ q return document.getElementsByName(s);; ~2 {5 w. _; X5 [" A3 e S( h& m
}8 D3 o/ ]) o' n s' g
. B+ I7 x* N4 {. p6 D7 H" @& K $tagname = function (s){5 i% n1 r" j! O6 |) P, U# F
return document.getElementsByTagName(s);4 ^5 I3 S, J0 |; \# ?0 X7 T) n0 D
}
8 O" J- i; v6 @: {2 g) V
* x7 M/ C" f$ { $o = function (a,o,c){
$ U/ n3 @7 m: Y6 U0 f $push = function (n) {+ O0 S! W4 _* B+ r2 b
for (var i=0;i< n.length;i++ ){
7 Q7 k- T) r) n: U! F o.push(n<i>);" X$ e5 e) B- b |: ~$ N; M3 ^
}
: Z) | }# y/ |( }! L9 Z }
5 v9 H3 A. z3 T3 n for(var i=0;i<a.length;i++){2 q1 W5 {/ E$ p6 ^: x* F$ r
if(a<i>.indexOf("(") >= 0){
& L8 ?$ L& R" @; R4 r c.push(a<i>);1 }0 D! y2 U) p
}, B4 M9 _9 Q* u8 P3 `2 T5 y
if(a<i>.indexOf("~") > 0){
: K. y6 G9 J4 U; k, i try {
3 Z c- o( [3 i1 ~5 v, o4 Q8 X $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
/ \; N7 h8 i Y5 k) R0 X, ^2 k* M* r }catch(e)
3 U# X- [ H" u) { {}
9 ^3 n* m+ V5 A S5 g }% z; d) [1 I$ O# `
else{$ `% V( m* L& K- `/ Q9 @
if(a<i>.indexOf("#")==0){
) q' `3 |$ K% M o.push($id(a<i>.replace("#","")));0 q; `8 x5 D* A+ _% ]2 r5 R$ c
}. x! F7 t9 k) B
if(a<i>.indexOf(".")==0){3 l( s T' o# O7 U0 [
$push($name(a<i>.replace(".","")));
# b$ ^, o+ }- ?" \% ^2 g5 D5 K: s }$ S3 f& w4 j$ r$ n3 H( e
if(a<i>.indexOf("@")==0 ){" A# q3 Q* b0 i6 I1 d% U
$push($tagname(a<i>.replace("@","")));
4 K% i6 t5 q* H; M8 Q. `0 j: D }
0 P6 M+ E3 j _* P' S0 M! u: [- z if(a<i>.indexOf("*")==0){
. o6 I% S! n7 T $p= a<i>;
' T5 h0 r* N% Z" D4 j1 [9 O- l if($p.indexOf(".")< 0){- Q$ ?: B* _$ U. a& r3 O
$p = $p.replace("parent","parentNode")
, y. M- E$ K6 R0 ^0 n% V( O! L }6 Q5 {8 m& _3 N' M& W( X$ c
var $p ="u."+$p.replace("*","");
: J9 r' h! x1 d: a while ($p.indexOf("parent.")> 0){' L9 y3 ?$ c) r) M& D9 U
$p = $p.replace("parent.","parentNode.")( ?0 G2 S& ?- F: ]
}1 d( c$ F5 A9 |
while ($p.indexOf("child{")> 0){
* ]: [) n% @- @- {/ f9 ^' | $p = $p.replace("child{","childNodes[").replace("}","]")( X) ?3 ~% {. C7 o. u# Y! v3 l
}
6 R+ m7 A% Y9 o# V- U6 N* ?$ w& ^ o.push(eval($p));. n1 U" P( W! J. \. V$ d2 g
}2 \/ R7 {( e) a" l1 M$ B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){4 k- T" C: M/ a* _
o.push(eval(a<i>));8 `# d- q9 I6 \1 c# \9 G, D$ w- r
}
( x2 ?" l: ?8 L5 _# Z; ~- g) N }4 R& I# n9 E$ I9 _+ w
if(g!=null){
0 ]8 q2 K. ?( z+ D: F1 k3 | o.push(g);g=null
" I. M) r4 T$ d! U; e+ @ }
6 X2 U5 S' E9 w+ k K4 [ }, B' B/ q1 M- {: Z2 V9 J: [
}
, k/ Q9 Y8 l& u9 _! ~. s
% o/ R- H, k' `# ?0 \ $o(a,o,c);
+ i+ @+ O0 i# m
4 }4 o# U3 Q: O( L4 Y1 l for(var i = 0;i<o.length;i++){6 X' A" O. b2 J
for(var j=0;j<c.length;j++){, H9 n' w) H! |: c {
u = o<i>;eval($format(c[j]));6 N* W' `7 } K8 U: v$ b6 P5 A
}
5 M! C: _! T/ `8 l$ i }
0 ]: P/ s: v: @. H* X( Q1 H
% \& ] G: Y3 B1 o: R if(o.length == 0){( N- ~6 h- X- k: i( O) M' [! N1 L
for(var i=0;i<c.length;i++){1 S+ ^- P, x/ K$ ?' l
eval($format(c<i>));5 }5 q) F* _1 P
}
5 i/ F2 _& i! Z7 Y }
L6 j q% {- ]* ^8 a: V" h: Q
3 b5 l: u3 }* y5 J' M+ v if(r!=null){
0 \! P- D: ` ]- V return r;
2 e" o# {+ M5 R' ~ }8 a, A$ `, h! E o" A
' g7 J4 t- V0 A4 P4 V: [ if(o.length==1){' A# o* V+ R+ {- C- b+ n! j; D( I2 A
return o[0];
3 L( v$ f1 d+ J9 F' g" p }
* ?" c q4 [+ I# f. X: @3 }1 v. Z else{
8 z# k2 a7 m+ A9 g# V! x8 g3 u- r return o8 \* m' S" U! f- Q* R2 K
} , X6 b8 V# d! v" n: V
4 J. i/ [8 Z* D% O, N+ {& Z }
2 X. |. i" @9 I8 |5 C* ~var lrc =$("#lrc;show()").innerHTML.split("[");
3 |: C, U* u' K8 eif(lrc.length>5){
# |: a; @. Q$ W& L4 Cvar array = new Array();4 D: V1 `: h8 {$ ~/ h
for (var i=0;i<lrc.length ;i++ ); b* X* E& f6 y, n1 o
{
6 @& d/ [" R% n: q var g = new Object();
- C7 @( A% f6 Q t= lrc<i>.split("]");
" d2 H. n2 p7 x9 p g.time = getTime(t[0]);
9 I. O6 E$ x3 I* P. v if(isNaN(g.time))% a. s9 s6 m4 e5 ]# h
continue;1 H* D* ?4 [6 C( h0 o* ^% Q0 {5 ?7 a
g.c = t[1];. K9 B9 a1 H) F" k8 V0 F
if(g.c == "")3 R+ D, |8 Y% F. n/ |, v5 X2 E
g.c = getNext(i);
2 D* ?0 {! b) y2 k9 Y* H0 X array.push(g);% v7 S0 ?9 \7 i2 ~0 h' D) q
}2 y+ i% p% N4 g! {2 |; H, \! k
array.sort(function(x, y) {. f" @* ~5 ]3 h, f& h9 h
if (x.time>y.time)
( o. {% W4 j- n9 u( z- k3 p- g return 1;1 s! s1 X$ ?" q6 b
else if(x.time<y.time)
; Q5 i( l' p2 n0 p, L7 r" v return -1;- m- W- H) R! b$ k) t
else+ L. y4 Q. W" q# g, e
return 0;
W$ i# k/ M# F* b8 S }
1 W* G, K9 V2 h);' `6 N7 C) v1 t* X5 N% h9 G
for(var i = 0;i<array.length;i++)% A$ f: d4 I+ l: Q3 q: T1 C
{0 b( u: T3 V+ H. m4 X, R6 _4 ^
var g = array<i>;2 U% \* W# B$ U
if(!g.c){$ K% O+ `8 P. K' v! C
g.c="";/ @8 m/ b1 `0 M2 `% i. R
}
) m2 m" E8 H! j $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";& w! Q! P* J' j+ M/ H
}
. F/ t a- K# i% b! Fvar time = setInterval("lrcList()",500);
9 q5 Q5 N# J+ k0 i1 r. K}else{3 o7 \ \- E8 ]
$("#list").innerHTML=$("#lrc").innerHTML;
+ p+ Q; z, R. k}: V8 m( J5 I( D" z, @1 U
function getNext(i)* W/ I" Z: @+ `7 c; M1 E5 J
{
2 N: P0 c* ^1 q$ c4 O- |$ G5 [5 | var result = "";
7 p0 Q5 ~! H& } var i = i+1;
4 X# v* v4 C4 L& M t = lrc<i>.split("]");' b2 N3 ^) z+ t
if(t[1]=="")5 L; U% [2 E5 o( [1 ?
result = getNext(i);
) E* }2 q0 x- Z% s6 T else
: G; k; }8 z, a' l/ N E( i: D result = t[1]
5 F k; z" ~% p7 Z. K3 {% R return result;# x- j# D( ]5 Z4 C
}
8 G. r/ l, N: v1 l( Q+ @* N! }9 _9 W5 U0 o7 }) Z' }
function getTime(str); c1 U. F- |. m5 c) C& g
{# ?; V$ F. a% {& h
var time =0;
' B$ ]0 h- r4 E6 r3 a# V$ j. h var ta = str.split(":");
& S6 o/ A: F1 O8 s if(ta.length<2)
+ V8 }# _* _+ ~7 p8 @, S; q return time;
- [1 ~9 L. f+ r [( |$ V4 z3 W5 ~8 O3 [9 _
if(ta[1].indexOf(".")>0){; N+ K1 {6 u. E) d' D) V& O5 l
var tb = ta[1].split(".");+ o0 b2 A. n' x: @1 x
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
" V& f( K: E$ k: d9 H }/ i# a, Z+ w4 T2 H# m2 d3 |
else; s6 ^8 h9 ]( Y z1 g7 Y
time =ta[0]*60*1000+ta[1]*1000;
7 r3 i1 a1 W0 |7 u& g return time;( C4 T: e( ?& [/ p9 f) y
}
; C3 C: K0 ]2 h4 a/ Zvar preTime = 0;
" Q: [/ j* X1 Y: i" lvar nextTime = 0;
, ~# e0 x: h, ~& ?; Fvar currIndex =0;
( Z& a+ \3 i- f! ]/ {0 Ifunction lrcList(){
$ @6 \1 k/ m, M" L; l var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
8 J$ k4 t4 p+ j0 h s = s*1000;
9 W# g/ @7 R G7 l+ \ if(s==0){
, F* N4 [( N, K- u& x. g currIndex =0;+ Y2 `& b; ^+ q8 g4 I# g, X
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' x9 v. `2 { I+ A0 u+ ]
for(var i=0;i<array.length;i++){/ M2 I ?$ x% C' [" F) N( ~
document.getElementById("lrc"+i).style.color=colorNormal;1 s0 P8 @; H' z5 t3 a3 o
}
/ b3 |/ h+ }3 w. a2 l3 B7 w& z return;
" F, o( ^1 x1 q$ E- d2 ^) J }
+ b5 R% Z$ u0 G) `* c if(s>0&&currIndex<array.length-1) k' H- C" M) U4 l+ q+ K8 l
{
( x* v( v& G8 K2 | preTime = array[currIndex].time;
2 _! X& T' n& U0 W" s ; h3 _# a& B* j5 c. U
nextTime = array[currIndex+1].time;
& i+ ~: Z; |, | o0 k
! S" h' X. H6 N4 ]$ S if(s>=preTime&&s<nextTime){
- V. q% e0 h4 O0 j }
' `5 q$ i: o% C y else if(s>=nextTime)
5 J; t& Y- @" k. e$ l5 a {
5 S) H+ Q# l& _ i document.getElementById("lrc"+currIndex).style.color=colorPasted;* u: O0 H+ G6 ?7 u; q5 n# b
currIndex++;
8 ^ C# x# i5 F+ x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 m; R, D9 u3 H- `. f document.getElementById("lrc"+currIndex).style.color=colorPlaying;/ m' Q* |' K9 z( `" Z; x7 |9 A
lrcList();* F# t0 f8 `# G1 ~2 O
}
' V- C8 [0 x, u+ K else{$ k2 x6 G- |2 H/ Y
document.getElementById("lrc"+currIndex).style.color=colorNormal;2 J# R! _& ^% }' [
currIndex--;
% I6 O1 ~# b* x9 n3 K $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) d; S* E" a. o4 u% G# b# |
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
9 w/ i+ }! d( J: F lrcList();
" e$ O8 L. X) ^/ c } 0 ~0 C2 U5 J# o# G- }
}
" b( _6 W9 \: c1 X8 e. r# G else, {4 H4 T' Y+ x+ h% I
{* J, P A+ I' ~5 @
if(s<array[array.length-1].time){
* _; p. Z: Y" _7 f# R* y currIndex = 0;" M1 q3 u3 |/ D3 ~3 a" K: P
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 q5 P( l+ u: g0 x. A
for(var i=0;i<array.length;i++){# Y$ t& q5 {6 [, R- z8 Z7 A
document.getElementById("lrc"+i).style.color=colorNormal;) g: o% w6 K$ U5 @
}
- ]" r5 b; A: Y& y lrcList();
. S& o, ?4 h/ b0 p9 M, E3 D% p: b4 l }
: T" M- u! K! a+ c- b6 g6 M }
5 B# K" D+ H4 o}
+ e- h$ ~! d. g. a, z( j</SCRIPT>
$ B* d, W8 X7 H) Z# p</DIV></DIV>
2 t9 R" W) b0 }+ X2 Q, V' X8 g6 c; t+ k8 p4 l
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|