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