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