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