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