|
<DIV id=list>( O/ t" {& \5 O% A4 d0 u
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
, H: H; ^" c3 `, Z<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>* D$ [- d, a$ P1 ^" o) s6 |
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>- l9 ~% R; k3 ~( h
<DIV id=lrc3 style="COLOR: #666666"></DIV>
( J" Y; ^" ]: x, F<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
% y0 v& {) h4 ]) h<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
0 J, _3 Y# F3 n$ O' r4 `; C: W0 I: \7 j<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
. {" K4 e" [. Q5 c& p<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
3 m% y& k; M' h! ~<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>- z) B5 v4 u6 Z
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>9 I5 {5 g! K+ F2 K
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV> Y+ o' o2 ^& {% l. Q% M
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
; H* S8 i+ X7 \7 H<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>. \) Q7 w( }% X4 E- r& z, u$ a
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
3 k# ?" D* c3 m7 k<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
+ I b/ M# p" N) Q, l" l<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>6 C8 v/ U8 |4 k r3 B8 a# z
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
% ^# K8 m3 Z/ f) Z<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>7 X1 E# w! U9 m, D E4 {2 @
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>/ O" L0 W% Z: ]: \
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>/ G6 {" d) h5 _, g' B
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>5 Z7 W* U9 V) Y8 x9 G+ t8 f5 G
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
5 `0 H/ ?) k3 n. c% p, L<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
( b* g5 n& q1 h<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>( ?, d3 c! L* k( t
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>! _: h6 ]7 S6 ]/ B1 ^; W
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 l; Q' S$ r) e<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
9 {/ T/ g# Q8 W$ d<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 i4 I' A4 D( h _2 y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 N1 v+ c% s7 Z) T
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
/ T( T1 `6 C" x" E& B' x( w<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>* K1 j6 ~& A- U* w5 _, T' V9 }
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>8 q9 c8 |5 L& s; j0 }
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
1 c+ _! O# Z p0 s/ A! ~. E<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
0 s( X9 e' F' ]+ x<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
6 u# C8 h$ z0 Z8 @+ P<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
4 l' e, k1 x4 t* o" \6 j<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>5 c* w9 i. G" G; P+ y+ ]
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
' y6 i& X" L" f ?8 m, b+ b2 t<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>$ J+ j0 {5 p2 G2 J+ p8 s5 T( R
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
2 x. {0 }: L4 b8 o<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
" _- v* x- i+ e/ f& h<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* h3 P8 e: b/ T& f
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV> @) e7 t! C, O
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
& G5 z1 Q5 o% {- ^0 d, m<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>; i6 T3 K- c$ J: A# o* V
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' U+ o0 b% J5 P# V6 e Z% Z
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>+ M1 }( h; G" t, C) u
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
% {: U" o) H+ w; X<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>7 t+ H$ K d* Y, @; c- ^( k# s
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>1 ~8 `: }8 |; U3 O9 C+ F
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>4 Z; V" C) }9 A& M* q& x* N F
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
1 G* Q/ N3 e4 n# Q8 D2 U<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
$ [3 y9 Z2 M2 L4 B" L<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
g, R, w. c) u# _! y) `<DIV id=lrc style="DISPLAY: none"></DIV>
3 M, m% ?) I; ]3 r7 Z<SCRIPT type=text/javascript>
; Z6 c9 n% C: @2 H# B, ?' ydocument.domain="1ting.com";
- N& w' m- I# K% _' N" ~2 e" nvar colorPasted="#666666";
6 l) Z. m% |5 I6 c \( g2 [$ Q& pvar colorPlaying="#ff3300";" U2 z7 z* `. J- S% \% T, e+ O
var colorNormal="#000000";
: o3 @* R& \% Q T* @$ = function (a,g){- k9 Z" n4 d8 G9 Z" I
var o = new Array(); 1 o& f) q) V, P
var c = new Array();
, z: `) L5 v8 V/ D var r;
* k: [5 S- m, L7 B- c var u; ! \* @1 |! `- H% H) \
var a = a.split(';'); 7 U7 A5 Y9 s: d
f5 o3 U: |' P1 @* L5 e0 T var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");5 A: z, ` ]/ F {7 z
for(var i=0;i<e.length;i++){$ b4 E5 M0 n/ t( i" o3 E8 P1 y( }
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
9 r$ M2 M' a% r. }* \ }
& E; @. b, t& y3 K s" A8 C: D$ a M7 n9 r8 B, @
after = function (t,d,s){. M6 \* u# Y- b9 G
$after = function (){
) C9 U) O# Y f" ?3 J0 I var $n=document.createElement(t);
% J& Z4 q M3 K$ l: y. ~5 t# D# X if(d!=null){
# {0 W4 r3 `3 u: S/ s+ k- W# T $n.id=d; . w0 w. B5 E0 k( S3 \2 q5 A0 j
}
9 ]6 N _' f* s8 i y 7 W) u4 h: k+ N/ G3 ?$ ^" C
u.insertBefore($n,null)
) X& X; m0 L" k* N0 H r = $n;
' X2 e7 u0 L6 k u = $n;
/ z/ Q" {% Z8 C8 m$ \, @3 m! T }
$ t" W! b X$ ^ $for(s,"$after")
# v; a1 k1 V+ L% e+ g# N" I) g/ S" q }
2 ^2 j1 h/ s" N+ E2 C/ x4 B( P9 N: ~9 R/ d9 |$ }* C8 w
show = function (s){
9 x- w* u# z; f, g $show = function (){
/ ]7 n8 K* k, k" W u.style.display!="none" ? style("display:none") : style("display:block") ;( x( V2 w( j; C3 g7 i
}$ y) n1 Y* ^, E# ?+ |
$for(s,"$show")3 Z# K; ]$ l, d, L. V
}
; i* j l& _, @
9 {* {6 ^& \4 Q8 M: J, | check = function (t,s){. F) V$ G8 x2 D0 p
$check = function (){" v' r& N* I0 {0 o; Q5 G0 j
if(t=="2"){7 C$ s1 S2 B/ h
if(u.checked){
! P/ e3 j/ L0 b- `% e u.checked = false;
/ p+ f( P5 a) v: g }else{
# b w [3 }7 b! } e u.checked = true;
! W2 s* L4 P, a7 P }0 ?5 n8 B) A' N
}else{! w) [% {+ Q; x- h/ D0 F
u.checked = t*1 ;" e/ ]! n7 w4 V: ?- F/ B$ ]
}) e1 a% \! K3 U* `- o: n) W
}- E% B6 D' t& X% A; C0 z' T
$for(s,"$check")8 p z* t+ {& a, J% e2 @
}
/ a8 K! U' `+ }+ J
' z6 S- U; @8 }0 a style = function (v,s){
* g( v' r4 _/ w$ n( C $style = function (){9 T7 m+ [6 N) w+ O: h
var $n = v.split(",")
5 v4 ~& N7 V+ r+ X9 g2 v for (var i=0;i<$n.length;i++ ){" s/ ^$ g$ c5 [: |+ S) n
var $m = $n<i>.split(":")
# h1 q' t$ q# C" H1 B eval("u.style."+$m[0]+"='"+$m[1]+"'");( e! S) p u6 y, @, e
}
& B" p0 S5 y4 [7 m9 p. Y }0 m! N; Q; y; t. P8 g2 I
$for(s,"$style")4 Q: _* J( h$ v$ o8 n+ F' `
}
" G" a9 x% J/ y. v! b/ h
5 a2 Q3 X! O5 g$ u; S( A value = function (v,s){8 }5 [" E1 w" n$ Q, i. j; w2 z+ ]0 Z
var $n= $this (v);4 w: ^+ { X" P, N2 w/ e, e
$value = function (){' n% v2 h7 s9 h0 b: k
u.value = $n( i' e; n T" B1 j* i
}
1 K; d2 p, I8 Z* _* e/ y. [ $for(s,"$value") 9 ?0 ^2 J3 K# q v; I# K/ i
}0 W0 ]& [: ?. ~- ? ^9 I3 o( o
4 t: a: n+ F1 I% a text = function (v,s){
1 @" `% D; w- w- k var $n= $this (v);/ y/ y3 {/ x; y
$text = function (){
/ b- A$ Y/ c+ ]) n% `7 D
( m6 X, {) A3 |! H) z) _ u.text = $n
9 I% I& m" h v2 o6 d8 q }
1 k* V: p4 [8 c4 ^+ ^/ l" ^ $for(s,"$text")
( I7 R, d9 @1 |* M% x8 j7 v, O, W }. l/ d6 H7 g3 [$ N6 k
3 [5 Z; T2 p1 w' u# I# r
innerhtml = function (v,s){3 o6 D8 G$ L! D; A8 ]4 N
var $n= $this (v);+ r+ {' s) c+ H9 o/ l
$innerhtml = function (){
' {! J& y6 e2 J& Y u.innerHTML = $n/ F; T! G$ p* V E2 f4 X
}
- E9 t# y! k: v& y0 w $for(s,"$innerhtml")) l# E/ Y9 Z- H$ R* d7 j# W* g
}- o" t2 Y7 e/ t3 R3 R' \
; o! P0 W" @# M9 ] removechild = function (s){1 ]$ ]3 A# K, I7 b+ D
$removechild = function (){' a5 x+ a$ f# p, y* R
u.parentNode.removeChild(u)2 C$ W, a. V6 N
}
- u# p9 S- K0 a% U' c% ~8 c $for(s,"$removechild")
* n; F! R) n' q# |/ v }
0 X5 \. t% ]1 N" r. _2 C: Q) E* w0 ?* d6 ~7 }" {
$this =function(v){
( u+ T6 F" l4 g f+ s if(v.indexOf("this") == 0){) c. U5 t- L- u& A( d
return eval(v.replace("this","u"))
f% D8 |+ j, m; x" `4 y2 L8 H+ F }2 ~/ J. N1 e+ _9 L2 N
return v;
* o8 f" }! b, z& J+ p4 S }: A. @4 S4 r0 ^
2 t8 t. H$ i( J: R* t
$event = function (s){- j% K. d! b3 t9 A
var $n ="u."+s+" = function(){$work(this,s);}"
5 q0 L# Z! `1 j! U. A; V4 A return $n;: N9 Q9 }/ P5 p3 F9 ~$ }$ ?/ y
}6 c1 J+ K+ [5 D7 f k6 h. `" _
: ~- e" x' t$ \6 }& q- y
$replace = function (s){- n6 W9 i( k H2 @# N
6 r v% H2 d4 p$ T% o
}: c) M- ~# o1 _
( S. W. K0 ]1 T7 ?- k7 z% I- ^ $for = function (s,c){" t P2 @; Q. g- d
var $n="this."+c+"()" ;9 ~9 y" w* C5 m1 [8 U" S
if(s!=null){' F+ d6 u+ q+ u! V# w2 O
var $m =$test(s);' z- l7 t3 q' p/ ]/ u
for (var i=0;i<$m.length ;i++ ){2 [) Q$ C: r) S; m3 B0 C+ j. L
u = $m<i>;2 L8 k1 B( s; g* ]( y" S4 o
eval($n);$ z5 v. n, ?; K+ ]. L4 @
}
+ V, C- a) X1 `, u( j Q& `/ t$ y }
9 `5 ]1 B$ H& I1 E else{
$ j. ~& g+ a& Z$ O+ Y! J7 f eval($n);6 m- h, ^" J9 z" _2 o1 j' i
}
% C3 }4 G+ N0 D0 i% O* G* |. ^- F }. F1 k7 c7 E# a5 o( D7 W# e) i, S
0 D" M$ A1 Z, w! Y $test = function (a){" g* u8 C2 S! s) W! t/ s
var o = new Array();$o(a.split(';'),o);: A4 g- h' ~% B j# W
return o;
5 S; E# h7 m f, n+ m5 G }
4 n) v' L- n2 k7 ^* z" h) _9 q: J: d9 T
$format = function(s){
! @' `. {2 h3 B% R while (s.indexOf("'")>0){! d. b) H4 S1 B% ?. z* |
s=s.replace("'","\"");7 ~' S9 u% w3 s7 v6 x
}
9 m m8 A) d& h# s: M2 f$ q while (s.indexOf("][")>0){) ?" l' @/ Q& w3 p: x& f( O
s=s.replace("][","','")
$ ^( ^6 Q/ t5 e" R }
u! i! x& I1 w: G0 {, Z( y while (s.indexOf("[")>0){# R; i8 _3 `- I& ~5 S$ F
s=s.replace("[","'").replace("]","'")8 c$ E& n4 ~: y
} & d5 C- U4 v. ^( [! F' Z* g
return s;3 Z. `7 {+ ^! I8 h
}6 c- ^1 G$ L( D8 \
# W% a; r8 C, g5 f
$work = function(w,s){$ \% f- C" v* e3 R) _
u=w;eval(s) b: Z) c. |8 ?7 M' q
}
" C6 I! N% c, R; ?* ~# ^/ y* \0 b- R% F
$id = function (s){* p8 p l2 { \& I7 `2 j; O
return document.getElementById(s);
2 W/ G# {, ~* A4 ` }: P# u* ]" i/ g. e) |* `/ l
! p$ k7 r% v6 H( ~% D $name = function (s){+ o. K |3 ?; p- H+ F: j
return document.getElementsByName(s);# X" Z7 J/ r1 u' v: ]
}
4 |/ V7 v+ n) F3 T' s: x: e5 F, J
3 s g+ H |. i. V $tagname = function (s){
% _% J6 O/ d+ ^+ V4 ^) w+ Q- Q) Q( I return document.getElementsByTagName(s);- A; _1 Z8 \ a! A
}
+ U/ r8 u' C: S" l7 t1 \% y2 ]9 D* C0 D! K- B
$o = function (a,o,c){6 v- e' V4 c \2 \
$push = function (n) {5 M' { j5 r) w
for (var i=0;i< n.length;i++ ){
: T1 E' p9 \, {% l1 _ o.push(n<i>);
$ v) i) P4 r0 C6 V }
: X" W, e q* J# O) H }% @( V' C1 m. H; g7 h
for(var i=0;i<a.length;i++){6 W1 g4 X- S1 S* f) u9 @
if(a<i>.indexOf("(") >= 0){! r2 }2 ], I7 L
c.push(a<i>);5 k; X1 O7 R: N3 f; s h& N ?
}
, ? w- C7 [, N$ d* f& @/ _) J if(a<i>.indexOf("~") > 0){; W" L! [0 I) x. X1 [$ i# }
try {
( `$ o8 G w1 ?% s1 W" n. x, w4 X $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
9 n. `# ~8 J7 N2 Z, k% n# {! X/ E }catch(e)4 X( o3 T) A7 T* |8 K$ n4 F( B R
{} 4 F7 o; ] Y, n1 ~9 |* G
}8 O, ~' _+ y" p8 x4 n$ c
else{0 D3 A1 U# n$ @9 F3 a* J2 z
if(a<i>.indexOf("#")==0){
9 a6 i9 ?+ t! j9 c' M, g o.push($id(a<i>.replace("#","")));1 ], e( ?! |9 `
}
/ }& C; Z" y3 u- a if(a<i>.indexOf(".")==0){ P; P" p3 x+ H3 E! b: F
$push($name(a<i>.replace(".","")));
& G2 G. ]3 f5 D# r2 }7 Q1 U# F: Y }
' p; S: ?1 m4 N' K: |, g/ N if(a<i>.indexOf("@")==0 ){# j& P& j4 N5 N3 N
$push($tagname(a<i>.replace("@","")));
?9 c# Z$ n5 ` e/ ~ }3 E5 j" G/ a1 ?$ q2 X; S3 ]6 N
if(a<i>.indexOf("*")==0){4 ~1 n$ ^% b/ u# K9 ^: h) m% x
$p= a<i>; ?* p0 X( Z6 [5 y
if($p.indexOf(".")< 0){) c5 j: R, F8 ^5 g' n! {+ J
$p = $p.replace("parent","parentNode")
2 T4 |% A6 R: M; v0 o* J+ n }
* O# J7 S& o4 ^( E7 H/ l4 i var $p ="u."+$p.replace("*","");
$ T! E" E6 D3 @" K1 U4 S while ($p.indexOf("parent.")> 0){2 u/ @4 l$ ?. x4 z- M w$ B J
$p = $p.replace("parent.","parentNode.")5 B1 O* A/ g" o; K2 j$ F( u
}) u) f" @1 L2 i, q2 }0 r, W/ m
while ($p.indexOf("child{")> 0){
, ?- B9 `5 w, U. e# D $p = $p.replace("child{","childNodes[").replace("}","]")
" Z1 w& j( u% R }
5 v4 p0 d9 V9 I, j1 l" A, w0 L: H! e o.push(eval($p));" f% a/ W, P5 d& e) W
}3 Y+ W* X. o# B, j& A h
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 I9 w) J* J) j8 N9 z o.push(eval(a<i>));0 S) j5 t3 F6 o
}% U0 {, R, L8 B( ]! G
}. s& Y; W0 u* s, X! m! H5 }2 K; D
if(g!=null){
3 n9 ]3 `: E% }5 C) d, {, q o.push(g);g=null) t9 K7 S2 o0 A- G( D5 I( b: I& m
} 3 U+ J, S+ Y. `& _% V
}- b7 | l6 k8 X; Q
}
* E3 s8 ~0 }: P6 E" Z9 R7 [( h- r) o
$o(a,o,c);$ }) |! u3 D! H3 U5 A
: S9 h1 ^, L! m9 n
for(var i = 0;i<o.length;i++){/ z$ V: k3 u: @7 R9 ~
for(var j=0;j<c.length;j++){2 d8 }9 G1 @" k! J9 y6 r
u = o<i>;eval($format(c[j]));
6 N% \/ C# R3 w( L) j$ d/ Y }$ n; o, P* J" g$ }9 i2 x
}
5 P, }) B7 g+ l2 [+ ]1 j1 l( w' S1 ~2 B- }! r+ b. t
if(o.length == 0){& ^! q9 b- ]( s r. `: j/ `2 j) R
for(var i=0;i<c.length;i++){
7 O1 W" A# _1 u eval($format(c<i>));
- s" R- h1 N6 {* Q5 k# E- @ }
- X# _: p( g$ J }
7 m8 q( Z* D# X
/ @ x$ M. e3 ?; E3 E. X. i" @ if(r!=null){3 N! w6 B7 W' k+ }! w
return r;
2 R6 n) }2 c, v% q }
7 \4 [" _' v! @! T& D3 k 1 p1 ]; e' q# f9 ]) c
if(o.length==1){- @! z# c. ]0 `% E
return o[0];7 a/ f) ?/ B3 y* [
}
$ ?+ |6 |) Y0 \5 F else{0 [5 W P9 |7 ~) Y6 F
return o; z- F' |" L& _, M2 F% u
} 6 B+ }3 ?7 ]3 t5 I% U
% |; [9 W* {$ {4 R4 P: J+ B
}
1 H& G4 @* h4 v* l! wvar lrc =$("#lrc;show()").innerHTML.split("[");
5 V9 D. u3 v) S# M+ T2 i% Hif(lrc.length>5){: g+ v( G% i7 U/ p1 I
var array = new Array();( e% i( J6 [% z ?
for (var i=0;i<lrc.length ;i++ )
, P7 {( ~/ @# @: }7 r7 p{: U; F* P! i) M8 l$ o
var g = new Object();
2 M+ D1 [1 Y W: ?( l& t+ U t= lrc<i>.split("]");" f6 {+ c( A: ]/ e* S$ a6 p: e# `
g.time = getTime(t[0]);. \4 _$ X7 [/ k. u; F8 B: Y
if(isNaN(g.time))
7 [( {" U0 R6 o+ W continue;
# J. g& z7 R* s g.c = t[1];
) @6 d6 B4 j k( F( @ if(g.c == "") j* o2 o( s8 Z# K7 e- x2 A6 k
g.c = getNext(i);
1 J. u5 Q5 h! j array.push(g);
& h3 A. A0 y: a7 b; a" C# E9 `}
. H% x {& }+ i7 N4 }6 }array.sort(function(x, y) {
! m8 n9 j9 `( v; |$ Y. x1 ]# ?' C if (x.time>y.time) ( o+ D* d* `) l; g7 j
return 1;
4 K6 \ K" f- ?6 M else if(x.time<y.time)
/ A8 M' H, t W9 \ return -1;. g2 Y: W1 d# C- \1 J0 m+ H' ?
else
+ U2 U) p; P$ e7 b9 m) k8 M" v return 0;
$ N5 ?" Q2 m' @+ E* }& T _ }
1 j# \0 L$ z% A0 `); V& N# U' N% T9 o8 r
for(var i = 0;i<array.length;i++)1 J3 M( z5 x5 z" ?& u6 ]
{
6 S7 [; _; Y' G( v3 U var g = array<i>;$ _& s6 f) Z, y. g7 j# A0 F: |
if(!g.c){, i( @ A+ ]: S6 ?9 m$ G' m$ u
g.c="";
4 V8 U# n8 ]4 i% U8 ~" u }! S" z. m8 E* u: w- e
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
* y, w9 u- B* f0 M; U3 @3 ^% O- g/ i}. e8 n. x% R6 ]
var time = setInterval("lrcList()",500); ( q1 W5 m& |1 O+ H4 ` |+ l
}else{: @; |9 K8 P1 R2 T
$("#list").innerHTML=$("#lrc").innerHTML;+ S( M/ Y) t% c; E; N0 D
}
2 B, q1 W' h) x& x% ~. Ofunction getNext(i): R- }: I* i% t! c9 P
{
9 ^8 z% i0 s7 f' Z2 z+ Q1 R var result = "";3 z1 o+ A% f* G; F# [
var i = i+1;+ G/ J& w/ u) b& V$ i3 Z- |
t = lrc<i>.split("]");% \2 Z! q" q1 U% ^5 o3 D" j( O2 V
if(t[1]=="")
4 @4 v/ o* i4 X9 i result = getNext(i);) h+ L* P L8 ], p
else
& _! w7 E* P& }* X0 c8 X result = t[1]9 Y9 t$ m" H. G( }, k
return result;/ m; h( }/ t5 c- `' I5 O5 |2 c
}; S2 j7 h3 B7 V' E E
/ I, u8 b4 K5 W7 o7 a" @0 G+ F
function getTime(str)
# u4 O8 o6 \- w/ [+ h{
8 \( z& |# k [ var time =0;) r: R4 z! ~4 e
var ta = str.split(":");0 b1 D- r/ @1 d
if(ta.length<2)0 M* N: T' ^; h! q3 N7 T
return time;
2 r1 }2 ^/ ^$ D# r% g5 ]. D4 s( t2 t0 Q
if(ta[1].indexOf(".")>0){, p6 C$ |9 m* S4 ]$ Q- E8 r
var tb = ta[1].split(".");# A$ G; D9 p) X) b/ o
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
7 P' t" X& W* y; ~+ o }, r1 G. w6 J: K' e J
else/ U( \' f( |( a7 n/ J- z2 Q
time =ta[0]*60*1000+ta[1]*1000;
$ p; L3 V+ u( z/ b return time;4 c' }! i M! |% U
} s% _) T$ e" k0 V! v$ P
var preTime = 0;
0 ?! y8 D+ f0 p& X, P1 ?1 cvar nextTime = 0;
) E7 \1 u6 d* v! avar currIndex =0;5 S, C" P+ M2 R5 R. h: q
function lrcList(){; @4 T7 s5 T+ Z
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
% P" x) W* V8 q s = s*1000;
7 j, T4 l+ N9 a! A if(s==0){
0 k7 f; K. M/ j8 a1 T currIndex =0;
& v& ~5 C- g. k' R, d* Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( E( a" v4 M" B0 `
for(var i=0;i<array.length;i++){
2 A% I( r r% z9 E document.getElementById("lrc"+i).style.color=colorNormal;7 _& s) E+ l( E1 x& A3 q# t7 ^
}
# n, ^4 }+ O! E3 k% X L+ i4 Z return;
+ ]2 u% V0 A6 q( y3 S }
/ F* g$ i! g/ M; g) w' y' N5 c: ? if(s>0&&currIndex<array.length-1)9 M/ J# F% y( [4 g
{ 8 i0 R- q: [5 d4 h4 r
preTime = array[currIndex].time;0 i8 S' s" n" j
?' g9 Q! l) R, | nextTime = array[currIndex+1].time;
) {9 B! {2 v' d; \ - [5 G) u& e5 @$ q
if(s>=preTime&&s<nextTime){6 v0 @/ }# f- j+ b$ Y: F
}7 a' u F* v4 u9 E9 K P
else if(s>=nextTime)
; j* F/ I+ ]1 I" T; B {: v6 E; j D; F8 L
document.getElementById("lrc"+currIndex).style.color=colorPasted;
1 v: K5 c8 h, g' u currIndex++;
8 h s3 B% D0 w& K& \0 v2 \7 d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ L+ l6 q- ]% V, l' [
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# N# `. N- V0 H* f+ R. q lrcList();, s+ V8 a8 ^! p9 v2 h
}6 t" [( x2 V! I) C% g$ z3 w3 D
else{1 S- m" s( k. r
document.getElementById("lrc"+currIndex).style.color=colorNormal;
! W- [0 O8 h9 C$ S. @: B; w currIndex--;
! W% O* C( @. a) f$ H7 p* X% B $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
. F! i: p! g; ]- } document.getElementById("lrc"+currIndex).style.color=colorPlaying;
. b% E" }7 t/ S8 u7 l9 j x% Q" U lrcList();
- p# b5 d) s9 H# `% j9 Q } ! I+ P; V% c* p0 X0 A2 e1 @+ I
}1 _( E, e$ [7 y* I; R; @. n3 _
else
* [+ `2 D5 ^0 e2 U {
) a9 q5 D" a. k$ u5 | | if(s<array[array.length-1].time){
~# n2 o9 v8 }4 Z4 j" Z5 M currIndex = 0;
/ b& i& @4 o7 t, k% E, x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
* j' o8 C5 P6 V# {/ h/ m% U4 I$ E for(var i=0;i<array.length;i++){
" _, p9 I" ~( u) b8 G I document.getElementById("lrc"+i).style.color=colorNormal;
, L2 E, F/ b5 N' x$ {5 B }& T9 e4 `6 p- \: o
lrcList();! M0 x. V- x# I4 e/ K8 {
}
7 A% C6 Q' `3 M) U" I, m9 M+ Y }
. ?' I+ [- s& j v8 ~' f}
# n- W6 A# `, ]</SCRIPT>6 B# j2 {0 ^6 Z6 d) w
</DIV></DIV>
5 |/ H+ E+ G( w' K" R% A4 T
6 ?3 z0 P7 G! F- d3 \[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|