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