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