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