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