|
|
<DIV id=list>
2 ]+ d! Z- _- i" Y6 r8 n: Q<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
! l) S/ c6 b3 E! O* Q<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
, J- p1 t3 A9 C+ d- T% l- v<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>" A$ l* B$ b$ T1 c6 X9 H1 c' J
<DIV id=lrc3 style="COLOR: #666666"></DIV>7 I& n C2 P" c: j/ y$ h
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
3 ]9 Z. I8 x! L& V$ R; O. k<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>, N. f! M( c4 U# a, Z: I
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
- v: U$ j: @5 Z, h<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>0 Y5 O, s, n/ H+ f( F
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>4 @( q% i2 V3 | [; i, d& ]
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
6 i+ g d' @0 R<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>3 A( |2 i* q8 J1 ~% e T/ r2 e
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>3 N. ?: c/ C) y8 Y: l+ ~
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
2 e1 w" ]. g/ \<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>1 ?% X0 l0 i% L1 t# C5 X
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
$ w6 O8 X5 s9 E" L: ^4 L; H<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
) v, r0 x. r" b<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
! D1 _- r# Y$ A, F1 b1 e) _! I) t- ]<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>( p( F, P+ O4 u
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>* y r5 \8 h+ e" N+ }
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV># p4 J2 s8 ]- j
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
7 H* o& I) B j+ a7 ^. b5 V5 A' J' J<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
6 g& l7 b/ p2 b* U<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>- _: W0 \; ?5 X* ~$ J, r' o
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>- e8 ]6 i! X2 B
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>- O2 q$ e6 v3 {& O x
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>: i" s/ A+ f, `
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
) {' |* u. q, E q+ D, _<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
) V" \4 h" }7 Q+ z7 `<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>8 ^$ W8 |7 a7 X
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>- F, z Z2 |, r2 {
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
7 {" S% Q, t# b' Y3 c<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
B+ r/ P, w1 ~* x: {<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
2 P2 O! G& X& J h<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
" h& O# g/ r& P6 r! T<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
- N& i4 r! k. Y" Q' j( o1 a. B<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' X, \2 E/ ~$ w& ^! j. W<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>" p7 o8 f. w: F# o
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>+ n; o+ z" n# W0 }
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
) d' d% e/ D) S2 T/ I<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>/ x5 A3 A; c1 X+ A2 k
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
) x) @& ^5 m4 b) C% c<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
6 j# ]+ i3 h; a: Y* d<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
# ?$ ?8 z8 E8 f6 H# [/ j<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>8 Q# N/ G4 C* I# M- k
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ }; I$ |. m4 A7 ]- I! L+ `<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>+ t+ V; ^7 A4 n' C! c
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
9 R8 s( k- c. A' j# X2 ~$ w) t<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
4 n( V( m* y8 f& c; t1 t) [2 d2 G<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
( Q* N& X& ~* p<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; E+ a8 P |9 A& r' n8 L
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
6 F8 w& _1 [( [6 K$ y& ?; N0 v<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
! \. N) b. g+ T9 K* K<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>; [* v2 i+ x. e. w; x' Z m0 L
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 , j* R. Z7 R. l$ V& {
<DIV id=lrc style="DISPLAY: none"></DIV>
1 J( R' D. G! }% K5 l4 X<SCRIPT type=text/javascript>
+ d9 [# d( P. w2 A& F: [5 ~document.domain="1ting.com";4 @3 y( T0 z7 H* p8 k
var colorPasted="#666666";. [! ~. X, @. {& g5 v/ E, q
var colorPlaying="#ff3300";
8 f' }4 P, C0 O+ vvar colorNormal="#000000";
5 x. f- `: O" J8 G( B0 m' _$ = function (a,g){8 y, D, B1 @# f+ n/ ?5 o
var o = new Array();
* ^4 _( Z. o5 H5 r6 m! W) D var c = new Array(); 0 _& d% m, l+ z4 i5 {
var r;
$ O/ ?' L% h4 c: ^ var u; 0 a2 u# R+ o2 m! m/ W W' G% d: U/ `
var a = a.split(';');
& }: A! m+ f3 ]8 C, P7 F6 R
6 c- m4 A% |6 {2 }$ U: q# i: H: ] var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
5 s: P6 B( c7 M1 ?- u1 }& W for(var i=0;i<e.length;i++){2 ]2 n( @* b: k; j0 B: a5 D
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
( a; [1 `$ R) K( Z% J- l }
: y0 D( M' ^. I3 V' I. u% Q$ Q6 l* E/ Q+ r/ ^4 c
after = function (t,d,s){
& }* j7 r. D" ^0 S. P, B$ i5 ^ $after = function (){: t+ l. O+ [2 J6 @2 }
var $n=document.createElement(t);
2 A8 Y6 f- [, o1 {- }4 f2 V w if(d!=null){' {6 t) c1 h4 Q+ k" i! `) I
$n.id=d;
# g. K5 z5 O# d1 ?$ A- U$ h' } }# q6 M. Q R* X6 R
, j+ K7 @9 [: j7 [; ?
u.insertBefore($n,null)
, @/ z; X+ C* s( \% k r = $n; [* P7 j0 M5 W
u = $n;
( @7 d; @; b8 Y* h8 \' `' v* S' n3 H }0 Y! I/ A) }3 S& w# n, Q
$for(s,"$after")+ K& k4 ], b# J# I# A% a
}
6 j+ D: }, M& ]0 _( Z0 q T4 Z" K9 c5 z# X4 i* V& c
show = function (s){5 I2 k4 w D H i6 z$ E& C8 X
$show = function (){: Y; k5 y: M/ e9 ?' Z# @- v" \) i
u.style.display!="none" ? style("display:none") : style("display:block") ;
' D% M0 N" c, Y }
, p7 _7 H7 x4 l; \/ p# Y% ^ $for(s,"$show")' M* g" p, }) R" W- k# [$ R
}' q0 M( a4 w* X R6 |# ?
2 a2 v, G3 D1 Z7 H% r$ O- b$ ]
check = function (t,s){. W. G3 S) I$ h, F" U" w5 I
$check = function (){( M! g4 ]3 m) L n' O9 {
if(t=="2"){
|. v5 [- k J# {' O: i/ k& N if(u.checked){
/ ]- o9 l' H7 p* I u.checked = false;- c: l5 E# f6 Q n5 ? o9 B
}else{
5 K( K& Y9 _& G u.checked = true;
( q5 K1 t, a! p% r* C) S" \6 i, a }4 ? @) |! {, j% }, {1 Q- T
}else{
+ j; T/ U+ g6 W2 `- K u.checked = t*1 ;" ]# W) Z6 n3 i! ~0 ?( F
}7 A/ k+ K7 H9 j8 J P* v1 M
}# y' r; h, F' k* Q! A
$for(s,"$check"); x% R0 l* S ^( D3 g' U" J: k3 |+ v7 N
}" H, ^3 P7 a1 {$ U
- h5 C" D5 A; ?8 o U& j
style = function (v,s){: m7 T3 L+ G1 v" Z
$style = function (){5 ]( [7 J/ O; z1 ^+ h6 T8 ?3 n
var $n = v.split(",") 5 u+ B# I7 F# Z& G
for (var i=0;i<$n.length;i++ ){* d" V; R! z( u6 ~5 {( P; k
var $m = $n<i>.split(":")
9 s$ y! F* @2 r0 i- L, K9 @ eval("u.style."+$m[0]+"='"+$m[1]+"'");. }! w4 i# s# C2 C" |" E, Q3 U
} Z/ y! _% l, b) C
}
* v3 N" o3 c( x/ v! e $for(s,"$style"): A2 V5 v# U4 x
}- `/ l4 M8 H9 D: p, X4 h; \; t
* U. e5 X, g1 p1 S9 m, q8 Q value = function (v,s){9 @& P$ h* @' `* i8 M4 L
var $n= $this (v);/ X# f7 f4 ^7 M- W. }- @
$value = function (){: f W$ I& W5 `3 m$ N1 K
u.value = $n
6 N9 E+ }3 B* B# ^, I }; i' t6 Z7 u g, X9 K3 W- [6 Z
$for(s,"$value")
; N- p' E& }! N9 { }
7 D, x: D7 w% q7 h4 { v6 ], S f- v6 B. A
text = function (v,s){
5 X9 G3 s8 V# Y6 {" c% E var $n= $this (v); h# B4 U/ C0 d: K0 ?+ |2 l
$text = function (){2 V4 e- M7 {( u! p3 k
# l: t. ~! F o7 O" K u.text = $n; q3 `8 }: R, j; w6 L4 f
}
. \5 P4 v/ m2 A' O $for(s,"$text") 1 b4 B5 X) w6 e1 Y( Y! w% J
}% ^9 O$ T/ O: ]2 {
$ }7 y/ ]5 I# C1 c! @# L innerhtml = function (v,s){3 |2 w% E" j$ }1 s
var $n= $this (v);! _/ D' | B$ Q& X
$innerhtml = function (){$ C6 Z! d& p' h( X$ s
u.innerHTML = $n/ M/ E9 v% c! t$ Y2 Q, x0 v
}
% B) b* ?: |! E $for(s,"$innerhtml")
+ m1 z5 \2 B; P! T: M: |7 p& Z }
# |' E! Z6 F* h4 Q& D 4 J/ k; l2 v0 H/ \& W
removechild = function (s){
* s8 k8 ]! t/ ?* R: L4 d0 x $removechild = function (){
3 ]7 k6 \4 X7 W8 d3 y/ X u.parentNode.removeChild(u)+ \/ j; ^& p: o1 y2 \
}( D* w0 B% I- k, S! d
$for(s,"$removechild")
5 P+ h9 _2 g) S' A' w }
4 r! ~* u& q# _; k! A0 m% W4 Y: g9 Q; V+ {9 H
$this =function(v){
2 b f. `0 C8 D$ V. i, O if(v.indexOf("this") == 0){
, k6 T4 n% o, `0 z return eval(v.replace("this","u"))
" `$ e+ \/ M: a2 e }9 @4 d( P* n3 M6 g0 S2 `
return v;3 ~5 [# o' { `$ t* V$ A z; p
}' }( y# [+ R$ A& r) t
% d2 Z2 b$ \% z+ X: Y( ~ $event = function (s){9 P9 ]: F# L; z6 n5 }" J
var $n ="u."+s+" = function(){$work(this,s);}"
) ?( E$ C# B# p9 C5 ?% j# F2 U return $n;9 O/ a% ]% N. s/ a* F% l/ v
}
: U* a2 Y& S) c. t# A2 f2 m4 S% N; x, d; m; l1 `+ g t! ]
$replace = function (s){
' e& [, ]% `) B! W" I& B& v5 Z* z+ R8 k; ~4 a: f9 i
}
5 V* L) g- k0 h/ ]# X; q
2 ^5 {; X. y! s& z' ^ $for = function (s,c){$ b4 ^! H$ x) | D9 Y& ^
var $n="this."+c+"()" ;
- X5 H4 J7 W' B8 G; r" x, Z if(s!=null){/ H; I0 u p+ l8 G% q: ]
var $m =$test(s);# ^/ g# j# G% X0 [
for (var i=0;i<$m.length ;i++ ){: b" q! W) k, L% A
u = $m<i>;: V' n" q) e @( i. _7 t
eval($n);
: ~, g B7 I2 X# I* u, N1 v( J# ` }
9 T4 @; ~% E( Q0 y: t4 {3 Z- ] }& {+ E% T& p8 @
else{2 Q7 J7 y; b8 |& j: s
eval($n);
3 l7 D' ^, f1 F# D }1 K/ [5 f1 k$ @0 ^- X. u
}
. u/ M9 Z- ]! j6 j; P' @5 o" W+ @' n
% [" t0 }5 c2 b" a* n $test = function (a){2 _5 ^4 F' Q: V
var o = new Array();$o(a.split(';'),o);3 H7 j# i' m. u; g2 P ]7 Z
return o;* m' v7 j5 e9 l) P% w/ ^3 T; F3 a
}
2 D, T, [# ]; c: q% E) }0 Z4 X' o
$format = function(s){3 o% G2 c) P( I+ a" ~% m8 g
while (s.indexOf("'")>0){
8 S. U, K3 \5 J: j0 C% K( J1 k6 i s=s.replace("'","\"");
8 M: b/ p2 u' U8 r! A }) S' ?! P4 [. q; a
while (s.indexOf("][")>0){$ y0 X d: I. ]0 b+ W
s=s.replace("][","','")2 e, i& ~9 }' I
}
3 k$ V' {( c+ y/ s while (s.indexOf("[")>0){- U0 k, u5 [! ? ]
s=s.replace("[","'").replace("]","'")
4 S+ z. o( i4 E' \/ O8 _! l }
( M# Y( v5 i" q- n return s;
# a) H" {- {/ Y' X, ] }' m1 H. K. D1 U$ |7 o
2 @; U) F4 ^ y% n
$work = function(w,s){
0 X- y/ {, G/ t) e( g0 p" S4 ` u=w;eval(s)
" c. H7 D& m5 K( ?. w& j }
: T1 |4 m/ d3 ?! c
4 b4 F7 |' G3 @ $id = function (s){' @8 p& Z0 Z( v. \: ~; s2 E. `
return document.getElementById(s);
, j; u$ G9 I$ \* Z0 X: z0 } }
1 R2 o( |5 W, l( T( v6 i2 A5 |4 e6 ?3 K. W. V
$name = function (s){
' t5 |1 V) S( I( U7 ? return document.getElementsByName(s);- x3 K J- f1 C% j
}8 G( A5 h+ ~/ {! y
# b& t3 c$ g4 W* B $tagname = function (s){ ] p9 L& [0 p9 Z
return document.getElementsByTagName(s);( G9 x7 m9 _ V
}9 x& a8 W; ]8 B$ K t
; N! h" B6 r+ d) t' y
$o = function (a,o,c){
! M/ g4 v% Z! N4 l $push = function (n) {
/ e3 l+ F7 ~0 u for (var i=0;i< n.length;i++ ){% H' A( p+ [9 }' N: x
o.push(n<i>);( F/ H2 H: m0 N1 ?- R) y% ]5 Y# t0 w
}
' f% x3 i+ g2 g7 P* |, d, S' } }
. K3 n6 D- O$ |- C8 [4 g for(var i=0;i<a.length;i++){* J* x0 @; A# u2 K+ b
if(a<i>.indexOf("(") >= 0){$ n2 i) L; O- L" J, o( @- B
c.push(a<i>);: ^- g! A/ y3 I& N$ T% A
}4 {% _8 N s b0 `
if(a<i>.indexOf("~") > 0){- F1 v& l1 [, H, b9 e8 M" ?
try {" l1 }5 S( v2 \1 _1 }
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));: S l* H; Y$ p: H7 O, R* Z* |
}catch(e)
: o2 J' l' w& P7 L8 A2 V0 e8 t( K: l {}
9 j- G; z" w( w7 h9 V8 A# a }
8 a' G. g6 A1 T" O, N4 b/ `5 k else{
/ R5 A2 T1 X' g" T ~, V( q: E4 X if(a<i>.indexOf("#")==0){$ I1 \. \9 B, P, Y7 E
o.push($id(a<i>.replace("#","")));. G: |0 @. j, [" ?
}
6 i4 U/ @/ h' `( [8 A0 l if(a<i>.indexOf(".")==0){
0 U% O/ X- h8 W$ }/ \ q $push($name(a<i>.replace(".","")));
* b: ~9 p' T6 t! s9 R }
2 y, B1 K; K g; p6 u& h if(a<i>.indexOf("@")==0 ){& D$ c4 c* t+ `% `" N* u! z
$push($tagname(a<i>.replace("@","")));# a( R+ i/ Z0 t, } v: r
}
) @ u+ O3 \9 g, Y- q if(a<i>.indexOf("*")==0){1 Z; Z+ |% @4 R0 l. [# i* J
$p= a<i>;
$ z1 S- y% x: P6 M$ z if($p.indexOf(".")< 0){
1 D) D: D- G) G& l1 ~ $p = $p.replace("parent","parentNode")% L E* m E( e \% ^
}
% X9 T. \& l# |: N var $p ="u."+$p.replace("*","");2 X. r) b% W- c) V1 t$ b# ~6 b$ d
while ($p.indexOf("parent.")> 0){
4 r W6 D1 q' _3 ]. @' ~+ x $p = $p.replace("parent.","parentNode.")
8 p) F& f) O6 t0 X5 O* t6 ? }: l) Z* y! t/ ?! f7 r
while ($p.indexOf("child{")> 0){! Q, x# i$ j W# h( a
$p = $p.replace("child{","childNodes[").replace("}","]")
2 e) _: e: \2 h }
f* s9 A7 t2 ` o.push(eval($p));5 q: y( A. I1 i8 D. o4 |
}
, r2 n! c; |9 ]5 J# _2 ` G if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
5 K! u( e5 |& N3 K o.push(eval(a<i>));
6 [3 i- w% S! N4 r& `# x0 l' v+ @ }1 u$ }' f. S& n: \8 h2 N
}
) g( f2 x; F3 i- @7 u if(g!=null){
6 t/ a3 r8 a1 F k+ @$ k3 H1 [8 J o.push(g);g=null! ~5 N8 J4 ^2 F
}
& o* i9 ]( _* v3 E* B: y6 Q }
4 I8 `& p8 b- h- s" E. F }8 a4 f2 d* h5 M* y7 l7 Q& M# U1 @! ^+ l
( R8 {0 E- Q/ a* L3 P- @ $o(a,o,c);, G: f0 D: p6 u3 Q
/ N# i/ [/ d/ W" B- N
for(var i = 0;i<o.length;i++){% ~* V. @, N" g* G6 U
for(var j=0;j<c.length;j++){
) _& ]; i$ o5 [- v2 r( l) Q3 M6 P4 P u = o<i>;eval($format(c[j]));! c G- ]" f/ q% K C3 a0 F T
}( f: w! N' j$ X0 u* W+ O
}
, `7 ?* O- `; [0 z! i* c4 N7 {+ i
( @/ K" R' C0 _7 x8 u* J if(o.length == 0){: A. _; M% ^3 C1 s$ j( @$ ~( [5 c
for(var i=0;i<c.length;i++){
+ X$ S4 M5 ^. u: H- q) @' ` eval($format(c<i>));( x" ^& {) k( X, |4 Q
}
" z! S' u5 F# ]3 l. h5 U }
9 Y2 o7 ` G6 _. n: [# x
; Z+ P3 h: m1 Y6 @) k if(r!=null){
$ o( z( b5 o+ P return r;
4 A' x1 @. _2 C M }
, N- Y% Q. {& B) H7 ]: w3 ` $ x5 T# g5 a# ^% d5 P' A+ a
if(o.length==1){! R _. j, I3 }# s& U' k% E
return o[0];3 U- o4 ]6 ^( R6 K$ E
}
! z+ S) L$ C0 B ^ else{
% B( g" }- S, \* z/ X s, b1 V+ a return o: T( u+ q4 |, d" @/ ^* ?
}
) o) n j" h( v. \0 ]' X7 T
# S, Q$ _( h9 [ e }! Q3 i) {8 v8 a- K9 I, d1 g0 c
var lrc =$("#lrc;show()").innerHTML.split("[");! x# E% ~, L4 x, K' M5 ~7 k) S Z; A
if(lrc.length>5){
$ ~9 G/ x, A' @7 t/ rvar array = new Array();
& m, k- Z: p0 b. F1 A3 Q' J3 U$ U+ {for (var i=0;i<lrc.length ;i++ )3 f2 J2 F- ^3 j0 `0 |* r. F2 `9 D
{6 A {- P/ z4 e! \7 x" R6 x y
var g = new Object();4 C1 W* ?# }% A% h
t= lrc<i>.split("]");# u2 _5 e2 `1 e/ }2 y: W
g.time = getTime(t[0]);$ q ~8 U/ ~* w$ P6 n# I% m5 q
if(isNaN(g.time))
# }8 F) E$ f2 e6 d& J" A continue;7 j; P( q3 d. f0 B% [ s6 y
g.c = t[1];
- w4 G0 T! ^' [9 p G) N if(g.c == "")
: Y- `& _3 u$ {' p; [6 H g.c = getNext(i);
- K, |" l- C" A/ \( @9 \ array.push(g);
- R7 _( F Z8 g}3 h) x9 c g; b
array.sort(function(x, y) {6 ?& M% t% y: `, T3 v# m8 d/ j
if (x.time>y.time)
s c0 V3 J$ K6 C/ Z* z3 w ~& O9 ` return 1;
& W2 X4 `- I. d* \: `# |7 y else if(x.time<y.time)
+ l6 x9 w+ v: F' Q0 _* L return -1;
' }2 R# K/ R( G6 L! b else
6 u- T4 M% }$ |+ h" B1 g# b return 0;
9 I1 r; x' O$ U9 N" c) p4 ^ }
7 E' E0 h6 a( h: i: R3 K);
9 @& f/ B2 \% @: V- B0 Y, cfor(var i = 0;i<array.length;i++)
+ v$ ^: D5 J; _ ~+ B9 ^{2 u3 K- q5 I# v7 ?- x( ^: f3 w% F
var g = array<i>;7 Y) _; a4 z& F; _2 N
if(!g.c){
j9 i7 M$ m) P# Z: H g.c="";# u4 X* K$ F: Y3 G
}5 g3 d0 J1 w2 h2 r. `" Z- n
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 I! ]5 K7 Y$ m2 v: M' [}
; M- a/ b" j: E9 M4 f3 Rvar time = setInterval("lrcList()",500);
/ R; f" C% r3 O% o3 K. B9 P: k}else{
+ k7 A# [; Q9 s% V7 W1 ^0 V5 G4 D: }6 x $("#list").innerHTML=$("#lrc").innerHTML;
/ `' {" h% `9 i* t" W}" S/ s4 v0 x4 V# E) u2 N
function getNext(i)
2 y/ r2 z5 c* [& D1 w* h+ ?{
/ w1 g- s, R6 ?7 r# t8 \% g; R var result = "";- \/ y) G/ z* r: |5 `# D
var i = i+1;4 S: @7 E" r0 w, n; \
t = lrc<i>.split("]");
7 C, v- n. s( ?( d8 h, w3 s" W if(t[1]=="")* O4 s" d( T. @( V7 @, [
result = getNext(i);) ?4 J, ?+ j% S
else) w, ?, L! j' D! d* M y5 R. `
result = t[1]
- K$ ]' M f4 i- U return result;5 S1 |9 T {) }2 J0 L" Z3 ^
}- w( o; P& v, ~. t8 Q
9 o, P9 h4 E! A# ^2 Z5 F1 Hfunction getTime(str)
1 E6 c% K' f3 ~3 p{1 _8 u" o5 b( c9 [7 x5 D Z
var time =0;: V' U; |4 v" c2 E) U p, s9 L6 J
var ta = str.split(":");
) \ ~3 ~% T* [1 O6 x if(ta.length<2)5 n! V. H' ~4 k- d) H) o6 O
return time;( i4 h$ D4 O; |1 t0 n
X; q& a1 E) ~) m! q: q if(ta[1].indexOf(".")>0){
* D) z, J. U9 l: e( S var tb = ta[1].split(".");
+ w6 o) {/ H& y# [: b time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;8 O7 D7 q5 U/ {; ^+ n
}
8 H P! f2 s! ?; ` else) x: `; \/ j. C4 T& \
time =ta[0]*60*1000+ta[1]*1000;
; J1 m. C+ x- M V7 b) e9 X return time;3 E0 V5 r" i. O3 O& A o
}. b+ S2 q: c$ J3 C
var preTime = 0;: ?) H; c' K+ r
var nextTime = 0;* x9 y# x4 n; i s
var currIndex =0; t( A% t9 w: p( `2 Y0 x0 \' v' {
function lrcList(){' c6 H2 x4 L; A8 F5 }9 _: _
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;3 R2 K& s6 n( z: k
s = s*1000;* Z4 R" s! l; `6 {
if(s==0){
- _3 s# h! [7 ]# \( e7 `- s/ } currIndex =0;
- z. N2 F* P5 B( ~7 M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 y: w$ B8 n: E' a! r3 q for(var i=0;i<array.length;i++){. {/ @/ C" N3 v! K1 ~! f$ C
document.getElementById("lrc"+i).style.color=colorNormal;# j. s' U- g( Q1 r6 d1 B( H+ X! H
} y; S) ~1 Q5 c/ b9 X8 H) O1 o* n
return;
& w) R8 Q- X, m- g# S" V2 J }, [9 y( @$ e. E9 |& A) H
if(s>0&&currIndex<array.length-1)
- F" m. E3 K$ |, m" D) ]5 D {
' O9 c% v' e" W% K% {$ t preTime = array[currIndex].time;
0 S* x7 y9 T0 @# z* c, P $ @5 C* ?& T! G* c' Y
nextTime = array[currIndex+1].time;9 M, n7 Y6 n- }$ `+ B J {% v
% t$ @& s" I8 q2 M. U) j if(s>=preTime&&s<nextTime){
+ M% N5 Z2 j2 ^3 E }
$ i3 t; j4 Y7 n/ ~4 b else if(s>=nextTime)6 P. r# T. S4 u( m
{: l# S5 {3 i! F4 T
document.getElementById("lrc"+currIndex).style.color=colorPasted;8 T0 L$ X& u* ]& V5 X
currIndex++;
; q/ b, H6 ~- d9 Z4 e $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ r2 _8 k3 B. s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;$ ~1 w& d# \( ]
lrcList();
" B; n6 G1 o3 C! M1 } }3 G# B* i1 [8 G6 o& m
else{
* N8 p _0 j9 F: p- R: h$ R" i4 h6 V document.getElementById("lrc"+currIndex).style.color=colorNormal;
$ C5 |4 P! C' m( Y5 G( j currIndex--;
' k* x2 g0 h. B% |2 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, u, w) Z7 p2 T0 Z document.getElementById("lrc"+currIndex).style.color=colorPlaying;) Y; |9 [* e" u* {! f
lrcList();7 r' Z8 Y& h8 V2 S. x6 Z$ N& o
} 5 A+ ?' A5 F6 |6 c* z+ I
}1 Q% J# j4 s' t4 ^; H! n, u" }7 q; r
else$ R" w' Z( g2 U' M4 w" S4 I
{8 v" W" f/ d) ]. ~
if(s<array[array.length-1].time){) Y+ U$ Y# e# Q) N0 `
currIndex = 0;
! G3 k$ d; b$ R. d4 G1 d $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, N$ u. B, ~$ t: B: E
for(var i=0;i<array.length;i++){% o5 b, ?! [( }& ?7 ^, [
document.getElementById("lrc"+i).style.color=colorNormal;1 F# |0 Q' {. N' a- q U2 [/ R
}" W9 t& u; R/ `- v# O, j: B. ^
lrcList();
: N( D8 ]+ s' _! P1 Z* y$ X0 | }7 G/ s1 w ~3 q, E4 P$ T/ i2 f% @
}6 _; k& A4 O8 S
}
( p5 ^- n- m: ^: m5 `</SCRIPT>9 y: C: H' U- F2 N/ f% n- z
</DIV></DIV>
' i4 s; t! Q3 E( y
9 H/ k" {: K& P% j( x[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|