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