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