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