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