|
|
<DIV id=list>
0 ~8 |$ k+ H: N. ^<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>% _& M: k8 x$ J$ m: |
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
+ P5 n! q- D" j* u, D<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>' W' O( O1 T( V8 j
<DIV id=lrc3 style="COLOR: #666666"></DIV>
/ e; Y- f9 f( M<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>) W& b$ A, s, k
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>3 Z1 p9 K: y. E
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
: f& \ c! M$ W4 J4 D<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>3 S0 J; X0 v1 }+ e: \) N8 w
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
9 {3 T/ h+ s+ c& C<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
8 u; w# l: B! t- q<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>- R+ J. {0 C/ @( T
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
, d. Q) a8 |# y9 Z<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>/ Y Q' Y+ E# z0 D [9 _
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# E9 J4 q; w& D! R7 P0 h5 p" G<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>4 b! L1 p, I5 C D6 u
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>9 }- |& c% e* A& F: x8 u$ Q y
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>% X% l6 H5 O6 t
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
: |6 [4 B0 d) M& r8 G<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
( y* S$ |5 e4 ~& \ c8 P<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
4 \& k. B! b5 m$ a' I) `<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
5 Z( A4 m) l+ A- P* x0 w* R<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>% i; B/ P% ]$ ?+ g. n4 L
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
1 Y3 | \, c! J8 i. z<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' D. a3 w: w0 z% N2 ^8 x/ J9 B- h+ [; l
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>1 D# V5 \/ [8 r+ o5 s3 O
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
' h; I# j, E+ {& c7 t<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
" h) o; j: O) ?* p, A<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>& ^6 A! b! V; k% z& \7 U* ]
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>" Q- M6 C* P+ P+ Q+ _
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>8 N! J7 Y) h5 v
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 e; t$ |& l: e<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
/ E+ n" S" r2 H# ^<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>4 @/ m0 p" C4 m" e: b4 p
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
9 M! v0 {; b6 i4 |9 n2 d% C" G& ~4 B9 H<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
& L" q7 p. l2 N7 A% Q<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>) h- Y9 B, Q7 G3 H- {- i
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
& \5 l# C; s) w7 L+ ^6 V<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>/ y1 x: A. o" j4 w. J% d" o
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: Y5 y! R K5 ] R5 a
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>: W# u% B. y$ C- d) y
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
5 f. v$ ?1 z! N6 j9 e<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>, U% U5 z y7 m7 s6 A. B
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
) ]- c& }) Z g' {) G<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>. `$ Z5 e1 \3 t/ O
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 H+ _: ?: Z% n. U" V' G* @2 Q
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 }5 V( ]. N0 o<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>/ a- N# [5 ^% |1 k$ T
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>( z, p( o8 q6 P1 s. i9 D! F
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>. c! u- m$ c# f0 I
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
" C4 G7 }. G, [, b0 s& T, t<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>& z4 s- Y, Y* a" ~* V0 v2 u
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>: F$ J9 x+ k8 ?! }7 y
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
3 \" a% Y8 U3 V6 S* p<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
) H" A0 y! b0 k+ I: Z! n, u<DIV id=lrc style="DISPLAY: none"></DIV>
. G8 ?; Y6 M; [* j2 u2 u<SCRIPT type=text/javascript>
+ c8 D$ b' \: f) `1 @document.domain="1ting.com";
4 U, _* U" {5 G/ t8 S _. Wvar colorPasted="#666666";! P; S6 V9 u6 o, ^) a/ `, X0 K, M4 r
var colorPlaying="#ff3300";
8 E# W! H" @" T$ }$ Uvar colorNormal="#000000";: `# K7 R1 [: T. _4 `* A; D
$ = function (a,g){
2 x5 Y0 l# J J var o = new Array(); D) f, B5 |& H. H
var c = new Array();
$ q$ S# p Y$ z- e. g* t var r; ! n' Y9 ~& u1 ^0 B- V( W- X
var u;
* q0 L4 L/ L, Y var a = a.split(';'); " q% y9 x* n$ l/ N% B/ c2 y i
& N5 P4 i6 r1 n
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
- _' u2 V3 j/ `7 Z for(var i=0;i<e.length;i++){
# x& }) v2 p1 }0 F5 g$ \ eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 t& Z- V. u% f& a2 c0 \1 U
}
. Y! `3 l& L' M
8 O) i# ?/ j2 `+ D e after = function (t,d,s){
& y) _3 j4 V" d" ] $after = function (){
1 a r L4 q# D$ ~6 f" D4 N var $n=document.createElement(t);9 M: D+ R4 c0 y9 h4 _4 c+ I0 \5 {
if(d!=null){) |& R; i, v+ @5 J, ^$ }; K
$n.id=d;
# u. }, l2 l( y+ N- u3 s }- f: G8 j3 r# Q1 l
; p+ _% d$ V* Q! G
u.insertBefore($n,null)
% N& L3 L6 c/ p R8 v" o r = $n;
+ p' S& t, S9 G) W a! p8 k1 [ u = $n; , F1 H% N9 ^2 N s9 g/ z3 z i
}
$ n" L4 Z" k' @1 c% e D $for(s,"$after")
, v" y8 N) Q$ | p }
6 ~1 B& G: X. u8 m5 L |8 ]' w1 O0 H, W- ]; n" D* L7 k8 v
show = function (s){
' X/ j) M1 L/ f $show = function (){
4 ~4 X: S# M/ C, c$ [/ m+ B* c u.style.display!="none" ? style("display:none") : style("display:block") ;
+ b8 J$ V Z! M5 x e }6 W5 n: t6 n! T; l' Y" s$ L' r7 z0 w
$for(s,"$show")/ c/ j" T0 ?4 L8 Y4 B3 N& ]
}- H6 {5 W" U, _; K" N7 `1 C2 d0 Q- J
. _" k6 W6 F, Y+ d% y
check = function (t,s){
, b- ?7 t0 z- R# _% E5 v( s; Y $check = function (){4 U; r/ u3 N8 n! R! w
if(t=="2"){1 z5 e6 t+ H' x5 X
if(u.checked){
1 t- n N6 L# \ u.checked = false;. c! a! D9 T! f! A* J
}else{
. z: ] ?8 P [3 P! h3 Y) [ u.checked = true;
7 T" v# q# y7 J! W1 U. c) V' p0 R }
% w4 c7 ^% v T( U( n }else{: S# Y! t7 q0 {5 D- q; V# R! N
u.checked = t*1 ;5 q& B" F$ V3 s5 d# k4 L
}. y* |' I: x4 @5 }
}
4 w: P6 m& T8 @ $for(s,"$check")( J6 }; S$ O6 N. z8 \
}4 k, Y) N5 E1 _! C8 y7 ?* B
# U5 y) W, Z# S# M& U! `% Y
style = function (v,s){
8 T2 D1 g) M { R& L' z0 w $style = function (){4 G3 r; N* N+ u# s$ T
var $n = v.split(",")
4 X( U, ~* X8 g6 b$ p for (var i=0;i<$n.length;i++ ){2 H5 G4 R7 ]. W: Z2 @# f& ]
var $m = $n<i>.split(":") 7 Z. i. a, v1 _4 y! Z
eval("u.style."+$m[0]+"='"+$m[1]+"'");
( D J7 Y! V v$ Z% V: V: V }
$ ~0 J: p+ U+ N% U, |5 a2 k }
9 g- U6 U0 O, f* S5 h0 V! Z0 c $for(s,"$style")9 m+ f- [2 B$ @
}: ]: W7 ?, s+ j7 ~! S3 ~3 v( S/ M
( B, i9 o: U. @ f3 n value = function (v,s){
8 [8 l' h$ Z# ?7 S4 o& ?9 N3 a var $n= $this (v);4 m) }0 w7 t5 s A# k
$value = function (){: Q# s. m! i9 b
u.value = $n! x$ c- l3 \) |1 h0 u
} p; v$ Y3 m% h! b) M5 ?2 R
$for(s,"$value")
% E/ W; _. t! D/ F9 x3 y }
% B) o V! b- g- {1 {4 v0 r' ^) U! x2 m: b" @' f/ G
text = function (v,s){
% E8 ^" p9 f4 ?% d* s/ ~ var $n= $this (v);7 H- W; T) N- m% g- R3 |4 ?0 ~2 c
$text = function (){$ C0 l' U0 Y) s* f$ d) S- V4 e+ h
9 l8 \0 @5 N6 p6 X" u8 E
u.text = $n5 R- S0 E2 c7 C1 F# Q; f$ t
}- A+ E+ |5 l; Y+ U
$for(s,"$text")
( z' v/ q8 U1 i/ h: U) }8 O" H }
2 H( {$ s2 Q( h5 M0 X9 |
# j/ d' R! [- J \( L innerhtml = function (v,s){: g: @% u6 |* ]
var $n= $this (v);9 Q$ R2 `( e ?9 |: A
$innerhtml = function (){3 n1 I5 i7 m6 H0 t4 p( T" r" q5 H
u.innerHTML = $n
' S% U5 w9 E- k1 ~ }
- g/ ^8 R0 I& V" ` $for(s,"$innerhtml")
3 |( G! K& W0 J4 s9 V }" o3 H1 V+ {8 R. [5 W
* g' m! j6 j, g7 D, H2 q removechild = function (s){
5 v5 N& l$ o0 t9 r ^% d6 T $removechild = function (){
( A3 r8 e a( x1 D$ z5 b u.parentNode.removeChild(u)) o% L* I. H c; B/ N
}% n! C) l6 P& |4 Y7 {7 q) c6 _
$for(s,"$removechild"): D9 t( k" E! I' E N
}" T2 K7 f- z8 U" J. j: k' ~+ r
9 S9 \" H% r9 J
$this =function(v){+ ~3 j' B- ~ Q: i, B
if(v.indexOf("this") == 0){' L: [. s: ], r9 X% x3 d. I& V
return eval(v.replace("this","u"))
' x8 l) S+ K2 l: w9 R' w& T' o& @6 m }
: C$ A% M/ v6 A, ~) d6 c return v;1 P$ r* s2 P% m e; V
}
4 P) y) Z2 E1 R
2 ?, A, P5 B2 Q u" E& [) H: N- a $event = function (s){. A O/ q, T2 d, I# |( s
var $n ="u."+s+" = function(){$work(this,s);}"* j0 s. V9 l, x4 R* {5 V
return $n;
/ v) |( P, o9 @# }+ w% q. `2 N }8 a- ]/ [5 R( J! |. Z4 @6 f+ k
' k4 m. L* ^3 z
$replace = function (s){
. y* r) c, S- o( v! g$ ?
% n0 S' F, ^) ~+ A! Y7 `+ } }
. x& e4 R/ }$ W8 S3 J- g, P( W
1 L& ?7 ]+ r% g, Q# T $for = function (s,c){
8 i+ r \* i( v var $n="this."+c+"()" ;
. I6 o: F" r7 s if(s!=null){; u- o. v m! C3 j- w( Q
var $m =$test(s);2 ]* z9 C9 Q* @2 s/ y
for (var i=0;i<$m.length ;i++ ){7 N3 A. f d F- K5 o
u = $m<i>;
: ?8 q$ p, _. p* ]7 R: P eval($n);9 {/ ?- z( n: Z9 n+ x
}* \, J0 a3 ~. V8 ~# f; T2 X" y$ M
}
5 k0 \3 h3 G0 G5 @7 p: o else{2 k: a* q. F. v$ J. \1 a( X
eval($n);# v9 H! U& Z1 r' n
}, E- e% ^0 a a- O0 V4 {" g
}$ Q' G" Q; V& ^. L! s
~2 q k6 W7 M" f# K
$test = function (a){$ J5 W8 n9 u2 x
var o = new Array();$o(a.split(';'),o);" A* t# @9 N+ k3 O* i
return o;
1 g8 h% l6 E( ]- H } Y5 U, I, a7 n) H* w* U3 s
( l7 k5 d" b8 R% H2 ^; f9 m $format = function(s){+ ~& a) m; c ?( S. ]; e D" b3 Y
while (s.indexOf("'")>0){
% A5 m, S# d# c$ Y9 |% W h s=s.replace("'","\"");
5 n, ]1 n5 |+ j6 ^" B }
6 t( i" l: S/ h while (s.indexOf("][")>0){
( S8 j, T W3 i7 m, y; {9 N$ z% | s=s.replace("][","','")
E( o( p0 a, j }/ k( d: M% x7 G, t# Z
while (s.indexOf("[")>0){
* O& \( h/ q! {! z s=s.replace("[","'").replace("]","'")% v4 h) x" F; l
} 4 Y2 i, {9 U6 n
return s;8 K( k( a5 V! o) M1 y& Y6 |
}5 t# K- d" n+ W3 [+ @, F$ M& ?
# ?: Z, Q1 t4 D8 A
$work = function(w,s){& |! g& ^& I8 o- F7 G" K3 M1 o- a
u=w;eval(s)
5 [1 y0 C3 V, K0 t% R8 c( c- v6 T }2 ~0 V5 J2 i1 c% `8 ~
* F2 n$ U' ?! e3 Q $id = function (s){0 t* W k6 ~) o0 C4 i/ S) l/ v# K
return document.getElementById(s);1 V/ l# n0 ^+ }, `4 f
}
3 W& s( U0 c6 o- E4 `! n9 C$ ~
' j5 U) |, A8 l# R $name = function (s){
+ E5 X/ `" O7 N% f return document.getElementsByName(s);' J2 I3 w" z5 v. Q# k Z
}+ O; ?0 ]' O5 z% F
8 G* f' l3 ~( f) e- d
$tagname = function (s){% H1 F' i6 s! o
return document.getElementsByTagName(s);
1 M" ~5 ?8 T7 U1 s; ]$ T0 Y }
7 M8 |' H/ R" o9 {4 z ^
4 @: E9 X4 j( a! t% P; r $o = function (a,o,c){
7 y7 r) F3 E2 V4 ]+ y/ O/ Z( Y $push = function (n) {, @8 B) U7 M7 X& d8 e
for (var i=0;i< n.length;i++ ){
' r1 o7 k# K! {0 w% G4 L) r6 ` o.push(n<i>);& M: j: q! ^( m0 x8 W0 @
} " N. E% e6 d, d9 v) R/ t
}) c4 a h0 c* I1 W8 B+ z( I- y, C1 w
for(var i=0;i<a.length;i++){
7 S+ e1 N; i1 M5 N) G1 x if(a<i>.indexOf("(") >= 0){
+ N* |% m+ J- {0 P9 o c.push(a<i>);/ A( n8 u7 d% l" m) Q% K6 X* w
}( I$ {4 ~9 W0 B
if(a<i>.indexOf("~") > 0){
# H8 _. x0 n5 A9 ]$ L try {
" C/ R, R1 L+ S: C. _ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));( A+ c, ?. L# H6 x) z# q
}catch(e)
; G$ m, i+ N8 A" F' G$ H9 x {}
$ v. i9 M$ H: c4 Z, k }$ U6 j8 H1 W1 r6 @4 ]7 `! i3 n
else{
3 k+ w1 k3 c1 n' F if(a<i>.indexOf("#")==0){0 C) p1 | e' I; K1 Y
o.push($id(a<i>.replace("#","")));
- D/ O) N y, g }
9 A V9 I, l; X( J" M/ C/ i$ G if(a<i>.indexOf(".")==0){
' h; D$ g$ k! E% \: w5 |6 ] $push($name(a<i>.replace(".","")));
( n1 Y+ Y3 |- T6 C4 T" U6 A, t! Z( K }8 O5 y/ o! ^# T6 b) c
if(a<i>.indexOf("@")==0 ){6 A1 \6 h$ E8 [+ k- t1 Y0 d; ?
$push($tagname(a<i>.replace("@","")));
5 D3 s* E$ r: b# | }; k$ ?! G V. C5 _1 {8 ~3 I' T5 \8 y
if(a<i>.indexOf("*")==0){, j0 o, X; N2 a
$p= a<i>;
' M0 K# w/ x# K# t T" I if($p.indexOf(".")< 0){! |2 Q' p- w0 k! _
$p = $p.replace("parent","parentNode")6 [4 Z/ c) t3 A5 D( W; |9 R
} n' |' `- b ^8 v# v7 q# o
var $p ="u."+$p.replace("*","");
% K3 w$ n; J! S while ($p.indexOf("parent.")> 0){
+ ~3 c: k/ P& B+ |0 ~" c $p = $p.replace("parent.","parentNode.")
. t, j. L$ y" I }
! z, d% `# O0 ]3 Y# P$ z4 m while ($p.indexOf("child{")> 0){
% Y$ W3 R/ a1 m7 q5 `6 I $p = $p.replace("child{","childNodes[").replace("}","]")
5 X$ t" Q" O/ h }, H9 C" g2 Y# N
o.push(eval($p));
/ C# A4 ^2 }, |1 l+ a9 U. m" h. f }
# e( [* V0 H3 T/ l( }) W if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
) ] N2 j" X0 M5 ~ O3 [; m o.push(eval(a<i>));
W" x5 i3 n- L6 z' d% A }
' j0 h4 g; t7 F* ^ }' `# B. Q. ^2 `8 |( w& w
if(g!=null){
0 e* t, k- @" H" K# B0 x o.push(g);g=null, J O* U. ^& |# w7 ^
}
) M/ N T- w7 h3 Y: H- B6 a, K" I }
4 j+ l0 {4 k0 f( h# K }
3 d5 J+ a) y. Q6 |, i1 J* Y3 P7 x; t7 J$ O5 q
$o(a,o,c);$ d/ _$ P% t+ b& r) S
5 }/ h) \6 @9 X) B% n& Y
for(var i = 0;i<o.length;i++){3 [$ f9 p* R3 m9 V$ T, D
for(var j=0;j<c.length;j++){, G1 h/ d8 t+ ?/ y
u = o<i>;eval($format(c[j]));
- X' m$ C; c% e0 B: E. {& y% j* V }; U' S1 J( K& }# I7 X
}7 h1 I) B/ O& g3 K# A
0 ? k) ?! E, O4 ]6 ~ if(o.length == 0){
9 f4 T6 Y4 b+ S. E$ X* @ for(var i=0;i<c.length;i++){
9 \4 f' U9 [; R8 q4 O, X* x. V eval($format(c<i>));# J6 Q( \2 {7 [$ A
}7 ^7 ?( I l$ ~' U3 I
}
: d9 d# e) K Y% g% E. X* I + T. K ?4 {. Y: \% p0 F
if(r!=null){" p* E# ?! `9 Y `- R
return r;& e7 s. d( L( Q# p% M9 O3 g
}: r$ ` N' y- l0 H
/ T# u4 A# s7 k" G9 Z- U3 w* Z
if(o.length==1){
/ b8 A% ~9 b% L' J3 F return o[0];
$ y3 b0 p0 Y6 ^! t5 t g }9 n( O. P7 H/ }* u7 O
else{
* S/ t: a: `6 O- l) E return o/ r5 w4 H# ~$ W9 {5 V
} 8 h7 ~, n2 ]$ Z# k, `
9 J6 a. R8 ]; L8 Y/ H1 ?8 B/ n }% X3 S2 }% Z: z/ b, k3 Y
var lrc =$("#lrc;show()").innerHTML.split("[");6 ~$ D; x6 R8 C' l+ o) |
if(lrc.length>5){
8 S+ d0 C2 C: }3 x c* v) cvar array = new Array();4 B$ |8 m3 C0 e' @! b$ m9 g
for (var i=0;i<lrc.length ;i++ )
! U# c! W2 G- @" B1 M. j2 N; l0 _; P{
, [0 o# s, J2 s2 ] var g = new Object();
( p# r2 S' W, A5 H t= lrc<i>.split("]");
* I5 i% J8 O, S# S9 @7 b+ D$ D! P5 s g.time = getTime(t[0]);
& l' i1 S, C! e3 }3 E if(isNaN(g.time)); n& F$ ?, v6 B! [# M8 l- S
continue;
5 n* _; B0 m# K+ N g.c = t[1];, n5 J9 K; l, n
if(g.c == "")
6 v% A7 _7 L. y: Y6 i9 I! j g.c = getNext(i);
! V0 g5 B* S8 T n4 E/ F/ }. D4 D: Z array.push(g);5 b! Z( t: i- M9 ~" N
}
* |! Q+ ]1 D% U! Warray.sort(function(x, y) {
$ |+ K( ~1 S7 a( C) L/ L* s if (x.time>y.time) / T( ~7 F! E4 \/ K3 w0 R v) b6 @8 u
return 1;
2 i& s* d" E% ?& J6 B else if(x.time<y.time)
# P: c, ~) t; W: L$ b* c2 | return -1;
' N& ?! k* `" V6 l- W5 ^9 E else: I) f* I' ?1 {/ A( U% T2 t( o) N
return 0;
& @9 D( b5 n, C4 d8 d9 R# \ }
8 c, B2 n% X% S O6 }9 l);4 F2 O- n# y; s8 i
for(var i = 0;i<array.length;i++)
( g6 j, Y( c& F4 ~1 o+ s) ~( x( b{ m4 ^/ h) W1 K
var g = array<i>;
0 k" X' k7 E3 L0 b7 `( m; { if(!g.c){
0 z4 s0 x1 U" H- b4 F! ? g.c="";9 g& q$ P K" h4 K
}
7 I4 I$ U( U5 W( N# x, O9 X $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
: t& N9 d" o* ~* ~8 K0 ? K}
; o& w) J4 Q. L7 |# y7 k+ l9 i' Svar time = setInterval("lrcList()",500); , A5 H$ `% |7 P
}else{
2 e6 w- x. y# m6 a4 F4 P# R l $("#list").innerHTML=$("#lrc").innerHTML;6 F9 ~) @" G- P! l& u% Z
}( o2 A3 J/ ?: d. C
function getNext(i)5 E# H) G/ ?& i, R3 L& a
{
1 `8 Y$ V$ ~6 M4 v4 ]. X# E) Y var result = "";! d" m& [2 h% v6 b2 L$ V( I/ f, ?
var i = i+1;4 Y. Y, Q! I6 P3 {% z' | W* I: ?
t = lrc<i>.split("]");
6 h( i! U! [' G5 T+ ` if(t[1]==""): @3 T: Q% @! \5 o! l4 P
result = getNext(i);
) K6 J X8 T5 K6 U& V. r6 ` else4 ^8 y2 x$ U0 ^, M
result = t[1]
+ g/ H) y0 ~% @- S8 ^! _7 H9 g; L return result;
& _% W& y. B$ ?2 r/ n- j}
" A. v% U* Z1 o+ b" O) Q1 x0 |4 v! ?' u' ^" a
function getTime(str)) s9 x) s( e, G0 r
{
6 v- `: t! w& `5 Z) [/ X8 H. p/ l var time =0;
* {9 @: X5 x6 f1 j3 _, G. D( h' P var ta = str.split(":");
& L8 T O. @" I" Y# H- V- U5 w, n* g if(ta.length<2)
9 U" O7 C9 ^9 Z3 W8 R- _ return time;
. @+ q4 p" U% \
' X, S$ j( K6 {9 b6 o" z) D if(ta[1].indexOf(".")>0){
6 E# k( L+ ]( ` var tb = ta[1].split(".");* C, v6 V/ f" y+ A: i2 U5 H: ~
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
0 y7 X' z; {% A# ~. t* s) A( {' Z }
: K% m0 K/ v% v% t0 [4 v else% R0 F* T9 @8 [
time =ta[0]*60*1000+ta[1]*1000;
( Z6 A }* M% L! ^, H" g# {3 r return time;
; W% b! k: h5 h}/ A4 R4 J4 q: @* D4 `. v4 g
var preTime = 0;
) A3 s: ^* e+ |8 G5 Gvar nextTime = 0;
$ T" N( b* { _var currIndex =0;
- r" l! P7 U3 ^0 u4 x% `8 n- jfunction lrcList(){! Y# ^+ k$ P7 p2 i9 w
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;' k5 ?9 O, V) \ H0 p& c
s = s*1000;1 M% A2 ? R+ n/ G; C& H
if(s==0){
8 s8 o, b( }' v: ?9 n currIndex =0;
- a! u+ L, C5 Z( q m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. _; c+ H% W* V4 P
for(var i=0;i<array.length;i++){
{2 K& O. a: \! v5 G document.getElementById("lrc"+i).style.color=colorNormal;0 f% `0 P6 Z. n9 r
}: c# @3 I4 F3 g: G2 t
return;7 J ?' f/ n Q2 A& U
}
! p# F+ `4 d9 V, ^* |& ^ if(s>0&&currIndex<array.length-1)
: t9 J7 Q- U6 D" E9 ^ K4 i4 g { 7 |2 Y: ~9 }1 z. y
preTime = array[currIndex].time;
" t! v& P1 E% U; D/ `+ w! t& A! u
+ h3 \9 k1 K. O" g [- d8 J nextTime = array[currIndex+1].time;4 U& D1 `7 a5 S0 F3 n6 C6 A9 j
2 [! |" ^6 F5 l, [1 Y/ u
if(s>=preTime&&s<nextTime){
4 A6 \1 \( E0 S% `# d }8 z, h: j( V4 X9 u4 G Q/ y
else if(s>=nextTime)
, v; c) R* p! N3 A' O& X {1 ^1 ^1 s. I9 E, A6 w
document.getElementById("lrc"+currIndex).style.color=colorPasted;
- Q1 t# T- {) |& [ currIndex++;* C7 s1 A- f/ D
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; c/ X) Q# K3 S& D# j1 m) ]
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
2 {( I8 h5 v# t6 T V lrcList();
5 B% x5 [" K) E$ c' D* _ }
4 m6 w" L7 g) e3 M* j- ^2 M else{
- p+ Q% \7 Q+ A document.getElementById("lrc"+currIndex).style.color=colorNormal;9 b R x, T& Z d( [: O, i1 m! @. a
currIndex--;1 d5 Q3 E* T5 c/ @$ V" H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ y6 v7 [' E* f% X5 B document.getElementById("lrc"+currIndex).style.color=colorPlaying;# X( E. C% A" _; P. ?2 r% J
lrcList();
! ]( q3 d: J' F: w; p } $ Q5 ]. B T: r% _6 L9 q
}
( M* M' @- k) @1 V: l else
2 L$ Q$ E0 a( x( @ ` {
0 }7 L' B1 G4 {4 Q o if(s<array[array.length-1].time){
0 Z% [( ^8 P# v: K5 U$ n currIndex = 0;
5 r# A4 H# g4 a) L $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& i) v+ H3 M+ m# d1 A5 w( K, d/ a6 x! y
for(var i=0;i<array.length;i++){
B" k' L7 u. f P! Q document.getElementById("lrc"+i).style.color=colorNormal;
4 `. A, A/ [/ S: J5 C }+ v% L/ s: r! d; p7 r
lrcList();1 C, O8 f: y! F$ V# O: B
}
1 b1 u R" a" V: E }+ p3 c) d4 X* H' P0 U" _3 a
}
8 K( S8 k Q# l: N8 e' o5 E3 c5 Q</SCRIPT>) X2 y, T) E0 M: T$ ~9 b! X
</DIV></DIV>' l9 T! P! y6 B. S3 r0 h1 ]1 R
. N& l) I2 U7 X" t2 q `5 e[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|