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