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