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