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