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