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