|
|
<DIV id=list>0 e) R& O) E$ c, j6 K! T9 ]; Y1 e
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* C$ t: _& A) o7 ^" z f0 C# W<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
& h) V& m* K9 O9 q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, G0 X1 Z1 A; I/ `; P! c. u. O. |<DIV id=lrc3 style="COLOR: #666666"></DIV>
/ I$ Q; N f' v<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
7 G" b2 t* c7 R$ h _: k<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>+ k( x0 z5 B5 R f [
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>% O5 ?. |4 ~, Z# { r8 k8 f
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
7 x0 \( q0 |, U6 w' j<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
) v+ P2 K6 z w- Q<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
4 K; f0 H3 X o+ M9 L! }<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>" @/ |' y& @+ j8 @' p$ D$ R( y. W
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
7 r9 g9 X* Z- S<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>) F2 G3 r- b3 o M$ `. f
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
7 Z$ _9 l& r: V<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>. b$ I2 Z; K3 h8 m
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>8 j) `( z. ^( K: j( l0 ?
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>) ?6 f- A. n0 j j! @' a- _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
: O- w1 ?. d I8 ]* C3 c<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
! i3 A6 ?8 H! m& Z) X# U9 E<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>& l9 B0 N3 {# k+ ]/ {1 r
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
k/ |# y$ H( C2 r: {& t<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
/ Q8 t6 i: ?1 ^. `4 @8 j) y: v<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV> Y" H" Z" H. K2 _" b3 ]
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
, E; \! I% C# |, o' y2 ~<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
; `& }( o- d$ v& o& D) k& o<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
9 ?) v2 W2 I( @: N6 f, |8 y; U) R/ i<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>8 w1 ^ V1 z, E8 e& l& G! I3 j
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>. y4 M* f- f3 A9 ~+ E# s- [
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' q6 ]$ h J) G: i" s
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
2 i8 T, X2 n3 O O8 \, T<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
Z+ w+ I3 A7 \, s+ i, x# C: ^2 q<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
* V+ G7 [, F" D" n1 F3 w; j+ w<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
" P( w2 }/ Q8 S* _<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>) p" k) j& n1 c; i( O( q1 a
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>$ K; J0 ~' r( [& k" ?
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>. D! C# S: w7 b9 \4 p
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
- }3 }: x R9 c6 p( y2 Q<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) [ I. ~- R2 R6 G! x<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>* j+ Z- ^- K4 B: c) k# _
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>1 r' u: j5 e6 J, B- T
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
: D" U. q( G9 q+ c' _<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>& V+ l; `& o3 r) j
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>( g+ B* n& H, \
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
6 O" Q% O( [2 E0 a! Y<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>; M+ i% }% W( e
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, c, ?2 F* ^( T w2 t/ V: U
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>2 q' Z# ]8 L" _' G. r
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
" K a% u r6 m. o0 K b: ^<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>7 c9 [7 j6 o* ^( r
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
7 Z/ Z- D: ] k! M( M9 d ^<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>" f# A: c2 O* R, F" K. v
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>) `6 j! {* l. v0 Y8 h1 `
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
2 Y! X* }( l5 D3 B<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
$ n5 }$ j1 D: I" W<DIV id=lrc style="DISPLAY: none"></DIV>
9 P7 W, z2 Z5 f! u# H! S2 `+ q% _<SCRIPT type=text/javascript>9 R* G% v' y3 P: C) O5 G% `. S& @
document.domain="1ting.com";$ T+ H5 @1 Z# |6 e
var colorPasted="#666666";
) }) a. Y2 C; Y, R' D% qvar colorPlaying="#ff3300";
* B& q4 Q& {6 X" _/ F6 Evar colorNormal="#000000";' V, u( Z/ b9 X/ C( L
$ = function (a,g){
: B) k5 h" t2 v2 r var o = new Array(); ! `) ~- f1 `$ {) t+ D/ ?' m
var c = new Array(); 5 j d, k/ M* H0 ^; g9 W. \# H$ ?
var r; 2 H( J6 A3 M3 s5 y+ h3 N
var u; , c' c9 U* d9 z% f
var a = a.split(';');
+ W4 w. C1 F) G: a# | Q: u B! \8 i9 M2 b" K3 `
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");; B% s; v7 s% @1 O% p5 J* e; Q
for(var i=0;i<e.length;i++){& \, O- C; u" i$ ~2 h8 l" V5 L6 t
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")( y/ d5 ~6 S$ Z( E$ ~& K
}7 K" h2 {9 y3 X" w! E
v6 o3 v1 N' E8 F" K after = function (t,d,s){6 _7 U, ~1 m: e9 j: I: [$ g: |- I
$after = function (){
M; Q( q" S" g3 x var $n=document.createElement(t);
/ `# n6 G8 G$ T" Q b1 z if(d!=null){
" k4 q! H" X0 A. U% t" P6 t $n.id=d; ' G+ j0 o7 b) w( `
}9 ]7 a2 o& K: J( U1 N
. k9 G- w- {) Y. ` u.insertBefore($n,null) - G8 U3 ^1 \' R: i! M6 c
r = $n;
' s" z. F7 U9 s( E! u& B u = $n;
$ A1 m2 J" p8 L" ^, | }
" {( b) j7 {' S! Z" P% C* v $for(s,"$after")0 p6 ?0 H* {2 L
}
; L4 U* f a+ T" x4 m% ^0 c* X n8 E: @0 j" V3 M6 I
show = function (s){
2 e! G I3 U. e- Z$ q/ k $show = function (){
3 F0 m Y8 Q$ q, t! L u.style.display!="none" ? style("display:none") : style("display:block") ;" {$ A5 i0 | }) m( X
}! `& S& f2 Y6 R! X: d% q$ i
$for(s,"$show")
! U; f# R9 p7 W* X8 P' D" k) Q }9 ~# u' a8 y0 M
1 n" {7 ~; X/ j# m5 C T: ~
check = function (t,s){
/ K% q; Y! e) \+ u; F $check = function (){- }$ y+ t0 Y9 G7 n6 B8 Y% b
if(t=="2"){, A9 z0 z4 m- k; \8 `+ ~
if(u.checked){ w% C/ f0 Z- ]* ~* x) P% b
u.checked = false; m7 R; i( P% x9 e, D% |- c
}else{
% @" m5 j8 q5 v, @2 @ u.checked = true;- W, l: W; z, g: O0 W
}
* A0 O7 p% @/ x, W }else{/ @/ H0 L' z4 V6 Z8 ^9 x1 C$ ^9 ~
u.checked = t*1 ;; Q; J$ ?3 r$ t
}
: H+ R& z$ o, q6 ~3 U2 n- e }
2 C/ g8 S# z& v) I) n% H% G. X $for(s,"$check")8 r. J q, C: @" h1 S
}3 V, V7 D- P* |5 h( q3 i- o
- S u7 F8 H' K G" H- ~6 A* t
style = function (v,s){5 R& n3 V. \- D' o/ V
$style = function (){
n. x. c5 P) @$ @* d' n var $n = v.split(",")
7 y b7 ~4 k" O$ c: c for (var i=0;i<$n.length;i++ ){
8 O2 y& g& V2 H- _$ u var $m = $n<i>.split(":") ) k0 n+ Z' D' o2 g5 H4 {8 n% K: z
eval("u.style."+$m[0]+"='"+$m[1]+"'");
3 U# {: O0 Y4 `" K' O8 g }+ a7 J) }& Q; K6 Q4 r0 L: i
}# c# L9 i6 h2 K: A1 K3 t% ~ k3 T
$for(s,"$style"): w; S6 J( H8 g4 q
}: z- g' N$ b% q: N: s. n' N/ p
% }8 h' v% }) r4 \5 W value = function (v,s){
) p. {4 Z( Q* Y# Q8 R, I4 `1 L( e9 p2 n var $n= $this (v);
) B. N* k0 P$ R9 X P $value = function (){9 L1 v* D6 x: W8 K
u.value = $n* [: t& f( G0 X8 w# a5 V
}- ^( |! W" a( N
$for(s,"$value")
% s, h. z5 ]! @; m/ h9 m s( M }; F4 h9 G/ o1 ^* |. m4 u, m7 b- d
% J; L0 a4 o5 z
text = function (v,s){! g2 {4 P$ {8 T
var $n= $this (v);
0 s* f; a; w0 y, |5 y1 M $text = function (){
* t% J" g2 x2 k ; e% d3 }' H* _$ F; v, e5 ?; m
u.text = $n, ~* s4 e0 u1 ^- f
}
8 Y- Z7 Z4 _* N& J $for(s,"$text")
9 }2 x8 q' ^5 c: O }
3 G6 {8 J5 I( `$ R. N( i' i# S
- P7 F4 u0 p' J% p' X innerhtml = function (v,s){6 r3 O; Z: t9 k1 j2 e& x7 [
var $n= $this (v);7 t# ~7 D2 Y* R- A/ Y) K# a& d
$innerhtml = function (){
% s% L" J5 N8 I t6 } u.innerHTML = $n
' b3 U. T6 N. ~ }
( a% H- H$ D4 W8 H3 ]/ b) B $for(s,"$innerhtml")
?- \+ E3 E+ o! W }9 C6 g9 B# v+ K' u" J A
; a& U2 _( i, |, I, |8 G. S! i
removechild = function (s){5 b% e: _1 C* ]2 ^1 m
$removechild = function (){
5 H/ _& S" m0 W) I u.parentNode.removeChild(u)! D L$ I \2 h+ ~' f6 G8 e
}
9 c* V4 W: d$ } $for(s,"$removechild")# B& l" @" ~+ Y
}8 s+ z. q N% f4 B
1 B: z# `, ]5 {
$this =function(v){- c8 r0 `( D @7 \; l
if(v.indexOf("this") == 0){
9 n3 F, y" N" d# D2 r' `0 b return eval(v.replace("this","u"))
5 M6 e, c9 ~8 a; _ }
$ N) i. e( m" H. V return v;
@# M7 ^, t; R! @ }: Y8 p" i5 x1 i+ ~( R9 {
+ d O- C x+ k% p $event = function (s){3 j" `4 [3 | e0 x
var $n ="u."+s+" = function(){$work(this,s);}"
7 o( s- I- `2 m& N return $n;( p+ }7 Y5 P: h9 ], z- h
}4 q# q$ D7 n+ G5 z* m
7 q% I1 [) C- U2 F6 ^
$replace = function (s){
2 b* N O5 j+ L( Y, t% @' |# a% K" L( j0 c2 \
}% a& R' D* y0 Y( C1 J
5 q3 l4 W4 Z/ G3 C $for = function (s,c){
% }% [% z. Z5 p" s* b- w! K7 k1 [ var $n="this."+c+"()" ;$ k- N8 c% W8 _, E
if(s!=null){5 {: r, Q5 D8 ]# {' c, Q
var $m =$test(s);! |9 p$ B6 `- j& `# k/ h
for (var i=0;i<$m.length ;i++ ){% f3 k q" U8 a
u = $m<i>;
) V. h3 f* R, [) p8 x6 i eval($n);' M% x) J4 N! q" F$ J
}. f; G4 [$ C5 W3 a1 Q; @
}/ C1 u1 Y& F; t
else{
% W! q d- Y- _2 h2 c eval($n);! o' U* R+ |# @6 M. r5 C
}& R/ X7 m% v, W
}
) a% @2 g( ~1 C 2 s r% N* G9 O+ S, h
$test = function (a){
4 w4 x% `* m0 @3 r: N var o = new Array();$o(a.split(';'),o);
/ f( L3 b% i( W. h, ^ return o;
# s- t" G" f/ m( Z8 _4 O }% ^# J+ `0 z* J: q& N2 r
/ ] S5 n# L& s
$format = function(s){+ j( I" J/ w$ N7 H# l
while (s.indexOf("'")>0){
8 f1 i/ `+ J& L3 `/ r. b% h- M w2 V s=s.replace("'","\"");
& L$ u( B' k( ]& C. k/ E$ K }
6 p3 l( H% q; O& M! I" w% Y$ _ while (s.indexOf("][")>0){( I/ [) z- | J+ u- R1 j' U
s=s.replace("][","','")# d" w- h: r/ ~$ N I
}
7 ]! p) f9 W! b while (s.indexOf("[")>0){* i( d6 ~4 Y6 O% `) _
s=s.replace("[","'").replace("]","'")$ C" g' l F& J% k! C- E. ]1 B
} 6 N/ h2 ^0 Y+ q( Z
return s;' Y- j4 ?5 }7 f( ?
} u. E H r& B0 Q$ _
! `; g" v/ g% G9 o' Y' A $work = function(w,s){
1 W' p U) q( t- ]7 j4 \/ Z. ?4 G7 b u=w;eval(s)
5 h% J# X6 Q, g4 o) b% D4 a }
: S! P$ R7 R: j! `+ r/ s( C* V+ I: U
8 f# d @8 E. a $id = function (s){
# v3 |+ {( U9 p0 c; h0 ^ return document.getElementById(s);
5 o2 J9 Y. @6 M( o }
* q3 I# v* i+ a& C
6 B; C$ P) a0 x0 M $name = function (s){4 ?# m4 _% i* k% a7 ?& j0 P' d
return document.getElementsByName(s);" I. X' G. p7 F3 [0 {1 {
}
. n7 c' J% T5 s6 y3 p
0 {- V6 x! e; D $tagname = function (s){3 ?$ Z: C. \% @! r' x
return document.getElementsByTagName(s);' B8 i( L; `8 s' t
}
# p9 K/ F# W& V! r5 s$ I! T' _6 ~
8 l9 ], Z7 z7 w" O $o = function (a,o,c){
3 v& y5 W) ~* w9 C $push = function (n) {
1 |$ I. n. Q: J5 u3 H( u4 `# i for (var i=0;i< n.length;i++ ){( k2 N) r3 ~" g/ I2 }, E$ y% A
o.push(n<i>);; l. U8 T. e. [9 Y* ^2 X" o' f; A
} 1 l. k7 d. P! j/ T# I
}
! Z% J6 l, @3 V6 ]2 L for(var i=0;i<a.length;i++){; g. F. `1 L6 J" W
if(a<i>.indexOf("(") >= 0){
0 ^" |2 ?- q6 q/ [" p! ?9 _! o$ R c.push(a<i>);$ Y B( l3 h/ t {1 f' r
}! A' J# }$ q3 Y
if(a<i>.indexOf("~") > 0){
" k. b) f, \, P% u) K5 c) v! a try {
, {* r0 \8 F' t- \- ^ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
/ m. w& I: D A }catch(e)/ D! Z" Z! A) ?4 t. [
{}
7 E! \4 ^: I. O; q5 d0 S }9 Q _5 `+ o/ h( _8 Y
else{( C; E# `0 m- ~' k' n/ I. P" i
if(a<i>.indexOf("#")==0){$ s7 I C5 C' _/ [. [7 |- @( x
o.push($id(a<i>.replace("#","")));
; ]0 T! V( f5 s. u1 j! k* ~ }1 T/ k. a$ r1 u3 U: V6 j9 _
if(a<i>.indexOf(".")==0){
0 j: N" D9 E' B i" k $push($name(a<i>.replace(".","")));
4 T- j k& ]1 Q0 c3 v I$ I9 H }% ?0 j! ? K& v( {8 ~/ c( ^" g' K
if(a<i>.indexOf("@")==0 ){
% c0 {. X, ~# }' y" |; s; e7 G $push($tagname(a<i>.replace("@","")));" k. @1 i3 n) [
}4 Z$ W, k( l1 R3 F
if(a<i>.indexOf("*")==0){
% ]- I& {" G, v. p' H; V: B $p= a<i>;5 x% A9 q( ]* R( H T8 n4 z8 y: [
if($p.indexOf(".")< 0){ G* k9 r6 n0 F/ z* O; R6 [
$p = $p.replace("parent","parentNode")' m- o- a' } q" Z8 J3 h
}
& Y$ C3 [" c$ h var $p ="u."+$p.replace("*","");9 {- F5 H4 h& C: z* {7 s
while ($p.indexOf("parent.")> 0){
$ Q v6 Y: }' F D/ N $p = $p.replace("parent.","parentNode.")- h5 P1 }) z' |1 e) k
}
. t2 y7 \/ c$ B- ^ while ($p.indexOf("child{")> 0){
* u8 t6 l' B5 b$ c8 r( ` n $p = $p.replace("child{","childNodes[").replace("}","]")! o. ^5 G9 i0 T, `/ A) B s
}5 ?* ?7 F0 `/ _5 k& w
o.push(eval($p));
+ a R4 k* A8 O. ~( z* ?/ W1 \# | }
, t' p- u7 e! D! Y0 g if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
5 {& y4 X2 T5 ? o.push(eval(a<i>));7 h' N# U) W! x5 D/ e
}; O$ m- C3 J8 G- r+ N
}, {& b$ h- |( G1 z4 ^
if(g!=null){ 5 E; B( [/ K( O' V& N+ j5 v4 y
o.push(g);g=null8 K+ C' w! O; \5 u, a+ j( h
}
/ |0 `2 i+ e& t }
9 x/ U# @6 h2 w# F1 |' G# Y }$ ~9 w! S0 h: l# ~
I4 v$ G7 |# w' K; G
$o(a,o,c);- M( I- {5 u4 y1 T' v
: C* u# g* e# E$ A
for(var i = 0;i<o.length;i++){
, @2 B8 m J; `0 d7 e8 D9 \ for(var j=0;j<c.length;j++){
; a) ~: L1 E3 j u = o<i>;eval($format(c[j]));
# G8 H9 u' y7 w( D6 j }
! v( @& q" u d8 E. A2 m/ A }: r" {9 f1 `7 B5 c7 Y( b
7 D" m- v. c5 Z if(o.length == 0){
" k( T9 x7 T/ ~! \- Y. D d for(var i=0;i<c.length;i++){4 O4 Y. |; ]% K" L& k3 Q
eval($format(c<i>));
( m' u9 u6 U' [1 v( ~6 V% Z$ S }( C; A) c: e! X3 B' g8 \ U
}
8 J7 {0 Y7 Z- r7 n ; `; V9 t. A' A. v6 H$ ^; v: a# Z
if(r!=null){3 n/ U, z$ r: q
return r;
% i; P1 z5 q" ] }/ g) \5 O D, E" H
& @5 `8 s+ `( I; c/ _2 V
if(o.length==1){; `6 t0 W3 F5 \& [+ J$ x
return o[0];0 D+ K! ]6 f. D: Y" N& A! s
}
9 m% g3 H: [( J0 b7 }: b else{: D7 i }' [2 S ~$ d
return o9 H; X k0 K' e/ h" e
}
' ~/ L7 {* T6 z0 @ 9 s/ p8 ]0 P+ c# u
}
4 k+ F. N- G( a8 i" u6 S! |/ fvar lrc =$("#lrc;show()").innerHTML.split("[");
0 U# P' d0 d1 ]$ Q) Vif(lrc.length>5){
! o8 w9 m5 u# P- Mvar array = new Array();' l. Q: y; [4 _& c! W. ~ \
for (var i=0;i<lrc.length ;i++ )! {1 p1 o) O3 N4 D ?# F
{
# b; D6 B( x" W- F5 m4 D var g = new Object();+ L, y& ]8 A a1 e+ t
t= lrc<i>.split("]");$ i* _& ^# L' f9 O$ ~
g.time = getTime(t[0]);
; i& t' A) r0 H# u if(isNaN(g.time))* {: F. m/ {- d/ r1 I
continue;$ J: ?/ \1 T( U* e
g.c = t[1];/ ^6 A M; n9 C: u4 A
if(g.c == "")
: s2 \* o4 y' u g.c = getNext(i);
4 n9 `3 O! c) p- a7 g) a4 P array.push(g);
8 E. Y$ I3 m: ~# F+ @3 a}
/ k1 F1 M2 E r: }8 W2 [array.sort(function(x, y) {1 x6 W$ f+ r& n' g5 s
if (x.time>y.time)
4 C" e# V: e- o4 X. D return 1;: w* T5 E& h: ], q% Q, ]
else if(x.time<y.time)$ ?: }( O# @+ Z1 v* h( }! |
return -1;: M0 v2 C4 E9 \9 V0 Z- E q( N7 R- V
else4 n0 V0 A" f5 b0 D; m5 @
return 0;3 x/ T' X) M: Z9 t& C T# d
} : J, \. p5 E9 @/ \1 K M
);( Y. q, o- P. ~$ H1 h0 d/ V
for(var i = 0;i<array.length;i++)/ H& a( D) _. H# Y" ?
{
b4 i. h2 l# ~2 a var g = array<i>;
9 b! E& i/ ?+ t8 o if(!g.c){
. u* _+ R) E( r( @$ T9 `. l% p: m3 \ | g.c="";
, u: U' c! n3 a7 Z7 x, j/ z }$ w2 [, N$ ?; t4 g: W/ ]
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
" k8 m; s* J' Q9 y; k; T}
7 l+ ~( I1 h/ [+ V+ S0 }$ S7 Pvar time = setInterval("lrcList()",500); 5 _" D. `) _: P$ L8 a7 Z2 `& s- [
}else{
4 [ N! @1 _2 q$ l7 _) @% y $("#list").innerHTML=$("#lrc").innerHTML;
4 ]& S! A! l z. k4 L}! Y9 t" J' N4 }4 M" J) u/ L
function getNext(i)
0 w& G4 S" p- n$ e, R{! S: Y- l9 H- D" T( q' w) ^
var result = "";5 L$ ^0 f l y6 Y$ J
var i = i+1;
8 c% f; h, P0 F5 G, @9 t8 x t = lrc<i>.split("]");
5 t% Q. g4 V' m if(t[1]=="")0 K$ J: G6 e/ g- w; a: v) @; w
result = getNext(i);6 k' R8 L ?! |% R; v
else
$ @$ H' h2 m3 G3 T result = t[1]& e; H! Y c( Y, E, F0 y- }5 E
return result;
. B* y5 S: d* P; p) L1 M* ~}
4 J. M2 P* P% H; d' D% E
0 X" j. P, T% H' f3 k( vfunction getTime(str)6 h. c; W* f2 G; s1 I' ^
{
3 V: o& d+ c6 }! ^ var time =0;. l. H8 }3 x {' B" j
var ta = str.split(":");: _' ^2 }! _' w/ C W! I- k3 y
if(ta.length<2)
/ T2 }& }0 K% E% e return time;
2 \& d3 c; C" P
, N# y) z& @. v2 Z( Q if(ta[1].indexOf(".")>0){
5 x3 w' E6 ?. X4 e var tb = ta[1].split("."); }& \2 g' K% s" e6 K! Z
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10; {2 b" O* Y; O
}) ?7 m, v7 i& o. ]7 j& e* x9 s$ f2 F
else& j) D1 F; r4 m4 X- P }
time =ta[0]*60*1000+ta[1]*1000;* _9 G8 |" X/ O7 I0 U
return time;
5 N' Z0 l) ~. M}. v; A- _' v; L- q: u; D
var preTime = 0;
0 `" A+ p! d7 Z& c8 uvar nextTime = 0;
% ?6 E# _" c+ f: svar currIndex =0;( M& a+ O9 S- b0 L& D0 n) W
function lrcList(){: W: Q- _( y5 Y
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 l+ E# e* @2 U2 G" U5 h
s = s*1000;, y5 y% @) u4 [" q- ?
if(s==0){
/ _0 w' ?) _. `5 m8 { currIndex =0;
0 g/ m% m, I1 p, F! W, N( R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; I) P, n }' F for(var i=0;i<array.length;i++){
2 _' e- Y& _8 ~# W document.getElementById("lrc"+i).style.color=colorNormal;9 i5 O8 ]3 e5 W: c
}
) r9 v3 z" [4 O( _0 S% C3 p return;& Z# s P! c) U' s! ^
}" i, Y( b( ?& ^( i9 A9 M1 ~# a; R8 }
if(s>0&&currIndex<array.length-1)3 U+ x& |. I/ P! u) w! f
{
9 q1 p3 N, a1 }" t preTime = array[currIndex].time;
" H; Y# B. b& y% B2 Q
3 v3 W6 A1 D/ \# `# X I nextTime = array[currIndex+1].time;
) q- J8 r: @7 n
4 X @- w0 [: m+ M$ T if(s>=preTime&&s<nextTime){
1 }9 d: Y2 d# |: R }
' W4 d D# i, g* z1 N7 W5 y' D& i else if(s>=nextTime)
* k! e% S: K2 a8 Z9 M' r F {7 N+ O) ~& l9 Y, c6 ?" U3 \- K" ?
document.getElementById("lrc"+currIndex).style.color=colorPasted;
4 k9 X* ^6 t( h% t currIndex++;: P7 I3 Y2 K9 B! _6 b
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, y) V, |& K4 X/ m1 S- S) C document.getElementById("lrc"+currIndex).style.color=colorPlaying;* g- r; t, U! ^1 r# N2 B
lrcList();- w: ~4 @8 U* t3 D8 _6 W/ }- y
}
/ P+ a( O" E1 {* [" M0 ]' j( F else{
' M: m0 j; l w' y& T9 _( I document.getElementById("lrc"+currIndex).style.color=colorNormal;
' u" F( n/ Q$ G, C Y7 ^4 [8 | currIndex--;! M: m& g" a7 s' l$ v4 h, O) t2 e
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# {" l' U3 X2 J) d [1 P
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) u e1 p9 `- d8 \# s# {" K lrcList();+ ?: h: z B! p' @& ? `* l
}
4 m: g& a2 X: q# W3 A& I5 Z; K+ O: T }6 T/ q6 g$ H4 c. d( Q4 {3 [, t8 C
else2 D6 U4 w) \- ^
{
2 F# s0 A8 c1 H3 z7 {2 R; e if(s<array[array.length-1].time){1 Q" W% T- r. R( q0 R0 N; T
currIndex = 0;
; G# r7 Q0 R" r* U* } $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 x+ c& u+ M; C# e& U2 _ for(var i=0;i<array.length;i++){
" A0 Z6 j! `3 ^2 w& Q1 ]& w4 N document.getElementById("lrc"+i).style.color=colorNormal;3 r$ H/ n$ z* \0 p `( i
}
% ?; R$ p* p/ a+ p% ? lrcList();) _/ _' k; K* j. N) D
}6 l$ }% z- M' W5 t7 F4 t
}
" r; C# ~$ U. w2 F; g}
% C+ K8 k* J* v% a</SCRIPT>
4 V8 Y: I& r3 Q5 M) N</DIV></DIV>. A$ {7 B) I& [* f, g9 v7 C' b8 a
: ]# m4 C1 G- |5 S& T[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|