|
|
<DIV id=list>
3 o7 k* Q0 C% o- `" q, E8 O<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
9 o$ f: l+ M4 D3 J& w; k* J1 V+ K<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
# ^6 f7 S+ E0 \: Y! ?<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
! l& d$ R J7 e+ C$ }<DIV id=lrc3 style="COLOR: #666666"></DIV>" F+ [( c8 V( u: G
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
9 j) o' {1 d! P4 ]# @1 C* R: V<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>5 ?/ V3 g# z3 Z1 e9 [' ?
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
1 T" ^) x Z! v9 p# d<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>/ l) I; r- F+ ?$ K1 f; y8 _' i
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
# {9 z; O, Y0 J. n( T) f1 M$ V<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>: i( s b+ a q! O, ` p
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
/ Q4 w. i7 Q4 M- g! R5 X% T) D<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>0 w. }( v1 ^& k3 s7 [
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
6 ]3 ]( d; W: ]3 {# B2 |<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
5 z* q3 U: m& \3 ]% {1 D9 i<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
5 T# o( j+ H K8 J7 e- r/ f) w" i<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
4 x3 }9 s0 Z( ?<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
) T, V6 C1 \+ W$ N8 f; ^9 I<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>6 Z U* u9 T) Z9 v- N5 x
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
2 W1 _ d/ I* ^, M& N8 ?0 A<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>( z5 |& U% \+ l3 j
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>/ J& Q0 R& O8 V3 k9 [: X
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
* ~4 B/ D" W- a<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
% I0 R5 k5 c- F7 N3 X, J1 f% g<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>: B. U) z" i( ^0 V4 d6 J
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. C6 o; s. U5 r$ K0 }
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>( I& | J& K: l; {$ n( y0 @5 m
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) `9 c/ k$ ~+ o$ ~( L/ T
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>1 _0 C0 O3 ?( g
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
, f+ A' M- S$ `* F0 |& ]2 a<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>& V5 D/ @3 f7 |! b( ?$ h
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>5 A# \* t. F. b7 y: [* Y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>5 r" } H5 x' H
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
5 b. L0 P9 u2 \$ p. Z9 L M<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>! k4 J. _- s8 k! S1 u6 w
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
\7 x3 B6 Q( P9 o7 `6 {7 U<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>% {( d2 I& d9 {# J6 A# C4 T
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
( z4 W5 m5 \( e) O6 N<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>9 P; Z0 C' I) o" R* S- m& Y
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>, R; |' m% d s6 Y
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
. K3 f& j+ E" B. ~: P<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>$ J8 f( S5 d/ l& _" ~( p3 c" W
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>0 Y3 X( h0 @* y8 c
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>2 _$ c2 X) j& a% S
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>1 o" l8 d1 y: j' R3 R
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
% r& ^( X' O# f% i4 W* r: F<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! v& U( Q0 c) p; T5 E<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>4 G4 v) Z l# Q) n! [
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
+ J$ X& ]* ?$ M2 J* c8 T& n$ h<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
& Z) D. R+ Q- l) K' \8 @<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
0 p# g U( r, e4 y# v% s, h+ }<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
9 e, `# o' F! F* y2 e! y<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
7 M" z7 f) ]: N) _+ @4 e<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>7 l2 t% J1 N0 M& ^% D3 u7 H' o: k: V
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 * P) u ~4 u6 x: B
<DIV id=lrc style="DISPLAY: none"></DIV>
0 _2 E7 E( C1 R* C# l<SCRIPT type=text/javascript>7 f5 r! C. C: I
document.domain="1ting.com";
6 o0 b% g8 O# N& `4 kvar colorPasted="#666666";8 c5 D& c2 u8 i2 W8 U& A9 \; V
var colorPlaying="#ff3300";
$ e" U; w4 `* {8 c# B" G0 t+ z) h4 ivar colorNormal="#000000";* J; ~6 w$ q( u" d
$ = function (a,g){/ M2 L( Z) K! ]+ C D% h# ?, Q/ S
var o = new Array();
: M# o/ n, K8 E" t" [2 A var c = new Array(); 6 X, _% F) y3 D; J2 }4 u. `
var r; 0 Y; u1 f R) _5 k) g
var u; / F( e; \& U& p( N( M4 |. y! x. d
var a = a.split(';'); 9 O( s; j8 j) P. q8 r
9 ~% K- V' O, Q8 Y5 V7 H8 h
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
4 E7 H% R) y3 B8 m for(var i=0;i<e.length;i++){- B6 l( [7 W6 ]+ |
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")) b6 R1 k8 o1 y' t" V8 C9 B/ }
}
$ L0 u6 z( m5 H Q& e( T4 d
* @1 H, w: O$ X, m0 P2 G8 u after = function (t,d,s){+ y; ]& O' I' S6 ?0 h
$after = function (){) `9 x) l6 O1 w% q$ O
var $n=document.createElement(t);
, Y# D {; r E8 g9 R if(d!=null){
8 x% C/ w$ H( R! W k* z $n.id=d; / a5 y) a3 T, c( E: g9 N% h
}
& {5 r7 L2 D# R5 `
- R1 ^4 {/ S* ~ _ u.insertBefore($n,null) ' _* [) i+ Z# y. G; \
r = $n;
8 l4 m, {0 S' J+ H2 y6 T1 O0 _ u = $n;
% |* y1 C( g C }
0 V. J) U* S+ c! e% w $for(s,"$after")
6 Z; Y% w# S% z }
7 B2 I6 j R1 f1 n& }7 S1 I
! w; K5 |4 e9 x/ m0 h5 h) ? show = function (s){
& A0 K. X! l( S1 I) t $show = function (){
0 ~1 P+ Q( C/ Z u.style.display!="none" ? style("display:none") : style("display:block") ;% y4 ~% c) O0 d. o- R* R" ]
}- d) `' u" I" s3 T) `" K
$for(s,"$show")
/ r* H4 ~: R/ h5 ~1 l }
1 l" A, [4 {, w' ?0 Y t
' g/ ?" N' J+ r9 `& H' S/ x/ T check = function (t,s){
2 X" i' C' W! x4 ^3 n- ? $check = function (){) V5 X% r# E2 Y
if(t=="2"){: ]1 \. x2 Q8 }( y
if(u.checked){' u8 A7 M# h5 d5 _ ?7 L1 o7 e1 ~
u.checked = false;+ j* d* m( y6 {: f0 L$ q* S
}else{6 ^/ J8 ^& a" U7 S) }8 Q
u.checked = true;
# z! O# k, ^$ [# E* J! v }
/ a$ O3 l/ S9 ~0 N: `2 U }else{ Z# ]( p' R8 P, U- o# Q! D5 j
u.checked = t*1 ;' V) _% m+ |1 H5 n
}
4 Y, p( B/ q% M' V& [% P6 ^& c }
4 d( U/ _& Y$ l- e5 O- _4 B $for(s,"$check")
: E& h3 \+ y9 l- `: O) w1 w; O7 D }. Z% d( |! ]1 v; j
7 J! ^: e9 e# A: z f2 y2 g, U
style = function (v,s){2 f0 A w* ?; D% }& u7 I7 N6 h! y
$style = function (){: v6 L/ o0 q% \+ Z
var $n = v.split(",") 5 T6 }1 I6 X7 i
for (var i=0;i<$n.length;i++ ){# X' K" @. m, a. X4 O0 P1 K; ~! c
var $m = $n<i>.split(":")
3 [9 J0 p5 h5 \2 i eval("u.style."+$m[0]+"='"+$m[1]+"'");
$ }5 m- P! B& k- n& ]( c7 c' X: r }
6 |0 W# J5 F* g Y; ~! X$ ~5 J }
. S: Q6 q; c4 ^ $for(s,"$style")+ s, v* x! {# }/ O" f; ^
}
% k! P3 s9 C1 N& Z. c% Z' R/ a- N1 r* M" n
value = function (v,s){
5 N9 k4 E! C7 W ?/ }& p var $n= $this (v);
& a) g' h) f- \8 q* R [ $value = function (){
# E3 y/ D' k* R( q u.value = $n* A4 X1 j8 [; z* k, J5 T
}7 w! A. n1 n1 z0 ?5 O" Z
$for(s,"$value") + V& z& K3 R% o* s4 _
}, `7 {4 e% O: K/ R4 ?
9 y3 W! o7 Q+ U% y1 H text = function (v,s){5 @3 q5 u% a6 r! _) Z- N; A0 A
var $n= $this (v);( o. ]! a. w- Q* R6 r* P
$text = function (){
! M, z* c( o4 V
# y3 X8 c$ [9 _# N, M u.text = $n6 b! h$ O& K1 R7 Z" N( M
}
+ X; f6 |4 e2 r/ } $for(s,"$text")
- K6 V0 B2 |$ U% z/ v* S }
. u r5 N5 n+ @; s# f; y+ J% ^3 U- C( I( s4 u) q) ^. o
innerhtml = function (v,s){/ E6 P: N& \; v" }5 P2 P
var $n= $this (v);3 Y5 N, t% m, E+ l! e: G
$innerhtml = function (){8 j3 i& R" C4 Y# I+ Q8 N
u.innerHTML = $n- s2 ^" s$ U8 P5 y3 |8 U5 v
}4 g: ]5 J/ j" I8 |9 C+ T' q; ~
$for(s,"$innerhtml")
: B |6 D& y" d8 m! W- D* Z }4 o/ {; F) d n' Q
3 R' U* A5 t# ?! x! ] removechild = function (s){- h& K% H1 w: z% Z
$removechild = function (){
5 `* i( f( S' }" Z4 P# q4 ~ u.parentNode.removeChild(u)
8 ^/ v( A2 T3 {: [ }* @3 i3 } }: I( {- [5 w
$for(s,"$removechild")! |9 L+ ~& G6 z( N* D/ H
}
# V n5 _, h0 b* U
8 s7 C& M: Z2 F, q9 m* e6 u c4 B $this =function(v){
" R: x) J. d$ S0 v" D8 C/ L8 v, t if(v.indexOf("this") == 0){
* M# [, n0 V( e2 h) Q5 s return eval(v.replace("this","u"))# S; Y% M7 \7 Y# W* p
}( B6 o: \) j9 [" I: q
return v;
# U. f6 D1 s0 j+ F7 I }
5 {, J' R) M: n( g6 h/ T! D' `6 J7 V0 k, ~; O w4 P
$event = function (s){
7 n% d8 }) B" C/ c% J) ?* H. P var $n ="u."+s+" = function(){$work(this,s);}"
: i A$ {, T0 c* m2 ~2 e R return $n;
/ n% G2 q" l. ? }
. J& j. e j, D* P& q6 u/ y" z1 I, P) z" x- {2 L2 M3 j
$replace = function (s){
( h# k6 H0 s+ k9 u9 R7 W9 k& Y% Z; J( W2 @
}8 S# c3 \" Z; ^& X( x* E3 }
b8 G7 ^( t/ e, x+ B
$for = function (s,c){
3 [2 p+ v, ?: @6 L. T4 l3 O/ Q var $n="this."+c+"()" ;
7 R# j0 x! U P- u& ^ if(s!=null){
* S$ J' N7 A/ w0 Q9 Y O var $m =$test(s);* T. S! m H1 D
for (var i=0;i<$m.length ;i++ ){' D" N% d# w8 M, c+ x9 B
u = $m<i>;
" X: K% X# D0 h3 \! a# W eval($n);
! S+ C8 |: c- I" S }2 f' M4 \, h2 P2 \0 m
}
( A" f; m, L( i( s5 ~+ M else{5 Y8 _6 M; A, D# k1 u
eval($n);
) F$ i2 n4 R3 [) P" _* P5 F5 s }! h E, | r+ b& w- p
}
2 d; Q& V! F1 o2 C/ u, n
) B+ g, r P' V4 K7 | $test = function (a){ H/ V+ @- `; J6 b; a b; ~6 x2 v$ M
var o = new Array();$o(a.split(';'),o);. T! J" T; g* O( n& z: Y+ g4 w
return o;7 D# v% L4 f2 ^
}
% y, r5 G, e9 V# T; ~8 E+ E; u4 X; l& k$ g% I/ b. F1 R
$format = function(s){
! g3 t$ L& o! n; B9 }: O3 W' @3 K while (s.indexOf("'")>0){$ {; Z" T# b. j
s=s.replace("'","\"");
( q1 w" B* W" M7 h" n }
" m7 P+ i/ p. O2 U; F3 r while (s.indexOf("][")>0){
# z- g [0 J8 g9 S. C s=s.replace("][","','"): }2 W6 C( U& T d0 P3 H: C
}
. Y- |5 Z) ]5 ? while (s.indexOf("[")>0){! W! H- V8 `9 y. Z1 { m# S; H
s=s.replace("[","'").replace("]","'")0 l" i' j' T& _+ l$ n
}
# }$ l2 R$ ~% a4 B8 G; e. ? return s;
* {6 T2 X+ K/ s6 o7 y$ T }
$ _; C% p1 {. M; y! q! p. s+ C K) D: n( F4 n
$work = function(w,s){8 A* m: M, P# S, t
u=w;eval(s)
# r, ^- ^, e% W2 w9 ^5 O F }
. w6 w- |. v% B
7 P( b. E7 d9 e# y $id = function (s){
z3 c, m* J1 p1 q return document.getElementById(s);4 v" l' E! {7 F
}0 V- Z* h& l: V% U! ^- W
- I8 `/ D, P1 r6 {% {( e0 u $name = function (s){ O) F+ W, q# y$ W ]1 I
return document.getElementsByName(s);6 P [7 y5 Y1 F" u0 O, ^
}- X* \; U9 X( ]. `3 w5 B' x
8 U2 E/ P+ e# y; x) A2 r/ `
$tagname = function (s){
- l: t6 ^$ H) o; o4 S- s return document.getElementsByTagName(s);
' E& i5 i5 S4 ?% l" _+ A }, I1 W; ~" C2 @, @% m' d9 N
8 f4 k4 w. X- G' Y7 V
$o = function (a,o,c){
& ^) M( z) ^. U $push = function (n) {$ w6 R/ j; N3 S7 C T! P6 C
for (var i=0;i< n.length;i++ ){
: [" K; h/ X, Y; ~ o.push(n<i>);* {' T* S( H; x8 L
}
: p6 o) E7 N6 N" O2 W }" q/ v; {2 `7 \8 W1 \
for(var i=0;i<a.length;i++){0 c3 |9 f- v1 [; X$ t* D2 D
if(a<i>.indexOf("(") >= 0){! _7 m# m6 L: i) |+ O; R
c.push(a<i>);3 _+ G+ x. a. ^. x' l
}5 V" `+ f I0 w9 Z+ |
if(a<i>.indexOf("~") > 0){( u: |8 g/ `: h3 E5 U% N
try {# I+ F" u# r5 M" D! m! i+ _* g
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
. U: w+ ?7 E2 O/ \' X8 L& M$ X }catch(e)
. }+ u; S T, e" c) Q( U {}
/ P- ?9 d/ Z; `6 P Z3 ` }+ `9 @5 r* r! X% q* ? ]! l f
else{, n$ m: j$ S J5 B" k8 _- m
if(a<i>.indexOf("#")==0){
" v8 L4 b' E$ ]) g2 c$ G o.push($id(a<i>.replace("#","")));/ ^4 _1 J9 n% k( O$ i& d
}. u$ g1 F0 p& `
if(a<i>.indexOf(".")==0){4 I- j3 U% X5 t [
$push($name(a<i>.replace(".","")));
4 ~1 |( U* ?& q }
0 v$ {/ I9 \' B3 j4 H5 k8 ~ if(a<i>.indexOf("@")==0 ){
1 _0 Z/ _5 O! j! H5 j; W$ e- x $push($tagname(a<i>.replace("@","")));3 l* H8 }; f q* }/ K# s
} h3 p9 p0 j# Y: j# X
if(a<i>.indexOf("*")==0){
, h V* I$ I7 X3 ]2 R0 [5 _5 g* { $p= a<i>;, e" v" y$ B0 F0 V* Q, O" ^6 Q
if($p.indexOf(".")< 0){. y$ |! ^1 e1 |
$p = $p.replace("parent","parentNode")! Z! g7 z9 l- d4 s
}8 ?1 T1 N8 v! S! Z1 K! Q) q
var $p ="u."+$p.replace("*","");5 _# E5 n( q0 [3 R# G8 r0 H
while ($p.indexOf("parent.")> 0){; e4 Q+ v# L9 O) }
$p = $p.replace("parent.","parentNode.")
0 M0 W( K' |7 `" i! a; } }" n: q! I! m5 d
while ($p.indexOf("child{")> 0){
. b& j) l+ {4 u+ e+ T $p = $p.replace("child{","childNodes[").replace("}","]")) ?3 r9 j: h- h) z% \+ O, j
}0 ~3 _. C/ y1 ?) y
o.push(eval($p));3 [6 o4 M4 y- \' z, |: |
}( _' L; ?5 z! B7 Y# m$ H6 r* y* g
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){# q- S0 l4 t d! w* h$ ?3 L
o.push(eval(a<i>));
, F5 V* R9 }8 |7 p' C h% Q M }1 o D3 a! c3 {. q
}% T4 G* ?) w6 N% Z/ r3 ^% m
if(g!=null){
1 a7 K7 W1 `1 q' S# P o.push(g);g=null) o$ j, i' F* r8 @8 }* W9 d
}
# c7 e/ b; n& f5 Z' D" z }
( ~4 w& W; L# k9 C7 d2 r$ _ }
0 o& H& g) J8 r$ |5 L, y5 ~! j0 D/ @9 P/ c3 ^6 p
$o(a,o,c);
9 l* }& T! g* p% X
8 `/ [8 s( f2 J& Y$ Y* }# V% K ?, p for(var i = 0;i<o.length;i++){2 n3 V# o( d. g4 ?
for(var j=0;j<c.length;j++){/ K# F0 |! U c6 t3 ?+ q( j' a
u = o<i>;eval($format(c[j]));
* c/ N8 ^) d' W }0 K8 ` }) C& J; \& d
}
- a. N9 C& m: K+ a3 L) g
9 S4 W2 v& Z" ? if(o.length == 0){& T, \: O9 l4 @! q% B* D
for(var i=0;i<c.length;i++){/ D2 T' O% {. \$ Z- J9 j5 |
eval($format(c<i>));
; h/ U" M$ U. M5 W0 f e }, U2 Q$ @" H7 u9 H* c* Y; @- S
}
1 P: h- z* e1 X5 R% Z: a: {# [ 1 p" t6 k/ J1 X2 H9 j
if(r!=null){
- |1 D* O: l3 T return r;
9 s8 x: l0 ]% r0 w } ^' P% J% I0 H: [8 }6 s: ~& m% X
' `' {8 j* F! y2 M; u; p if(o.length==1){
2 x$ E% i$ I( d# C0 C7 z return o[0];
Y% v3 ^" D$ |* p0 ]# `( @' E3 o }0 P* T0 m2 J2 i* @6 U
else{" ~6 ~) u5 k6 D
return o1 X) I4 l5 n# p* b2 D) Z7 \: M
} # n5 t2 K* T/ j& t: y
: G$ ~, h4 A2 w1 |6 P! Z8 V }
2 r, F( ~. M. ]: Q& s: Mvar lrc =$("#lrc;show()").innerHTML.split("[");
% c' i8 o i0 K8 E9 i: {2 uif(lrc.length>5){
9 i' o% T2 `" B* F+ {, q% Q2 Qvar array = new Array();: ~+ X1 S0 ]9 v/ R" _( F
for (var i=0;i<lrc.length ;i++ )" [6 ~ K4 ]/ N' u5 d: t, i, @; p
{
, g) {) ?+ N/ c9 T$ S1 z \3 @ var g = new Object();/ ?5 {4 |' r' D* ^ h- \ p' O
t= lrc<i>.split("]");) \# W4 E( r- Z/ Z
g.time = getTime(t[0]);
# ~1 C9 S* o% X if(isNaN(g.time))
9 c4 b5 H. ]) |8 t continue; i4 d. _& L% A m& t& h+ i. H, f) s
g.c = t[1];
" m5 U* v6 ?3 e# ? if(g.c == "")
7 ~7 _1 _8 I) x* Z$ _ g.c = getNext(i);
% a) T4 r$ L# _1 C1 Z8 h4 h( H6 I* R, X array.push(g);; a3 i u' p X6 ^
}
8 x2 m1 ~) ?6 S6 n+ tarray.sort(function(x, y) {' S% m! [ Y$ c3 z4 A
if (x.time>y.time) * C# y% S/ ?- l. {& y* c D9 I! T
return 1;2 Y8 W, l; v% `! p
else if(x.time<y.time)
6 l, J N: x+ h$ } return -1;' b6 ~1 G4 m3 j5 I' p6 S* \
else9 ^/ q, R; d1 d4 Y! ~
return 0;0 n* P: {% u2 f P# T
}
" I' H8 y H1 }. D4 y! d);
; L3 U- o6 T- h6 z' r k$ D/ Kfor(var i = 0;i<array.length;i++)
; ^9 j5 ]0 M( M6 T/ Y{" g0 ?8 x- m o: p
var g = array<i>;
& @, g3 l- [5 Q if(!g.c){3 Z0 }8 ]4 w! I7 _1 T
g.c="";, D3 I4 R3 f) W4 @: x: ~6 t
}
7 Y& u7 V J1 C# m* @) w* V $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";6 x' J5 x- X6 x1 M' t
}7 v1 P+ d- _) q* J
var time = setInterval("lrcList()",500); 2 t( h4 e2 d; P
}else{9 Z6 w: D ]4 |
$("#list").innerHTML=$("#lrc").innerHTML;
$ F' I" ?% ]/ J* p" g4 d}
% n9 S \! o6 v. T' Lfunction getNext(i)
; Q# M/ }# L' B t2 E{
, g0 U8 x# s B+ N" S- |, G var result = "";: ]. L+ d/ \# R; w, y
var i = i+1;
* ?+ Q3 f. S; U( k- z2 |$ w/ K; q3 s( w t = lrc<i>.split("]");
" B/ W" I+ `- t if(t[1]=="")
: v# E/ x7 {4 d" J0 K result = getNext(i);0 q D/ t5 P1 z, h" H+ a
else
5 O) g- ~/ A/ K result = t[1]9 m; Z, C; `1 Q0 W3 t j" k
return result;
! u. s$ |! h+ N! U$ x Q% T$ [$ c}
$ W- V+ H5 G# s0 J- Q0 F2 \5 ]
3 T0 t; X! h& I( s Dfunction getTime(str)/ Z& | L& ?6 W" |" X/ |
{( d$ G w% e% [ C
var time =0;
- g I, J) Z8 F. R- a/ e! j/ [ var ta = str.split(":");8 u; w9 L/ q+ \! D
if(ta.length<2)* a$ f3 S$ T" C& F
return time;; f: D/ {) w% M! b' ?
, y: A. p0 N4 g4 X" H; k" H
if(ta[1].indexOf(".")>0){
/ }* a) c; h8 p! n4 A* b7 I, n var tb = ta[1].split(".");
0 M9 H2 N0 K: N time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
( y3 l3 l# }& W+ o( x( z! t }, ^1 ~& _* }0 Y% Z& @: p; {
else6 ?+ G8 D) Y3 R5 {6 q. p
time =ta[0]*60*1000+ta[1]*1000;
$ _; G! E* _1 A T( Q" J return time;
- j# T3 |+ f4 O/ s/ r% L}* G7 g( p' \3 Y4 P* i( [$ T
var preTime = 0;" i1 G) A- W) J! h
var nextTime = 0;
) X' i' h7 I) F# ], j9 lvar currIndex =0;
6 t! W5 m( E0 | K4 x2 Efunction lrcList(){" B( ] D) O( A' b5 p, h
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
|1 v; m: v+ @% F1 V8 n9 l s = s*1000;* y8 Q) V/ z& ]" E' }
if(s==0){/ R4 w$ g. F3 Z0 E9 B9 A P
currIndex =0;' j( p. f5 J- I) |/ M
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- E" }% F% E* x' c) k/ \; [
for(var i=0;i<array.length;i++){- d! L' X- Z9 U/ m4 S! A% Q
document.getElementById("lrc"+i).style.color=colorNormal;
( E: ?1 D' V$ J }) W( i9 K$ U; V' ?0 e* f0 e& x
return;
- E, k3 X* M# | w }
5 o5 F; |0 |: c5 s, A if(s>0&&currIndex<array.length-1): N' Q3 v. ?2 v8 } w: \% N
{ 8 I k4 ~' S% \; [! I
preTime = array[currIndex].time;' V8 [* g2 b$ Y5 c; ?+ {5 |
. x! u/ t' X4 {, @! I7 D
nextTime = array[currIndex+1].time;& w7 k* ^* T9 l+ l( f
' E, n2 q& [ N1 w4 R
if(s>=preTime&&s<nextTime){+ l+ A% G2 {) A: T. E5 H' w
}$ ]2 g$ f4 q+ d
else if(s>=nextTime)
3 o3 K, o7 D7 H( h7 s& P0 o w {) L1 k6 F& G; m! X3 }% f/ N, L
document.getElementById("lrc"+currIndex).style.color=colorPasted;5 I7 B# ~( ]8 j5 U* ?9 G
currIndex++;
" d1 O* U5 q$ H" n $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, N+ |! M/ g9 i7 K O! K& _: _
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
7 \4 d, @* A: Y) t lrcList();
0 v* V* p9 y( F" ^ }
3 E( ?* @6 Z8 c" e$ u+ u1 O7 M1 K o else{. Z7 B+ y% f/ H! m! s" G% v9 ?
document.getElementById("lrc"+currIndex).style.color=colorNormal;
( Q) _( X) w8 H currIndex--;
7 M' m2 h+ C' h' ?+ N Y e $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ c& K1 ~; ] e" d9 |5 i8 `
document.getElementById("lrc"+currIndex).style.color=colorPlaying;: t F G5 ?% v- I: j* X i3 m
lrcList();
7 l; `$ ? C8 v& |) }# s } , j7 o* i7 @& [ J+ \
}
. C8 k! G' p t# l/ @" ~9 l( E1 z: L else
7 n7 J, l. O7 Q/ ` {3 `6 p( J! [( J5 o
if(s<array[array.length-1].time){
K& L3 z! h) E& M7 ] currIndex = 0;7 t1 P9 S# A; \. i: a
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. \1 X) H6 N) _- o- a
for(var i=0;i<array.length;i++){
. X; R# h% P& _0 F R' l document.getElementById("lrc"+i).style.color=colorNormal;: D+ y9 F. V! F3 t+ b
}
9 f/ [' h k# s8 D& k. v lrcList();, ^4 _. w/ q# \( ^- f& b5 n, _
}
: D* h4 V3 i6 P% G% l1 g }
" e: @6 _$ D( O}
: t: m; ^. A$ m9 A</SCRIPT>/ ^: y4 |( t* @$ O
</DIV></DIV>* g' u; R1 r2 q
1 o+ ^( p+ c* i7 D9 l. l[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|