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