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