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