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