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