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