|
|
<DIV id=list>* ^' }0 B' C" A* e1 t( j) q# s1 r
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
8 K b" R: b# c<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
: W0 ]6 P8 \# U4 M% ]<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
0 O( G: W% p& b* C7 ^8 E<DIV id=lrc3 style="COLOR: #666666"></DIV>
) _1 m z8 ~# q( ]8 {2 [& W( D; G<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>8 s# Q+ F5 G$ c. f4 |- m# i
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
. j' A: [1 ?. ?1 s T<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
/ T, d! \* e& |# z5 T<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>! |9 {5 m. i* N
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>. A* `/ W- O, E5 Y, b4 P* l
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
+ v e2 a8 N3 R( n' }$ X" }9 l. ^<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
8 {- C0 }& O- P( Q4 [, C<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
4 Q/ x0 S/ g% H) Z) B D<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>1 B/ E( ?2 g1 ^. R4 E& q+ s* I" ^
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
, P+ H$ d" U* X6 M<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>+ V4 z0 T' t/ Z& I, Y( b8 v7 H
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
% S+ f @2 C2 N+ K4 s0 N% _2 m<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>* X2 _1 z% ?: }$ _4 ?/ c& q
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
( u9 Y: u/ A( v<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>; T- s. B1 C/ d9 e1 g9 v0 R( V, n
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- g* ]8 C' j& q3 T3 [7 A" t<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>5 {& O c# T! U6 N8 }7 R a; t. ], o
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>' n' k( E- g/ e6 q+ S7 B
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
* [8 W8 }" q2 \7 L& K, n<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
' g& { J7 P: I: G$ h6 F. _4 o<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>" e# f3 I* L# L) G+ x& H
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV># \9 w/ O8 ?! R+ ]' Q) h
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
0 _ ^# l7 Z R9 r<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
+ m/ l+ ]6 D4 t& n. U e<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' R% B* W; M# _
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>' e! }. l" h& k2 y* N
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>0 ~) d! n" x$ d {, r! |5 |
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
0 h( o2 D) D7 P/ A$ p3 }<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>) K( K _1 H9 U: q$ S8 s! D
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>" U/ V# e' |: K* i) N6 L& v
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>3 i8 S2 B* X' P: d
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>4 p% }# s ~6 I! t2 H
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>4 m! M5 }- X: \' y; ~1 n
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) V/ h9 H2 r- c8 B2 Y% M<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
# D, d$ f' o6 a7 m) P* \<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>4 `0 ?" I+ w5 a( v$ V" u3 ]0 _
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
X1 Q; d6 @3 S( S0 ?* [+ N5 D<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* U1 s0 X0 i9 N8 j' z' S' X# z! m
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
8 M/ D2 |. }5 ~6 @<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>1 f2 {& j6 c0 B1 Z
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>. t, m+ h* H# ~$ `
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>/ d; M, d: k4 r& x+ j; i. Z: {
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>& }8 N% H4 X. E" G% r) @8 a$ V
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
* z& {8 J8 u6 s% T4 J: H$ o# B% U<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
7 Z8 v; ~7 m9 e* c: _<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
6 L5 E( S' q7 H* F8 @* Z7 {<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
& R4 w" ~- I' _0 C8 `5 m; h' o<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
6 h' d" m- J, { Q<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
& x/ Z$ z2 K B% w: g8 D5 d; G5 G4 V<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
2 j0 T @+ ^5 J$ i7 f) F* W<DIV id=lrc style="DISPLAY: none"></DIV>
/ `7 A" [( U h<SCRIPT type=text/javascript>- x' K6 ]' a: D! ?' s0 S/ t8 r
document.domain="1ting.com";* n) V& I- u6 _. V# s9 S; I8 E
var colorPasted="#666666";6 G7 P; J) D. _3 X+ B$ r
var colorPlaying="#ff3300";
' V: w3 x- ^! O3 m$ ?( \/ Uvar colorNormal="#000000";
9 E6 n+ _( W* _7 @6 X$ X$ = function (a,g){4 C& ]# W' q) {
var o = new Array(); " \* C+ ?, {2 Z$ C# g# l6 y; r3 ~' O
var c = new Array();
! W5 Y z0 x. a, i var r; ! m8 S2 ` s. A0 \- ~
var u;
/ Q, H' J% n% V var a = a.split(';');
6 q5 u, k5 [) F6 g8 U+ N; c& G/ x' a3 J1 f+ i/ p3 V) o: @' n! q
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");1 I2 V5 C9 m9 o) v
for(var i=0;i<e.length;i++){6 z9 b4 W) Q, a' \
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
( C" E4 O, @) I }! u1 g% p* H) q0 s9 Y: o k
) d# \) n! _! G after = function (t,d,s){
1 y' w$ X: w# h' ]" n* c) v0 ? $after = function (){
. ?$ I5 b& F/ ]& e var $n=document.createElement(t);
6 k w) V4 Z; T, [ if(d!=null){
8 Y, P# T, M* G# E $n.id=d;
, W" b, Z9 Z* Z \" n2 |6 k }9 P: i: V7 g1 l9 z- U
6 Y+ e1 s L& \6 K( {% F
u.insertBefore($n,null) ! x3 b W% ~. w
r = $n; ( M' K8 o1 H, f0 d
u = $n;
+ k( E& b% k9 e R) W* k( R }
8 E u" N+ g% u. H" s9 {- ^& k $for(s,"$after")
2 H5 n, }. m# h: u4 v8 z( J }, E# T8 ^; ]! z; y8 N3 W
+ m) [2 A* T% {2 ]0 U show = function (s){& O; O, J( Y8 u- y' b, I
$show = function (){
9 B4 V7 ~& R, A4 O2 i u.style.display!="none" ? style("display:none") : style("display:block") ;
9 ]# @' u8 _9 s }
b: Z/ O$ y# p7 J( c $for(s,"$show")
6 C) z+ }. G+ R4 ~ }
6 g! }: o/ H% L& V' t$ r' H" d+ [3 E0 T
check = function (t,s){: I! y- d. J/ |' @# w# `; E
$check = function (){
9 G1 M [6 X/ b if(t=="2"){% c, ]: Z" d% y- Q% w8 g2 M% L9 I5 ]
if(u.checked){
3 v: \( l- |0 Y! |- Z: P* ^ u.checked = false;
7 p7 |! Z; b: ~! M A( o }else{- G- f5 q& o5 M/ m# e7 c" l
u.checked = true;+ G1 f/ }2 j. r0 M+ k
}# s; }1 k! ]" m/ D
}else{1 A/ R' t1 p; c) L, S/ S* ?
u.checked = t*1 ;2 I9 @* q) \4 a. j
}
. y# }0 }8 I B; c. A* T( Z( b }
! m6 {) \# O* d4 l/ X& h $for(s,"$check")
' q( |9 b; Z+ H' b, [ }5 F. h }& x E$ V$ K
$ d9 L$ m* G) G; Y
style = function (v,s){3 U J" c. F7 j* Q% T
$style = function (){, A, a" f1 T6 Z# g3 z" f+ j3 C" q
var $n = v.split(",") ( Q [" p" _$ j" ~0 ?8 k0 ]* L
for (var i=0;i<$n.length;i++ ){0 z6 ^5 V* D) s' x* |2 ]
var $m = $n<i>.split(":")
( O+ ]$ f$ ~! `; C3 o eval("u.style."+$m[0]+"='"+$m[1]+"'");
* h3 c* T. v6 V# C* ^ }: @( r- M- g2 E; f' z/ B5 t" U
}( Q4 _5 g2 x/ T8 H7 Q/ B3 A( S
$for(s,"$style")
K) V6 h1 Y; B8 m }
) R2 c+ D0 K! a0 M
- c b0 {6 i8 z% h4 o7 P value = function (v,s){' D( H0 k+ m" c
var $n= $this (v);# m0 A$ i3 N* W" \0 Y G: O
$value = function (){) m2 H2 P- B: d
u.value = $n: e- W! a1 O7 p
}% @+ M8 _: ` P% e: S& v, i
$for(s,"$value")
1 Y9 f" o' h Z' \; p/ v; C }
* m& ]+ a$ O" t
5 f# ?, L1 c. F4 J! ` text = function (v,s){. ^/ Z- T# m" L) v
var $n= $this (v);+ G5 G+ V8 T" L% w$ ^, p
$text = function (){$ @: ]4 u3 i- F
0 t+ ^% T+ W+ X" G# ^4 f u.text = $n
1 ?: {) E1 z- b* z) w% z: ~) r% { }
5 E" X% C3 Y. d* G7 Y $for(s,"$text")
" [# P. _) `" J0 V; J" B' J4 D7 c5 M }
2 c M# c6 h* Y9 G
+ [1 H2 ^8 C' r: n innerhtml = function (v,s){' ]- u: V A7 V4 m8 b& u# ^) G
var $n= $this (v);" k* N& Y1 a/ O9 B$ [! ]
$innerhtml = function (){+ E4 M2 l% b* k$ S9 X
u.innerHTML = $n
! n/ f! x9 F8 g }' c& }0 o" A9 n0 b& L7 Q
$for(s,"$innerhtml")
h0 b4 A/ `$ ?4 ?8 ~5 Q }
! X5 n0 z6 ?4 e ' C, w$ _% T) ]9 [
removechild = function (s){8 H, R1 U, p# Z
$removechild = function (){, B: m. r0 m$ D) q: m
u.parentNode.removeChild(u)+ ]# i% l- B+ K0 T9 b
}* G k" e- j4 f0 z( r* r# T
$for(s,"$removechild")
" G/ y. F1 D/ S }& t2 I# c% V$ p% S% ^) w' |7 W
2 W' p; S0 i* R/ G, x& a# T $this =function(v){
$ H) R6 Y3 S1 D/ P" H3 U3 u if(v.indexOf("this") == 0){9 g: I+ m \, L* i3 M
return eval(v.replace("this","u"))
4 i6 C; l) d/ P, M" V }
8 }5 `, s4 r: w7 d, a8 n" L return v;
, W7 @. ]. i0 U! a2 j1 q# x }/ b- E0 Z' a% D" v1 |% [
6 i* `. e4 x5 K" q- L! J4 o $event = function (s){5 Y: a% M( s$ m) K
var $n ="u."+s+" = function(){$work(this,s);}"
: j- q. Z/ T( i b" H1 i return $n;: M; s, z/ Z/ t# f3 x4 T
}
3 Y2 [6 u6 @$ W
) i# ^ G6 X2 x" ? $replace = function (s){4 ]2 J* b; Q9 ?; N! Y H& _) S& P
$ q6 y0 ]: M8 L0 V }
! g2 C( e7 z& Q: {, E5 _+ n. Y: w$ N
$for = function (s,c){7 `' F$ g1 D7 |9 U3 `% b' f
var $n="this."+c+"()" ;. h, W$ V2 D. f' T/ F$ y0 _
if(s!=null){
, l+ a* C ~5 L4 }, }6 |$ G" D( r var $m =$test(s);
7 a8 N. f5 o6 }4 p( s for (var i=0;i<$m.length ;i++ ){
. g8 H' L" c9 r) Z8 U7 e R u = $m<i>;
. w' k( B. ^: S; y. v6 X. y1 D eval($n);
" g5 ~, ?' h: s$ _ }
8 v$ O# U1 Y+ n2 Z }: X% D+ Q# }5 w* J
else{* x% p0 Q. C0 h& k- |. i3 q- u
eval($n);% k Y( }: H' w
}
( ~9 I0 [- G1 F }
+ |# P& B p X. N5 s. V n ) |# M1 x, x" l2 B: P
$test = function (a){
1 ?3 l W+ l$ U: P+ J! C var o = new Array();$o(a.split(';'),o);6 d; g- F! s. r B) M' m
return o; f/ J( B3 S0 K" s* ]" h8 e
}
! }' ~+ |: U; U
; `3 _9 z r1 Y $format = function(s){8 f |' W9 S. N2 p: C
while (s.indexOf("'")>0){
5 N* R8 N0 c! A# b4 \3 r+ x2 m1 r s=s.replace("'","\"");
: s& h! d9 V( S1 \* q+ d }* \4 s: c; t7 j8 G/ o% d
while (s.indexOf("][")>0){- ^8 G8 d0 t! i; M: {# h
s=s.replace("][","','")# e! D7 X: N* c% Z# O
}, z s, J: K$ ~6 U; E+ ^+ W/ O
while (s.indexOf("[")>0){
+ P% Q: x0 h+ g* i s=s.replace("[","'").replace("]","'"), c; V" s F, A
}
5 D. }3 v+ {4 e9 k2 n8 s return s;8 O3 C+ e& m" A
}
2 s; O% o+ s$ Z6 A4 F4 u! m
' k K% _; s$ T6 ~& J* C( x2 ^ $work = function(w,s){
& e' _* X% o( M9 r9 }$ N) E' d u=w;eval(s)
; M. I# V G' X }; [# ~! N3 l; [ o+ s
3 z& f9 O% Z. m5 B' ^1 W! o" \ $id = function (s){
# w1 d" c# x" o( i$ o4 C return document.getElementById(s);1 a4 t0 Q9 h$ } r
}- g4 C4 r+ T; G
+ }- V1 g1 e% ~ $name = function (s){
! ] x! R% {( Z, J4 t& i4 }1 `) I1 [ return document.getElementsByName(s);, z$ U0 ^4 ^. o, x# A# I
}
! b) h, }. L$ w- b* G( i" T+ U' }1 E3 I& Z! b! E2 U
$tagname = function (s){0 ~" c3 K0 v( v
return document.getElementsByTagName(s);
+ H( y& C9 P1 l, } }" |$ n6 H4 }# V, j0 K" t! _2 e0 J I$ U
. u4 J5 B- U- E9 `$ g
$o = function (a,o,c){- _2 h$ l/ @- b) o) T' z9 s- ]
$push = function (n) {
, v1 W9 V* I! L: _' k! r1 ~$ Z, h for (var i=0;i< n.length;i++ ){- e9 r' P7 a, _0 O
o.push(n<i>);- u& u: X6 j, U& m1 {
}
. I8 O. i ^: @ }8 f* Y p; T2 ?5 `; l I8 g! {
for(var i=0;i<a.length;i++){7 Q5 D$ Z, f: q" @8 k! x
if(a<i>.indexOf("(") >= 0){" S9 ]3 ]( v+ q2 K/ f2 K
c.push(a<i>);
0 v: W" L8 y `* a E( G6 W/ | }# ~5 q0 B/ U6 V8 x% q* W5 { L' L
if(a<i>.indexOf("~") > 0){' R% Z! K' H# n; U- e. {% b
try {
4 X2 ~9 d$ ]2 B$ V $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
& b: R- j/ f K9 E: E }catch(e): j2 e: ^ ?/ ~6 N% m# `, B
{}
8 ?1 Z9 R/ {( n$ h8 s; Q }
. P8 F9 r b1 h' Y$ z else{# Y! f& e+ o! \$ Q8 k
if(a<i>.indexOf("#")==0){) A2 v5 y' R7 m
o.push($id(a<i>.replace("#","")));( w6 }( d6 e, Z% ?/ y6 d* ^. C
}
- }) P/ f: _# {$ D! ?5 N if(a<i>.indexOf(".")==0){
k- `! R" y* z9 N' A+ C7 ?( b $push($name(a<i>.replace(".","")));4 c8 M7 v5 Q) q- o: r6 M7 ]4 o
}
|1 j0 n. V% O3 m" y. h if(a<i>.indexOf("@")==0 ){ O3 m: N# I% }+ d3 J
$push($tagname(a<i>.replace("@","")));" P9 _# O% h8 v
}
% L" _/ c( P/ l4 R6 u if(a<i>.indexOf("*")==0){0 }0 H) b+ L* y0 a
$p= a<i>;
4 p* b' k3 G" A! R if($p.indexOf(".")< 0){
* ^7 ~" `6 E. f4 p0 y2 l $p = $p.replace("parent","parentNode")3 h3 m( |5 v! l v
}
* \: r9 U8 ~8 l5 z' } p var $p ="u."+$p.replace("*","");, m/ v9 R1 H2 R2 Q7 n
while ($p.indexOf("parent.")> 0){1 I9 k. x9 H& @* c) h/ d
$p = $p.replace("parent.","parentNode.")% I+ } l! D! t# D1 K3 _
}6 N+ }# J( [ F0 f# j% A0 I+ U
while ($p.indexOf("child{")> 0){
# \) q- E7 q* v% [ H" N $p = $p.replace("child{","childNodes[").replace("}","]")
: x; ^! |0 L& n( S( c V2 K; u }
7 _1 i; W0 E2 P D5 F o.push(eval($p));
. n4 D! e; n9 a( G7 M! J- S2 I }3 w# I% _" ^( }7 _7 Q; w0 ]. C
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
, |( c; ]% M/ ~8 j/ ^& u+ ] o.push(eval(a<i>));3 D7 A8 {+ y# C; N8 _
}
: a( y( f/ {, H, l% X3 Z6 r }: g' J( P8 n. W, @ o
if(g!=null){
?- x- d: _2 [ ? o.push(g);g=null
) N# g0 N! x m/ M }
9 e0 P1 ^5 c! x- c }9 I5 R2 p# e J$ c3 \* z; ]* l
}& S4 S: K' \; Z& n1 y, k8 ~
- m& @0 r6 V9 L. o& u/ v6 [ `
$o(a,o,c);
) }6 m. ~/ K- F9 s
7 C( X1 ^9 z6 V! b. ]1 z2 T for(var i = 0;i<o.length;i++){5 \7 u( j5 ?3 @
for(var j=0;j<c.length;j++){
( z) b' |& B7 s, l' h! R3 z+ b u = o<i>;eval($format(c[j]));" q% ]% V3 D, S. O# k
}6 v5 B4 Q2 u/ F0 l0 Y' C# b
}2 d8 P" y, b. e1 N" ]1 d
% b9 \+ o; v* y+ [) _) q4 _# P, K
if(o.length == 0){
6 O" n- s* b- N3 W# p# I4 r" d for(var i=0;i<c.length;i++){
0 i) V9 j& ?% f" L eval($format(c<i>));# I& `3 b7 [9 f# e) |# r
}
# }( ] m1 D% L0 S0 D; Z7 R* s( G }
" \ b3 i3 C0 m6 C! p
q- X$ g' y+ w, F) m9 R' E1 c if(r!=null){
2 ]2 p* V; b: [. k) m R% R% x1 C return r;
9 b. g+ T( n& T( t7 r" s, b$ m- j: ` } ~9 T! n0 a+ n2 a6 X
# i0 w" m$ [9 G+ t4 E% ^+ s" Z$ A if(o.length==1){
4 j5 m# R% p$ [7 w. U return o[0];7 f' y: L. H% B, B u5 z) [3 ^
}
0 T& k' ^& M3 { else{% \0 i: C6 q: ?8 O" I8 O% `$ S
return o j: f1 R2 O' n9 A9 s# v1 |
}
! T% O. G$ S3 o( s7 y
8 u( j! ]! b1 y! W6 I }2 ^% k' K) \% p: u8 L+ W" p# L1 A
var lrc =$("#lrc;show()").innerHTML.split("[");$ D- S' A o" l, r8 U
if(lrc.length>5){; o$ O' Q" O6 X% ~% d7 z8 w& d2 }
var array = new Array();" R' _9 @+ G" t( S: _
for (var i=0;i<lrc.length ;i++ )5 l: Y* X4 e8 U1 `; Q P& x
{8 @' E. x0 [" Z9 X
var g = new Object();- q- ], L9 T# Z' R4 B/ U! M3 [+ u( n
t= lrc<i>.split("]");6 Y, w3 S- s" P5 j
g.time = getTime(t[0]);
% G# {- T* K" n if(isNaN(g.time))( x* n( M, z$ i; j, t- t
continue;
# A/ x- [5 y5 R$ L g.c = t[1];
6 C8 w' h8 Q" ?( x. W3 g, } if(g.c == "") o5 h4 L. [# ]; |" Y
g.c = getNext(i);% @8 R4 q& s" w" S
array.push(g);* I1 D9 m. f8 ~4 @7 E$ w
}8 m9 L; D8 P [" N! ^% z- g$ B7 F
array.sort(function(x, y) {
( \* E$ x: `1 K9 u4 ? if (x.time>y.time)
; @* s% C( \( A: a2 ^ return 1;
& t6 l; @ \' |- }% S i else if(x.time<y.time)4 i. A6 A% i$ Y' G) _
return -1;' J3 V* N( G6 G1 |& Y! g+ f
else
7 K- v' f% r, Y# z2 @ return 0;
) P, k2 v5 d3 q/ E1 E }
' R* O) y# t( k$ m1 ]0 j9 F2 C P7 z);
% e! d: C4 T) E) n9 u, Ofor(var i = 0;i<array.length;i++)
2 @3 I& F! J6 C; W: {. v{5 \8 x4 P7 A! Z1 V. o1 n
var g = array<i>;
; I; i6 F! {# t5 r1 `5 O if(!g.c){
: m, o/ q0 ?0 P; n- l5 ? g.c="";0 w) ~6 u- r, A, p
}4 A3 R7 R9 R6 M3 T7 w C0 R* S
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
- _4 `8 i) s }& j/ ^( |) z, t" M, m W}- o; |+ m* n/ L& w
var time = setInterval("lrcList()",500); 4 e, y7 P. O5 ]
}else{
& u, v4 T; g' y7 s/ L8 z $("#list").innerHTML=$("#lrc").innerHTML;: I; ^5 v* w3 E+ v. s9 G% f) s
}
- \( Q% F$ w" V d4 Hfunction getNext(i)
# X! j$ ^+ p8 X! n{% T% T H1 R5 }5 W7 d
var result = "";
9 G0 h* v/ I6 s( P0 E7 Y1 j- V var i = i+1;7 i; h/ g; ?$ c/ Q6 [& J# T* k. W
t = lrc<i>.split("]");3 q. h* Z, s$ P/ p+ v2 ?( O
if(t[1]=="")
s3 V. t& U/ i/ Q- C6 i8 \0 \ result = getNext(i);( g; l' g4 y) n C) Q: G( N( Q! v; M
else
2 L( ?* v4 X: O( ?4 k$ g result = t[1]) x' h+ J) S; y" N8 @ d
return result;+ p# c0 P9 U, W7 |* X$ n
}
$ p2 H, r# G, I
; l0 Q5 t5 h! Z( F/ H1 T& sfunction getTime(str)1 E/ ~; q9 o: L# ~
{; @/ G% G+ K( p- o, _
var time =0;
: a0 \/ e3 ? S( B4 C8 _% y var ta = str.split(":");
! M, h3 {( o, z! S2 f if(ta.length<2)
' C/ `. |; v6 k- z+ X return time;
( \. H5 c7 O! J; E7 {, n: b b* p7 x& k) O H% h% p6 D
if(ta[1].indexOf(".")>0){
' `% z( Y% Z) ] [ z8 U1 B var tb = ta[1].split(".");0 ]" U7 k. d, C. |/ a
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ s8 Y7 M# y8 \2 V# g, C4 w
}: V" x1 J+ K& [ |8 j( [% l0 e
else" q- t" c. J! j! m$ Y; C6 @ X! T
time =ta[0]*60*1000+ta[1]*1000;
7 [) h1 l: `! M. _0 }. y! d, K return time;1 h4 H2 g1 e8 k$ H; f. Y6 ~; u
}
H: G) \8 e- Q! Qvar preTime = 0;/ V: d! C* ~' k. D. N2 A! d- q
var nextTime = 0;7 t$ ]$ L8 w9 W8 Y; ?6 L0 m
var currIndex =0;
% c# y) `1 F' t$ L5 l4 ufunction lrcList(){) H/ I; V0 @, m% v7 h9 a' d
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;1 r, ~/ Y8 X; m% X/ Y) @
s = s*1000;
8 a' G7 Q' n, H" \ E if(s==0){2 t/ g3 D, q& }( e% n- O% {6 ]- p
currIndex =0;/ u, z* h& [6 L6 m4 A* g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& q+ T2 e% B1 t8 I5 r: r! g for(var i=0;i<array.length;i++){
3 v6 F' M4 N3 z1 ~: U document.getElementById("lrc"+i).style.color=colorNormal;& [1 r& J% x S% e3 b: j
}# `! m3 M9 f \5 W% f
return;6 B3 d9 O$ o r; A& m' o: Y
}$ e: E8 U! J+ G [" E
if(s>0&&currIndex<array.length-1)
3 X+ Z# {* d: \; m+ Z" S6 l( i {
- [ k; s+ R; T! `7 B& L preTime = array[currIndex].time;
5 `* u. B0 D/ ?1 {' q6 m8 Q) N# e 8 [! U: _% m9 Z, D
nextTime = array[currIndex+1].time;
. q- Y$ x9 D( V- }3 J 3 W p! e; i! e- z
if(s>=preTime&&s<nextTime){/ W1 q/ M# N& |: k+ [( A6 ~+ k! x1 V
}
/ E* |4 _: E9 t) |" x# L- H/ x else if(s>=nextTime)
' ?2 }! g5 B) B/ c' Q0 ^' ?6 t9 X {3 q5 l/ z3 v. R) E1 k" q
document.getElementById("lrc"+currIndex).style.color=colorPasted;
2 e: H/ a4 B1 B1 u& N: s+ ~ currIndex++;
H6 x, Y9 n# n: K, h0 f" ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. |/ Q J- b0 g! p7 n( W1 u: m# R/ T/ }
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
) X/ E' Z* |4 x$ e lrcList();
, ]" B. O* l% S3 B$ [. n2 J! ? }5 T' [8 H0 y- `8 t
else{, k0 d' ?: ]/ f) |
document.getElementById("lrc"+currIndex).style.color=colorNormal;
) g9 t/ e( u0 c currIndex--;: p; [: Q& Z9 R, G$ m+ W& e
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 X; T, t: y- N$ J2 t; M8 O4 F document.getElementById("lrc"+currIndex).style.color=colorPlaying;! T0 A/ E# M: `( i' y8 v2 |
lrcList();3 K) \" }3 ~% ]) A
} 8 h. Y' F) }3 J/ n+ o; G/ K
}* V5 E8 o W5 V: w$ @1 |
else8 q: E0 e) {! ]# A1 M6 x- S! ]4 U
{
9 Z! E+ n e+ n* P' ?- ?( U. x if(s<array[array.length-1].time){+ V% T e* O4 _/ j, u, Y
currIndex = 0;
$ p2 e4 C4 }- I% A0 e# [6 v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# C+ O& j+ T6 x" k" N! y0 w- p
for(var i=0;i<array.length;i++){" ~: {' d4 z7 Z$ z$ o0 p
document.getElementById("lrc"+i).style.color=colorNormal;
, o& b$ b8 d8 ]9 P }
: Q$ b5 T7 s: U) ^; o* ? lrcList();
5 l8 I5 |2 e' |- h1 k }
" ^/ ?8 K9 T/ ?( Y# n }9 p/ ^) G z4 r8 c" Z6 G5 C
}. s- w' ]. k+ {
</SCRIPT>
, B& H5 I. a' G" c# I9 B</DIV></DIV>
. w2 @, _* e% j; a+ k* O- e, i- z! p. n
* G" o8 N" D" \[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|