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