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