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