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