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