|
|
<DIV id=list>
0 D: }7 k7 u/ M' ]/ h<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
% C# I# Q8 F% X3 ]" j0 |<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
( a* }" }/ f |; I" m9 _<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>$ `! Q' C9 g# f, n8 J) s
<DIV id=lrc3 style="COLOR: #666666"></DIV>
3 d6 W% W7 ?' E, L<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>% u9 J8 b* @' [- { ^9 F
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
+ D& i: t e1 j% V+ G) B<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>) u& m, k, }8 c E- B6 x
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>- e. |% X6 T3 y6 R3 R* e4 |& d0 h2 ?
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
5 n# J& I5 {5 U4 I; X' [, [ n<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>+ U1 r& i: a1 j6 q& Z
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>8 j6 d: }: f& f) S
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
% P5 o B& i% i<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>1 i' J3 W% u7 d" s/ T
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
7 v! v) f( K! [% y- C. e4 `<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
! R* z5 h# B6 n0 Z+ f& H<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
" t7 C( C: Y/ c% |<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>* h7 y- @6 P2 v. V( Q
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>* c3 j& R7 q0 C5 [
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>- c b. B/ |. [: l" Q
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
4 H }: b ~- a! `: a<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
1 z3 n. p- m$ T1 F/ V7 @<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>: Y8 }8 F- l6 [
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV># s: _# a% C9 O0 G6 g, k
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
+ G5 M: `+ }4 L7 \, @8 G<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>/ A; B9 a: z* ~9 Z# q/ q/ B/ P
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
7 e& h- X: i8 w J# L3 e5 f<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>2 X/ j: x; Y! r0 |
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
( ]" o+ f4 i' \9 X<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>9 [: W- p2 n, ^
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>! L; T, S8 e$ W2 ]( }
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>0 \. t2 X( u' j: u. ^
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 \) A: O2 O0 n
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
_; I" e3 n9 W; J1 u<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>& P! ]# ?/ Y7 S' t7 l. C, g& L b
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>+ Y; F# t2 a) y# r: [
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>% C6 a7 O! a7 t
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>( R9 V( [- @8 N- w; t5 Y, A* |
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
; X/ P% n# T b% G<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>3 {2 O& D* i7 l* {6 F+ Z5 z
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>; [: r9 j1 Q! E
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
' K) x+ i7 V, n; |" {<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>! ^0 [( y( I u! d
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>2 Y; R2 y6 _5 P; N- p
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>+ f1 O u9 m2 Y! y1 O4 V' D4 g1 ]4 J
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>. D9 Q) Q* ^7 y' w s
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>) ?8 f ^3 u% E/ v( E: |
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># X3 v* [( Z: R( {
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
7 G* D, h- y! T! O% ]; b% h<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>% E$ u# n- g j; ^- n( w, P
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
" X$ r- V( g$ P. n; r<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
! z+ M# q- K( S( j<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>4 y5 ]. o9 |7 e* |# _" v* u
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
; z7 H% O; [3 l8 z<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 2 O& O; M8 G7 W ?
<DIV id=lrc style="DISPLAY: none"></DIV>* V2 B* \! g! f: [2 w
<SCRIPT type=text/javascript>
/ y4 s$ [2 C( hdocument.domain="1ting.com";
# j& p: l V. o, w' B+ h$ Xvar colorPasted="#666666";
0 w* O z+ u% q# i1 r [var colorPlaying="#ff3300";1 V, p; Y& H0 I. d
var colorNormal="#000000";* t1 S' ?, { A" [% D% N: [& F
$ = function (a,g){
& V* S$ y/ @9 o var o = new Array();
8 E; m. S' |7 E4 ` var c = new Array();
. l9 w) a: Y6 P* F+ y- A var r;
" x9 M8 V5 s7 Q4 W, o$ H# l var u; 9 V+ _! A- @5 j8 e _
var a = a.split(';'); % N& E$ [) _ P4 x5 Q
/ r' U0 m+ S3 U9 t- \+ B, g var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");, J& l6 t7 V9 p- [4 V
for(var i=0;i<e.length;i++){
" v7 d+ w' v m8 N eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 q! s* `* d- p0 x9 \, w }; T( d/ c/ s0 B2 R. a2 B; _9 q: r+ F
4 U' q2 x& A% m& ] [ after = function (t,d,s){) g3 x- r+ }, M' L3 g* W0 ^4 L! I
$after = function (){
6 y0 s5 i* P! P3 r; | var $n=document.createElement(t);6 E$ _3 C# ~( k1 u
if(d!=null){
% C/ ]" y) t2 z" \5 ? $n.id=d;
' j) Y# D: \6 C2 ~( d6 p* k) | }
6 [. i. Q& V: q/ N% q0 E4 T: u( u 2 n8 n2 ]; y" f! a
u.insertBefore($n,null)
$ d4 I* N g# _6 x4 X r = $n;
2 h7 h3 R; Z3 f# [7 [! D u = $n; ; S% {6 t: r1 o) j5 c
}
+ z. N3 A( o5 f9 ?* G $for(s,"$after")' Z+ ^1 T' c( ~6 p$ p9 ^% I
}
8 l# I" p e/ F& j8 F/ P
0 [, y8 j) `- X- | show = function (s){1 k4 x6 G( m0 E8 k/ M! S- y
$show = function (){
- X, r5 b$ c! a u.style.display!="none" ? style("display:none") : style("display:block") ;
1 v1 h- Q2 O, y9 W2 k7 p4 \ }
3 G7 h( K& D" \: _# T% H $for(s,"$show")1 f! N8 Z. i }+ N
}- A& k* Z( k/ O7 \
, F1 `4 }& }& G' H
check = function (t,s){( l9 l* T% n6 T7 B( g7 Q, A
$check = function (){. ^2 Y+ R: k! t! E( [7 y6 t! E2 ?. N
if(t=="2"){ [/ p0 m% D) E/ D0 h: P
if(u.checked){" J! N/ M6 C7 t* d
u.checked = false;
$ h+ S8 [/ |" y- z8 [5 ?) y& _ }else{$ j1 k5 B( O. ]5 a
u.checked = true;, _# n% ^0 @9 A7 n% n& o/ I! w. [2 M
}9 T, d/ m7 A7 f2 p5 n# }( {$ f* g
}else{; B# D3 ]; U; r3 V6 t& V4 I6 r
u.checked = t*1 ; M& _& R& {1 K( s( V1 x
}
: ~- I9 I0 W M( p$ g+ C' Y& g }/ [# B# G' d' I' ~% {' b- R5 C
$for(s,"$check")- C( `) I" i8 |1 g- E
}" c) I9 ~& E% Q' | D
+ B! a2 E. T5 X" g style = function (v,s){, p# Q9 \1 R( M5 @: i5 @# U
$style = function (){/ ]0 Z% V( P$ G3 o( {2 g0 X
var $n = v.split(",")
6 r9 {; S$ s- G z for (var i=0;i<$n.length;i++ ){
+ B% `3 E1 Z' F: D6 V: L var $m = $n<i>.split(":") 3 ?; ^; ]8 x1 P" d/ o+ n9 v
eval("u.style."+$m[0]+"='"+$m[1]+"'");( N1 k/ G! s3 r
}4 P3 ^; Z# ]* ?9 Y _# U
}
4 o5 b9 l$ A( {8 x $for(s,"$style")
5 q, F5 N6 x: S* Q4 d$ z2 H } I I, {& `- ^8 ]( b& b
6 C* z) E* o' T! [% N; y value = function (v,s){: d& ~2 S4 o; f+ u" n; A
var $n= $this (v);
! d# ]2 Y' d# B7 A" ]; c! m5 n& H $value = function (){
- q l* ?1 u9 W( w5 ` u.value = $n6 o* V- ~7 h1 N: S# z
}
- e) P' ^% f- m: N $for(s,"$value")
4 d) ?- R! z! O a1 r }3 v* y/ @) T8 k( F: V+ i7 O
^+ W/ r- Q. v! H( k
text = function (v,s){: `: d" w5 @2 q+ `% o
var $n= $this (v);( y3 \7 z# u# b( e, e- G) w' N$ J
$text = function (){1 G- Y: U3 }- u$ k6 ?! H/ l
4 C. K0 u' W+ J. d* b+ ?
u.text = $n
* G- j" _5 ?5 W9 M }5 S' f$ b0 e3 s$ [3 J- q% ?" b
$for(s,"$text")
2 ]" l; x$ j' x n1 P' V3 I }$ r0 i* w, x/ j# ?% n: k, ^
1 }. L$ X" L7 Q5 X, i0 F& p* d innerhtml = function (v,s){
" D; V* E5 L" y var $n= $this (v);
' E6 h2 C+ J. A0 n; w0 J $innerhtml = function (){
5 L9 N9 \! ?3 S& ^+ G0 ?( Y u.innerHTML = $n) V( J# h5 R/ x& y
}) E, a9 v5 b, l* H# }# B+ z+ E
$for(s,"$innerhtml")
& C" r( U& u* C. c* J- E' c7 V }; g+ ^, G' `; ~) u* R; |! L/ q
9 T) P) j3 z9 x$ Y2 w3 a* \! q removechild = function (s){1 B9 u# y% u3 Y' j' S v, [2 C
$removechild = function (){
8 U2 q8 u' |/ e+ N. o" G% s u.parentNode.removeChild(u)
; v$ K7 O) Q/ D2 h6 H7 J0 M1 Q }0 ]6 H) g7 b! C5 \) j' t* r$ p
$for(s,"$removechild")# \2 k& r/ K3 B1 A( z; K! Q: x; v! M, c
}1 g" g& j! ], O2 ~
6 b \5 E$ C# d6 l+ z
$this =function(v){
' Z$ l. E/ r- _8 x+ d& m6 ?8 w if(v.indexOf("this") == 0){
$ v8 v. S! d, p* S5 _2 O" j return eval(v.replace("this","u"))
, _! N! L6 W; Y3 c6 B8 y }
' U3 }. R$ E8 S- C* k) } return v;
* Q1 x- q: Q% @) C7 v. F: S }2 T9 I8 k6 ?* }
1 A9 e* L4 g5 F5 B! \5 I* q $event = function (s){, V/ N, B0 l8 ~& b3 ]
var $n ="u."+s+" = function(){$work(this,s);}"" ~/ ^$ Q7 M: b8 q
return $n;
6 m0 F; s' E" U5 w7 K, ~ }9 v. e s" p! P. d
& K/ S/ e3 m! k4 ~" N; b
$replace = function (s){
3 s( I5 s8 F$ p7 A2 k, y5 f' l
5 w9 u7 ^6 F# S3 _ }
+ n. t) _: w1 u% u: D6 J1 G0 D( C8 }1 f$ E; J( w
$for = function (s,c){
4 m, {0 s Y6 f4 J var $n="this."+c+"()" ;1 s. A$ ^: L% ~+ y! M. [1 `
if(s!=null){, x/ `$ \1 `0 e H/ I
var $m =$test(s);/ r! Q# |3 H' j1 y5 `0 n+ a# f, q
for (var i=0;i<$m.length ;i++ ){
5 j& ]8 @# q1 ^) r$ M# A u = $m<i>;
) n: T. `$ f4 w4 G) b eval($n);
' \( l+ U! Q* ^- P2 \+ u( E2 ~ }
) n. m; J2 @! _; c2 Z& L. f }& _+ U U# j9 O
else{
0 K7 T* D7 n/ P eval($n);, H+ a3 d8 k' q$ S: K- s( }% i
}
7 P2 X" ]! M) `% Q1 ^ }" Z1 @0 e! a, l8 V1 ^) @
6 a" d# p1 L# D: g) {! c
$test = function (a){8 Y( i2 t+ \+ h% I/ x
var o = new Array();$o(a.split(';'),o);% Z ]3 | _1 u: J0 H
return o;
6 E, s% w/ ^5 o# j }
( s8 h( f% s9 W/ X8 D2 q7 `3 }" [0 z' C6 |7 J; h$ E T0 E& r
$format = function(s){( K2 H j5 I1 _: m/ Z6 t4 K
while (s.indexOf("'")>0){3 K j4 H: P" c1 _" ]7 ?5 H
s=s.replace("'","\"");% C/ m( l1 _' X8 O
}4 _8 }2 { M+ W
while (s.indexOf("][")>0){% B3 E7 n7 Q$ J/ Q6 f: a5 m
s=s.replace("][","','")3 D$ J& f* @& W3 k- }" s3 N; l. U
}9 q% b* w' Q4 _. x7 P* T, z
while (s.indexOf("[")>0){# k0 ], _) q- F" y$ h6 C+ D- `8 s9 F+ [
s=s.replace("[","'").replace("]","'")
?6 e" {+ X8 a } % [+ ~& W# C; n9 J. u+ L: K3 I# `7 }
return s;& j0 r% A9 |' @3 M! w
}
. r) O" C! i8 L* c; p0 _! F, b. ?
$work = function(w,s){
; L5 y4 W% [! A8 J u=w;eval(s)9 C7 R& s0 M# Y6 s [: L f- p
}
1 z. z) {! O: q/ a: p' N# {) L) o/ s+ r5 C0 A/ q2 G: _5 F# a
$id = function (s){5 o& |) [4 }! ~, u( M
return document.getElementById(s);
4 Z; g) l* _ e7 \2 C* B }
% ?2 b/ s* k, S1 `# n
, `& X# H3 \7 l $name = function (s){* g% ^1 w; @- i, B, C
return document.getElementsByName(s);- b( {; i; o1 E1 q' Y" I! s) a' ]
}
- M- z: C% W# T7 G9 d5 A2 p2 I6 e2 h+ ?8 @' z# r, [* q/ _4 p
$tagname = function (s){% E8 i0 Q8 p6 f
return document.getElementsByTagName(s);
7 g" f& u. S/ J, @2 l }
3 h5 O K* I8 Q# C+ M) q9 a# \. L I) `, g# s
$o = function (a,o,c){
/ [0 n6 G7 ]6 X5 z) ]- Q $push = function (n) {: _. T% E, }/ ^* [, w0 c$ }
for (var i=0;i< n.length;i++ ){
# i0 b) `/ g5 f. `) B$ N o.push(n<i>);- C! H* u5 ^, Z: r8 y/ t
}
( K5 {; @; v0 G8 [ }" I) B) H1 S( `: \& D) c+ r
for(var i=0;i<a.length;i++){
( ]" k5 L8 u8 k2 h4 @' @9 @+ j if(a<i>.indexOf("(") >= 0){
+ w R6 K1 t* {$ G( |; | c.push(a<i>);
9 W$ u% l: `4 y8 B0 y }3 O# H7 B; M7 e- u) S
if(a<i>.indexOf("~") > 0){9 T9 y3 Y% P I) L. Z) w" P" j
try {# G) }' s; Q; C/ G6 k5 \
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
- g0 N2 i T& M4 ]( }- }8 H }catch(e)/ ]& E, g, |* O6 J7 b
{}
# {7 X$ F8 W; u6 E2 G8 f" j }
- w4 r9 j) X) {. a" L8 Y else{
# y$ X. E5 z+ _2 M1 n& ~" U if(a<i>.indexOf("#")==0){
" V, I5 [( A) s; [ o.push($id(a<i>.replace("#","")));
: Q. [- k& v/ g4 w, C7 O }
& q6 |& i3 d& S: {/ b2 Q if(a<i>.indexOf(".")==0){
* d' K/ E' g/ Y( V% Y $push($name(a<i>.replace(".","")));2 K, f: Z- m7 \% i. e
}
6 `5 p' }+ u8 \& X1 D: k if(a<i>.indexOf("@")==0 ){% O! X& N$ y% Y$ q. {
$push($tagname(a<i>.replace("@","")));
' G y/ S6 u/ K }9 a; F2 H& Z2 d
if(a<i>.indexOf("*")==0){8 H* v1 v- g# P$ c
$p= a<i>;
5 W. @6 f7 g# ^4 @: B if($p.indexOf(".")< 0){, z: b0 i4 @" N* D) H
$p = $p.replace("parent","parentNode")% h' u9 g) m- E, F4 C
}
3 U- C" Y' D# ]/ D var $p ="u."+$p.replace("*","");
3 E/ s8 {+ W# G' E) o4 j, x# ` while ($p.indexOf("parent.")> 0){
$ O% l3 _9 S5 _; w. A+ X* G0 F $p = $p.replace("parent.","parentNode.")6 |& u+ @% Y9 L( p
}
0 N8 D5 r1 f+ j# a5 s. ^ while ($p.indexOf("child{")> 0){
. ^3 l; F2 m/ I) z( `8 o: Z $p = $p.replace("child{","childNodes[").replace("}","]")1 Z6 s; h% K1 R0 }5 P7 Y
}% m: J" [" N- n5 d% V
o.push(eval($p));
2 i$ c$ k& s. V! j3 \ _$ a W q# C) P }6 b5 g+ o' c6 x4 O3 s; H% _
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
6 O$ t. {3 b5 K3 K o.push(eval(a<i>));" ~8 B9 o% j0 B4 G& z$ w+ O/ P; E6 u
}
9 Y6 B% ?0 S$ Z5 _ }
* D8 T! U( I) p8 \5 V if(g!=null){
* Y5 q6 ^9 F, d& t H o.push(g);g=null: `. L3 Z0 }3 ~ H W+ U7 M
} 5 z7 v% b! I7 T- Y7 ^" I
}, X' Q, B9 _( f8 B4 o
}* J5 H* p$ X7 S; ]( {
+ s/ r e* ]/ ] $o(a,o,c);1 w" W" u: a/ ~, E6 Z* N& e
' v1 u y, e' t5 a
for(var i = 0;i<o.length;i++){
k7 U q6 `3 i+ K for(var j=0;j<c.length;j++){
, ] X1 v+ @8 h- q u = o<i>;eval($format(c[j]));
1 F0 Y, N, s7 D; k }9 a8 z. }: \0 W5 a% ~
}' l2 t% b- V0 l
4 ^. a5 j2 \) K; k8 y: M if(o.length == 0){8 @7 T% c9 W1 y* a4 c+ Q( ^
for(var i=0;i<c.length;i++){
a" W& Q8 b: s* l* I eval($format(c<i>));
2 y0 r: o6 {- P# j1 X }/ j% \; G6 K& c$ `
}- W$ H% e3 U* d, i. w) J3 X
+ ^( k# j) _: j6 y$ l
if(r!=null){. n% M! d1 \$ v
return r;
- C4 o7 o" X* h }
; V1 }# r& p0 ^) k
+ U3 C+ Z. P( s0 f7 P! X1 S if(o.length==1){5 a2 n) H; H, ~% q9 o
return o[0];- m) @$ M8 Z0 ~$ p
}
/ j- b! A, K- k! v1 Q; b else{4 q \7 S+ s/ k
return o: y, l" Z' B' [+ Z8 O5 q
}
! ~! s3 f3 b- R- N* _4 o5 w' J " e9 O* D8 i4 p& X( Y+ Z
}
! R1 i4 b7 q; m. gvar lrc =$("#lrc;show()").innerHTML.split("[");- w3 J! g1 V0 h0 z# |, o, t
if(lrc.length>5){
9 k" x( g9 G* P% j. Jvar array = new Array();
& d+ n; M- J @for (var i=0;i<lrc.length ;i++ )
4 t- T/ C7 ~% j+ j" V. U+ K{1 e' }% Y$ N8 e+ q
var g = new Object();
6 F6 i5 x( |. W/ a4 ~7 G/ w t= lrc<i>.split("]");
; w5 }# r, \* i# \% e6 U2 T g.time = getTime(t[0]);: I6 Z. Z0 P3 [& Q4 G
if(isNaN(g.time))1 M# ]: u' J) b1 h1 V
continue;& u# j. n- g9 [5 x/ x% f& R
g.c = t[1];
1 o. l% [: F8 ~, |1 k3 T if(g.c == "")
8 q. e& o6 D9 t4 x7 A: r g.c = getNext(i);, Z' A% A' ^! J* V2 R" Y* k
array.push(g);
7 ?( y* x7 s% }; n. W}
6 Q! _! N6 n9 b P, Sarray.sort(function(x, y) {
0 e: l- j- v; | if (x.time>y.time) / n) I$ Y* C; S6 e
return 1;( c6 Z4 ^) D" V# k0 s8 z. z+ Z3 v
else if(x.time<y.time): I9 k8 F q( E# p0 p! X8 X
return -1;
: z, l# g% q. W! ^( Z/ b else) N) e% s0 a2 _" r( w: P# U
return 0;
# @5 ^# p1 I4 U0 j }
5 u) J5 v, F( k: o* U3 X);
& n8 n0 n" P" S; q' o rfor(var i = 0;i<array.length;i++)
; \) L6 l$ }% L* [6 l+ Y9 I$ I# o0 |{+ k/ r3 U6 W) m6 d. T
var g = array<i>;
, \7 O* @' P/ u+ ] H* D if(!g.c){
/ c, K7 [) v2 {" _2 Z g.c="";
" x3 Z) m# w n }" y7 y* S% M; _' v1 ?6 s
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
+ x, Q$ ]/ O4 j# M q! z- J}6 E3 V$ q* R5 v! E3 k9 e% d
var time = setInterval("lrcList()",500);
# v* d* x( ~1 z/ G0 X: C' ~}else{
. [4 X5 `! v7 k $("#list").innerHTML=$("#lrc").innerHTML;) N ^, r6 V" J
}
: m3 r3 C+ `1 N8 Ifunction getNext(i)
+ A# f2 A& l" L8 L1 m6 A q5 `{
, a; K) H$ S( K; R$ B8 Q+ G var result = "";
a8 T/ J% [( X8 D P0 l7 @ var i = i+1;, t- V @& H( O6 ^
t = lrc<i>.split("]");
5 V% V! n* W5 l/ y$ K3 u if(t[1]=="")
& O$ G1 [+ P3 O* {. H+ N. } result = getNext(i);
/ D7 x. I, w k! E/ F! e' M else6 }) d6 d/ o' p0 U6 Y
result = t[1]& ]/ C# \! d m- R' g
return result;
) S& T1 O; n0 {6 p}8 v4 O0 a A* L3 ]
0 d! @0 M5 w; Dfunction getTime(str)4 D: z) o/ l6 |# Q
{; Y" X2 N) F& d/ U/ ?
var time =0;
- x, Y! H$ u0 N4 P+ u0 x var ta = str.split(":");
- h q4 u- h: f4 y0 _3 D! o if(ta.length<2)8 Z& j/ n* Y5 @7 K
return time;- ~ f; o* ?* u, B N
# l i* }6 x( l- Z
if(ta[1].indexOf(".")>0){
' f- @- }5 _, b# Z% z7 |' T var tb = ta[1].split(".");! d: ^; y4 ]$ v8 S
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;; o4 W( E- V6 Z! F6 a
}( k5 W& f* K. g; D5 S8 f
else
7 [) T. f; n% [7 t, ^# q4 L+ V time =ta[0]*60*1000+ta[1]*1000;, X; V1 x& n. Z4 t
return time;1 F8 I1 m8 k* V+ P5 R
}
5 W8 U/ [0 |$ }: e1 \var preTime = 0;5 c' J; E( k$ T# i
var nextTime = 0;
7 C! y9 P8 [1 I- Y; \2 ovar currIndex =0;+ e2 Z- G0 y. t- B, P; V& ^
function lrcList(){
7 g6 ]% X% E0 c' s var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
9 x3 `, T7 _7 z, k; P F$ t% c2 Y% ^ s = s*1000;% ^+ X, o" x, Y ]0 N/ y0 k$ m! m# M/ d
if(s==0){
0 d( t/ Z2 X1 a currIndex =0;3 Q, z! [2 ~' y/ T, w8 ^+ J+ g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) {/ g7 _5 u% z- q3 s) C1 W7 Y for(var i=0;i<array.length;i++){
9 b, t1 }/ t3 J document.getElementById("lrc"+i).style.color=colorNormal;
& \) \) i, @& V' ]6 |/ C. @) } }
) q4 J/ q9 E; ?' c return;) k# [) H; W0 @0 Y1 U
}( U! y7 _: z( n! v
if(s>0&&currIndex<array.length-1)
9 O$ O. |$ N" G% C# o0 b- {( X {
0 H/ s5 e/ } n' ]# _6 \ preTime = array[currIndex].time;! y- [# h# q3 H5 w/ \
8 e; M) Z; B/ g5 C/ F# F8 A nextTime = array[currIndex+1].time;
. t$ }" z1 ]* @3 G( B4 y7 H & n& [0 `# x! Q: z% }8 n
if(s>=preTime&&s<nextTime){
/ u/ ]; [7 u7 m. f1 }/ D$ q; X% T; @ }
m: f( M* K) M6 X! P; v7 |: u1 n else if(s>=nextTime): S8 p( H) t# Q! z: {. w
{% p+ {9 n+ w1 F; }1 G1 O
document.getElementById("lrc"+currIndex).style.color=colorPasted;: W9 \& \/ k5 ?4 C" |% C0 z8 p2 N+ v
currIndex++;
0 r7 B8 Z4 J0 J4 ^/ k9 }% H $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ X0 v! @9 @7 O) p' D
document.getElementById("lrc"+currIndex).style.color=colorPlaying;0 @8 K3 T8 `- m# _) r7 W
lrcList();1 D) `% X) n# V, v3 ^' z8 a
}
/ ?2 l. ]: \, l: H/ @2 ?5 p else{& n! k* o& W( m: C( _1 a: h- Y
document.getElementById("lrc"+currIndex).style.color=colorNormal;! ^, S) h3 B8 {) ?
currIndex--; U" a" \9 {7 h3 @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ I+ l8 g/ R. I6 m# N" Z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;1 J; \5 t) x) G6 U5 p1 `$ d! N
lrcList();
) b3 D. V/ v# R$ F2 n: k5 Y } 2 h/ b5 L, }+ P V5 ~4 l
}2 @7 V t# H' |. R5 b! R
else" V0 S& d2 b K- Z
{
" ?8 X8 p h/ V9 t- `4 Z8 ]9 u( c% B' p if(s<array[array.length-1].time){
8 j" J. G/ z1 }* r/ P currIndex = 0;
$ g& Y1 o7 P- u/ ]$ l $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, r1 _$ t6 F* D8 m for(var i=0;i<array.length;i++){& E z+ F. S0 @0 J# @
document.getElementById("lrc"+i).style.color=colorNormal;
4 b% y6 J' _' D! b! S' i& w }) e% S0 W" E. [% K
lrcList();
! F8 V& g- U& o. _ }
N9 E8 e# N4 Q! m5 n1 ~6 ] }+ @0 E8 e+ }: S: w
}$ V9 |1 [3 S1 n; F
</SCRIPT>
: ?8 w/ Y" P- [0 o9 H* Z</DIV></DIV>
) ~: V* b8 v7 V5 x/ F: H4 A6 x# L( _8 l" A( B
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|