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