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