|
|
<DIV id=list>2 H2 a! n7 t# T: G. t1 i8 ]
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>9 w7 k4 W& B3 n" _
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>5 ~8 S- v! U2 }( k, Q4 V1 \
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV> ~: D$ M4 N8 K% ?; \) d) F$ p
<DIV id=lrc3 style="COLOR: #666666"></DIV>
& C; R0 D, M8 {8 U+ ^; K+ d+ x4 R1 D<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>4 y$ ?5 g9 ~0 U$ Q# i) c% P& A
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>9 B% W5 K& N1 W( o
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
8 g8 z9 K& K( v; ]* Z<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>2 w6 Y- R8 P8 m1 ], y, }' n- y
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
& M5 D0 j- x9 f: ]/ ]2 j: |1 [<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>! n6 u9 r6 W: d- N: Y4 `
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>" `* j, K g$ @7 T. r
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV># w- _& S# \. q/ i) s
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
( Q( y: x; _4 t* P<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
/ b' t7 e ~+ B- d! T2 u" S; Z! d<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>5 @- t! }. x6 v! `, f, ?4 O2 r! Y
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>. ^- y$ Q5 ~( g9 l8 w) u1 @( @
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
5 p. G0 S/ t& B* u/ s% l! u: H<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV># b( ~0 d) Y/ d0 C8 e/ \
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
6 m3 {3 P3 h! a' ?<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>7 s6 _/ L9 U& \
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
7 \+ _& A8 a2 W) U<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
. A, k; S' I( }$ s3 ?- }0 N<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
8 @ b& y+ G2 Y3 n+ h<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
* {2 h1 w, i) X7 p8 Y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. ^5 l5 D# V- q3 d4 @
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
6 C9 G' F. R* U: N4 u; y<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
0 n% Z& V8 E/ T2 C3 N4 v' z) E<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>) q. o; z7 [( Y! H4 P9 H8 C6 H, b! w
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ y$ H; n8 D8 y# ?( p: F<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>% J9 x8 {) U2 j0 C4 G; D7 `
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
1 ?6 n- D% i$ J. h4 H<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
% x* C9 g+ a: v2 ^3 C- s# ]. `: |+ k+ p<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
6 O* Z% Q# g2 @. D<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>( Z2 n" _0 `" Z+ P6 I5 V: |8 Z9 k
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
5 j3 ?( q E0 @) K<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
( u" n) {' L, s6 W<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
: `; y) b N0 V# C<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>4 [. m' D8 {. a E3 U) w: J8 P' e
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>4 ^% j5 l4 C7 |
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
/ P5 G7 T! {& v7 @<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
% b5 Z$ e4 Q u1 F- D8 ]<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
5 @( H9 S1 v0 j' f$ `7 s' U<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>5 f" Q) U! N( r
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>" p1 ]/ Y; _9 k- q {4 q, Q5 @# I
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 P" g7 |3 l3 C# U+ l( k1 I/ u
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>9 y, E j( B1 K& t
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>+ O6 T2 ]0 p: i7 \
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>. P, z( A% [9 w6 T
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>5 H9 j# n# q3 p
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
' S9 E8 J0 {2 a6 x8 f<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>8 V( E, T( G8 G. C5 a) T5 \
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>" g* q, B0 n# }% X6 O) ?/ r
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
9 z1 [; [: J/ B- A- h<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
% k/ T9 C" h9 u7 |<DIV id=lrc style="DISPLAY: none"></DIV>- m* [) S$ Z; a5 d5 A$ w
<SCRIPT type=text/javascript>
) E( t* G2 p9 b9 p0 Y R) o4 V( edocument.domain="1ting.com"; N+ }" E/ d; s6 A5 O& B- K* b% ?
var colorPasted="#666666";
9 o( f9 @+ ]) B. |! L+ Qvar colorPlaying="#ff3300";
2 B9 m: n- n+ Q9 N0 L ivar colorNormal="#000000";- R7 I/ ~7 u7 _0 C# J6 b6 O! ?
$ = function (a,g){
: r) f$ D1 b5 G+ z5 b4 G) w, n var o = new Array(); # k: m5 N3 f8 a( q% F0 x
var c = new Array(); h! S* G! J$ l# K9 ^9 x
var r;
- l0 B+ ^3 e, L4 S$ n var u; 6 I0 r$ Q4 K! d
var a = a.split(';');
0 {/ z& `: U, B- m$ I8 N
: z1 ]4 G" O- x8 a; `% g$ N' @9 w var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");$ K) N; c! R: j, [& j! @2 Q
for(var i=0;i<e.length;i++){
- D3 e$ A6 s4 W" E. M eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
2 w" |0 G/ E7 W5 Y, ]9 P, F }
?3 z; r: F9 @( H9 \4 Z% i# z: P( [3 X s
after = function (t,d,s){
0 Y C* z1 |# @ $after = function (){; X7 ?7 w. F }/ a7 }( Y
var $n=document.createElement(t);$ K' m" N& `5 ~ \- y
if(d!=null){
; @! V. w; h1 z, j0 r' _, u% f $n.id=d; + E# U1 p1 m: ^" p* _
}
5 c9 \( B" P V
0 h1 Q! v5 r' B$ r% r, F; m- z8 I u.insertBefore($n,null) 0 t4 \8 t% D# S( l
r = $n; ! q' G9 v6 h1 o9 f
u = $n; % I+ M) L j: O) M5 K: e8 B
}" \, q' E5 e- j. d7 I- e7 \& s2 J
$for(s,"$after")
G9 K( i! [3 x- {0 c; {. V }
9 r( R; Y% [+ u/ ]6 Z( S( d$ e2 L
! T0 X8 z; Q: p+ [! D# ^( Q3 X, k show = function (s){
( T) ^% p. Q" c1 ?, t9 X/ c o3 N $show = function (){
$ ~ v& ~/ c1 \& {2 u$ U u.style.display!="none" ? style("display:none") : style("display:block") ;
, Z0 {( u1 X' h" f. J2 ^' ? }
% D& o; J) f) H2 H4 C: v2 F% _ $for(s,"$show"), P1 {* C( h! J/ V* e( H$ v
}; O8 d9 T4 X. t. T9 k% H
) P, n0 Z/ c1 [: ^
check = function (t,s){, [# H& Z$ G+ b$ [/ m1 V L' |
$check = function (){
0 O0 ]7 V ?+ B3 |# f) Q4 T& `% y2 b* Z if(t=="2"){
7 c- l( {7 G& H* X if(u.checked){
9 Z' n' g. C, ^* J% ]5 O u.checked = false;
1 e) T3 l- a* C. B2 b* B& V }else{8 L% z/ u4 x# L7 \: H
u.checked = true;
- O8 o/ a0 f$ N) E5 R4 c0 X }
6 j0 f9 Z. [- Y t }else{0 f' J- Y' U$ M/ R$ d4 `; }; t& e
u.checked = t*1 ;
( ~' r& Y% J1 B }: j1 U0 q1 _7 s- R$ f0 n8 G
}" n/ @ O: O1 y$ q j- Z
$for(s,"$check")$ d# k7 a' |* I+ C! i
}# T# p; H. q6 ?; p6 K
0 P! p, I! r# F9 X+ Q
style = function (v,s){
2 R3 ^/ V9 E! H. b $style = function (){- t3 L @3 G% i# y* U- x ~: D+ L( U
var $n = v.split(",") : m7 \3 n# |: I- U+ i# d5 Q
for (var i=0;i<$n.length;i++ ){4 z4 h+ ? d9 W( r4 s7 t* c+ S* L
var $m = $n<i>.split(":")
0 M& L$ G% t. T u3 ]1 h3 f6 ` eval("u.style."+$m[0]+"='"+$m[1]+"'");
0 \5 [* U; e' ?1 g7 i, C* P. f, F }7 E% L! n9 q+ a& {
}
2 r2 k2 Y7 s, _2 n $for(s,"$style")
0 f6 R: c9 \3 S; Q6 S7 v1 Z6 g }
- v7 i" |2 \6 u2 [+ `
$ i1 r2 S1 ^! h t value = function (v,s){
6 c) t9 x R- u/ a, ^1 j& P5 r var $n= $this (v);
) l4 ~3 Y" t7 j$ u $value = function (){, ^( E) v1 y% a( ~0 X
u.value = $n' H+ P* @9 a% l7 m2 x( D
}8 R, }* f% f/ s2 h
$for(s,"$value") , Z$ g& B, L) S0 g2 d) V
}
( ~/ [4 T7 [/ e
% A! N# R% V5 S4 g1 G text = function (v,s){
) P& Q {# M7 ?5 |: h! ` var $n= $this (v);6 d# \* z5 d7 c' s3 @
$text = function (){
5 C! y/ X' J7 C + c! ^! l f( n. F* L# u( T
u.text = $n
; ~8 x0 s- a8 V7 [ }
9 g6 s* K; Q3 s; b $for(s,"$text")
& y' O" q o1 u% O }& w# d- Y2 v2 z3 ~* O2 ]
, N8 |+ B, v0 b8 h1 i8 v, [
innerhtml = function (v,s){* u/ K0 e' h$ o5 L* _
var $n= $this (v);
: Z( ^/ q, {% K $innerhtml = function (){% h1 G; f; Y2 W- j' _
u.innerHTML = $n) ^) m1 m; Q* w7 c7 R
}
0 E- l! l: _6 L* I, P- I3 I $for(s,"$innerhtml")* Q) w# |8 N* s1 n
} g+ p3 O6 @$ p! w$ h
W+ g/ w8 ?, i8 Y! ^1 M5 u
removechild = function (s){) s) b+ G9 x: M' p( N& g
$removechild = function (){
( e- U# b% ?. z, Z4 K/ X/ Z6 \7 p u.parentNode.removeChild(u)
+ `. Q$ g* N! C7 n9 K& O }& A: `$ v1 J+ T8 ]+ ~
$for(s,"$removechild")
6 _+ U$ A! W& m3 b/ k }% E$ D: p. j) E" O* A" F9 h/ ~
8 A- m$ I$ t8 X6 Z: @/ Z' ? $this =function(v){1 J& _ }8 B9 a
if(v.indexOf("this") == 0){
+ K1 Z2 ?) T" W& `. {$ z" m" u return eval(v.replace("this","u"))2 ^" I- H5 m0 D8 O1 o# E
}& z, [, Q' S5 C) s
return v;
8 Y+ L& `; B' E0 p: m }
# s# \8 N( @' f4 Q. T s
6 a4 z9 n( q& `- e $event = function (s){+ L! E, P. N5 X5 s* _
var $n ="u."+s+" = function(){$work(this,s);}"4 u; j- ~- l# Z' {
return $n;2 B. Q$ F" A( I
}1 F4 T7 p- q% {. x; J6 Y
* O1 z3 ~9 X1 b $replace = function (s){
7 V- J1 `4 ?/ U8 }3 A5 D+ h; |* v z! Z2 c; w4 o2 V% D# s* r
}5 S" t+ Q/ H3 k1 c0 g; b
: ^& O( a( u ?$ C8 f/ ~* O" g' W; ?
$for = function (s,c){
/ D, i* a! W) C6 H var $n="this."+c+"()" ;
5 s& h4 }, R$ n8 L/ c0 V' T if(s!=null){6 J2 u; s# o3 S
var $m =$test(s);' Q4 w+ m. U& ~" ]9 d. d, n1 }$ u
for (var i=0;i<$m.length ;i++ ){; P: E" B! i7 c1 i
u = $m<i>;) E4 g" @; G4 r0 T: W
eval($n);4 n: t, g" k1 M! ]6 i/ `
}
" U! V6 g4 Y/ w( k }' E0 a- p' _/ t
else{
) V+ O! W, h1 q( L6 O8 k eval($n);2 Z1 Z' V$ Q2 N R: j$ g
}+ W* p1 l: x& d" T' |1 j
}
& E- x9 k; I' A6 r" w
" V! H- p8 y3 L6 Y5 x9 f9 n, }7 f; { $test = function (a){
v, E. N1 Z4 G/ G var o = new Array();$o(a.split(';'),o);, A( f3 K, i; e9 K* J0 n& Z7 y
return o;: K4 G* K2 K" x& S) Q4 J7 X
}! [0 l+ F4 N9 A
4 \: ^+ k# }& U0 Y( ~ ~, {& h
$format = function(s){1 Y/ G' W& \7 l; g. A% a
while (s.indexOf("'")>0){ s- K% B' [2 M( ?
s=s.replace("'","\"");: G. f7 a, L/ k, ?. m+ }
}
: `1 b8 h" i; q( H; ? Q1 e& m) u while (s.indexOf("][")>0){0 \" g9 g; v0 {5 G, n
s=s.replace("][","','")( _3 q" j8 {1 p* w/ J2 B1 h
}# F' j: l4 _) J* z" m8 U; }3 j
while (s.indexOf("[")>0){
' [- W$ [( [& b3 g0 p* B s=s.replace("[","'").replace("]","'")4 O. ^, ~" \) W5 k. }$ g+ ^
}
6 R( C( `( Y, l: x9 f3 D return s;* g+ _3 H& j2 F) U) `6 N P/ v3 i, Q
}
^0 `# s& B* M3 G+ W% I0 f; h/ k) M \ ]' \, _. k* N1 q2 g4 f, H
$work = function(w,s){# l" c5 U/ ~0 Q) N% q( @/ O( t
u=w;eval(s)
- M3 B ^7 Q) K }7 J" i: q: c) L4 m
& v9 G1 }5 J; _0 ~& M $id = function (s){$ M; ~2 p. \, \
return document.getElementById(s);+ B$ a- D( J9 @
}
; t9 y" L: a) T% x3 F6 {" T0 c9 Q
3 f9 `+ r6 a; p( Y" ` $name = function (s){. n! h9 N' s: m0 y! N& P
return document.getElementsByName(s);9 [3 t/ [4 g& G3 \& t$ {+ D+ D
}
8 ^; g0 h) J( {/ M0 F/ V3 z6 m+ B5 T
/ z% V M/ u( {, ^/ X $tagname = function (s){
2 w6 G4 k2 ^. |: m$ s- f- v return document.getElementsByTagName(s);/ A" w2 `1 K: z0 a* i( j
}
5 y6 _% ?, y- f1 |8 e$ l5 S) X$ n8 q5 y3 s+ U
$o = function (a,o,c){
$ E1 C# \# [' q1 F% k $push = function (n) {6 h$ m( F5 `9 u% J" H
for (var i=0;i< n.length;i++ ){, `: t# `% a% W+ M( o% U# z
o.push(n<i>);$ |9 _* Z: b5 J7 [/ u
}
- K2 Q+ b% ^8 {. f& ~- |0 a7 ^ }( R+ W( F( h( x4 f: K, p
for(var i=0;i<a.length;i++){$ |7 {# H# b4 c$ @; R
if(a<i>.indexOf("(") >= 0){
* r* W4 x4 ~# f+ C$ T6 x c.push(a<i>);0 \# _+ g7 d% b
}9 Z$ H9 z! ~( o
if(a<i>.indexOf("~") > 0){
6 c' T6 N1 [+ h7 F try {' P' c1 o( h7 m- z9 t
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
$ f* `; M1 o# s! m5 S; [* \ }catch(e)
+ { v: F- \. e# V {} 3 N7 P* W' _( l2 B' ?! C
}
+ {8 x/ T! b4 `, d else{
0 y) L$ D: Y2 H u; ^ if(a<i>.indexOf("#")==0){& I) I9 {; }# H- S0 [' |7 m0 _
o.push($id(a<i>.replace("#","")));
, y* G! B+ D! i* Q2 d' C }
|7 k# k: W F( L1 h if(a<i>.indexOf(".")==0){6 @; u# j+ R' |! Z/ b
$push($name(a<i>.replace(".","")));# z7 E; B! N) ^
}
. ]# j5 Q( P* b. a& A& e0 p if(a<i>.indexOf("@")==0 ){1 |8 S7 U- v" X, H
$push($tagname(a<i>.replace("@","")));
; N) g8 [, p R- Y }
% ]/ v+ D$ c& c if(a<i>.indexOf("*")==0){' @4 T m; C1 N, D& K
$p= a<i>;
( L. Y6 x: Q: I8 M9 x0 b if($p.indexOf(".")< 0){
: r6 y! C z" N" k $p = $p.replace("parent","parentNode"): U0 P! y! ^, U3 N
} f9 X& ^& \* j9 |' T7 \
var $p ="u."+$p.replace("*","");
c9 {1 _8 y) `% ?' h2 G9 o while ($p.indexOf("parent.")> 0){
* J, A! V8 Z6 M- i" ?3 B $p = $p.replace("parent.","parentNode.")
; s9 r% V$ s; O' ^+ u- p% l) { }
9 m7 l3 T/ q; B$ w: k* p/ m while ($p.indexOf("child{")> 0){
& R) g( h) y$ @ $p = $p.replace("child{","childNodes[").replace("}","]")
" W3 ~. C r6 h' _" o4 M6 j/ d }
" m$ h, f& @4 ?, m o.push(eval($p));9 s, t4 M. B0 I: ^: E: p3 x
}4 \; d1 ~$ V- l# ~: v5 h; V' e. [$ I
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
6 M- H6 ^ H/ r! [ o3 h' ` K o.push(eval(a<i>));
& F: e* J7 M$ K8 j9 P }6 ~2 e) {; J; y' \0 |
}
8 f# p/ o+ @/ b8 h# j if(g!=null){ $ W& U/ d) ?# S- \( y7 e# ^, H) D
o.push(g);g=null
* g3 D: V5 \1 w& G- T } 2 _" n. p' w4 Y, U4 r" H2 w, ^
}- i! f6 D9 k8 o) R
}; \8 K* m) x/ [2 G
4 i8 S' B' A# J! q8 m( h $o(a,o,c);
* l) z( _ N/ ?5 _, K! ?
0 i9 w: U3 l% H8 f3 Q for(var i = 0;i<o.length;i++){$ N$ Z& J. @" T" ~
for(var j=0;j<c.length;j++){, N& L! b8 {2 Q1 C
u = o<i>;eval($format(c[j]));. n% A7 S% [7 y, C' {" X5 u
}" w* ]% i/ [4 y' r4 q- }
}
& b7 r$ |0 F& C: H% f3 t# G4 A, S- g1 z5 c; t% F9 i
if(o.length == 0){* E* ]) ]$ |/ I/ Y+ n4 S: ?+ R( E) D
for(var i=0;i<c.length;i++){# v1 H8 R7 ~3 i$ Q6 t9 A1 B' e- T! D
eval($format(c<i>));
: \* Q1 w* l4 `: q" j' G) F }/ W8 j! k% s! e3 U. ~
}
1 M: M# O) \9 h' x1 S q4 n
5 m7 i3 o, `1 a* v* Q: i if(r!=null){
3 x! [2 d/ L& O1 M8 b+ O return r;
) I4 d5 Q9 D, z- p u }
& l* r5 d8 p3 ^# S& Q/ a6 q
/ d3 Q/ X5 _( I7 B1 I if(o.length==1){1 r4 I9 }5 n* w! S) Q) u" C
return o[0];
3 D# b* n: t/ f1 t4 N }" R, U* ?: f& B6 n9 B/ x: H
else{. ^% O, r3 G& z( J
return o
+ G1 L: t( u& I U } # F6 S. f; U; c- Q# o
+ x0 w3 t* c. F& |# ^; Q7 C7 J
}
6 b- \. m" k; h, a4 s0 Xvar lrc =$("#lrc;show()").innerHTML.split("[");
9 t! h1 \) _* }. W( ]if(lrc.length>5){
0 k5 {4 X# P8 ~/ |var array = new Array();
0 G; r. x. L* K7 Q2 J1 `for (var i=0;i<lrc.length ;i++ )
) T0 U! ?+ q% d& N6 n0 u4 c X{
, J _" u( G% \ m4 Z$ l var g = new Object();; n) {) o2 U7 Z, A- W4 ]
t= lrc<i>.split("]");
; s9 h# s" a6 ]- Z! A/ i; @% `. r g.time = getTime(t[0]);
- w. D, c0 S2 j+ g if(isNaN(g.time))- H- ~+ a5 W1 R V& Y
continue;1 ?' z6 m0 ^; L5 @8 v3 H
g.c = t[1];
9 f0 g5 X2 j% W" x! k if(g.c == "")# c, o9 m7 I4 s- q2 r9 j x9 a
g.c = getNext(i);' ]9 c3 y, _+ P: {9 e0 R, A, i% C: d
array.push(g);3 e/ G& k* _. ?7 y3 Y: D
}
0 m0 M# U7 G J( ]1 H6 c/ Sarray.sort(function(x, y) {
- l- l) y9 V' j5 \/ T if (x.time>y.time) " H- A% n8 d8 H0 h
return 1;# o. p: E) J+ ?# I' a0 @
else if(x.time<y.time)
/ Z: @$ ~1 y+ e) @: N0 C return -1;
" T+ `3 L- K/ e else3 V6 C* X/ b1 \1 _5 d, Z. v
return 0;3 x' z0 r. R5 q7 o2 c3 l; [2 N
}
# B0 i9 q5 N$ y6 q1 });
x& t: i6 T+ j( M8 @for(var i = 0;i<array.length;i++)
5 c4 `9 D) z" M, {- Z* L1 \: k0 ~( P{% ~, L6 m. a0 |! o- E
var g = array<i>;
+ d3 Z1 O- Q" b; B+ _/ A/ f5 u if(!g.c){7 r/ z: ?0 Y: R- L+ H
g.c="";
% \& W! i$ V9 z! `6 u# L }! W }+ I# r `6 J9 a+ W: R
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 K4 Z% W" C) d }4 ?0 P}, d' v, O+ G# G. d( u, r
var time = setInterval("lrcList()",500);
% ?/ K1 V8 `2 M5 l0 T% }}else{8 c( l- v( {4 i3 n* ^+ q6 R. J
$("#list").innerHTML=$("#lrc").innerHTML;: Y3 V3 r! |! d8 s9 o
}. V' u4 A) u2 e ^5 R; x
function getNext(i)
8 w4 H; J+ {- f5 d{$ |( h% x& a8 K9 X' C6 q4 S/ v
var result = "";
; V) J$ V# c. s Y% J2 A7 E var i = i+1;# l- n6 m T( l! f ^4 i
t = lrc<i>.split("]");' e% d: f* u4 t1 z4 T) ~
if(t[1]=="")
$ k& l' G; a& S/ T% \3 ]- e result = getNext(i);5 l( q3 F8 U: \( C( y% M
else% L! C! ~# R& i: ?7 O+ Z' n
result = t[1]4 g& u" z. A4 o9 X7 L" c4 y
return result;% s' j; T: R( w5 L+ G% X& W
}" K% h! U7 f; j5 J u
! a! E3 a! t. Gfunction getTime(str)
) p& B5 @/ g d/ Y& z{
" K4 Q( }0 H# P# {& ? var time =0;6 H# x$ i. x: ^% O' C7 \/ _
var ta = str.split(":");/ f, T( K! Z- T1 p4 Q
if(ta.length<2)
. c" J7 [6 S6 Z& M- @3 g return time;
4 u5 Y: ^6 \ `1 b) b7 w4 z$ N# G+ q6 b0 s
if(ta[1].indexOf(".")>0){# n2 D' _$ Q$ ^
var tb = ta[1].split(".");* S3 a% I! U7 f8 ?" e. [0 k
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;1 T2 d- p+ J) s
}
, [: Y" U* L4 c2 k1 I else* B c, f" ]5 V$ W5 w. c
time =ta[0]*60*1000+ta[1]*1000;) g+ H$ h, v. {4 e3 c
return time;! |/ t1 X5 W+ x$ }
}: L1 a; u( B# ~$ L, U2 j& z7 ?- b1 B
var preTime = 0;
! X0 g2 {9 E7 `6 k& @5 Pvar nextTime = 0;
* Z% V9 ]1 z% ~; v" Hvar currIndex =0;
' D' K$ |0 d8 k+ m9 e! T) T1 P4 Sfunction lrcList(){
4 a: D: r; v5 H var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 s9 n0 Q5 y! q$ @
s = s*1000;9 v! R- j# S3 F" V
if(s==0){
# ?6 \; s1 W' k% a. r. X: O' E+ f currIndex =0;4 C" g G) I# f9 N$ y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 T0 b, {( M: g6 k1 w7 z for(var i=0;i<array.length;i++){% T+ _6 [2 H, w4 K$ M
document.getElementById("lrc"+i).style.color=colorNormal;% X$ P* D8 G2 B6 \( e" c
}9 ^9 S7 D/ ?+ i/ V$ w! w
return;
+ x1 G/ r B P9 Y; X) a2 B6 w }5 Q( k1 \2 H) ~$ H) ~: ?/ R
if(s>0&&currIndex<array.length-1)
: Z- U, w1 \; |2 k { ; A- {% c5 w _0 L: @ ^7 w
preTime = array[currIndex].time;
* a* \' Z- r, y 2 j4 p& p7 A+ T' y' ~2 s( f8 V
nextTime = array[currIndex+1].time;7 d: K, R4 U B0 d( B$ A
$ i8 o; n* L- a+ H if(s>=preTime&&s<nextTime){
; t# H6 v" B. E0 Q: t }
7 E: w8 z( V7 Q4 P2 H1 ? else if(s>=nextTime)
) a" M1 f9 l/ g8 t$ L {* c) k; _) O% x; A: `5 |
document.getElementById("lrc"+currIndex).style.color=colorPasted;
' `% @3 h& |/ C2 C/ X1 Y: A currIndex++;9 F& I# y2 w1 w; T j% z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 t% n r# m1 W8 @5 Q, E
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
' X9 `( H% {' D3 y lrcList();3 _1 {2 t- W0 c% D7 U
}7 [% P2 Q6 h7 P# Q: L7 d
else{, e% ]% H4 ]; B# q
document.getElementById("lrc"+currIndex).style.color=colorNormal;
1 I5 O9 e2 H+ O* Z: L% V7 D" Z currIndex--;
9 _* x. {( z& I& k, B5 k* C $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- f- f: r) b- r0 r
document.getElementById("lrc"+currIndex).style.color=colorPlaying;) D8 J1 D! s6 [3 E8 [
lrcList();
~ U1 |( G. r; I' _. m* E7 E }
o; b9 a5 F: W8 k, @% A% L* P }0 X; O5 _* Q e5 K$ Y
else; k. ?+ c2 u: M% u$ W8 u( h, w! F
{' m3 b; [: O3 j- P8 [
if(s<array[array.length-1].time){. z! T) S: R5 F7 M1 N6 q& T
currIndex = 0;4 \0 c7 z8 Y, b! H/ p
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 A0 ?) ?! C1 ~" b) G
for(var i=0;i<array.length;i++){ q9 i- k$ ^ E% g8 y" J
document.getElementById("lrc"+i).style.color=colorNormal;4 W5 o' h0 s! J k( S$ @1 r
}
! G& O# h% M! q2 I0 @2 ~9 ]* E lrcList(); r+ u3 K1 e3 {% C
}# k: ^7 N7 y! C! h$ R$ ~
}0 M$ p+ t4 e! g8 E
}6 ]0 _# W0 _/ b* Q2 {. C
</SCRIPT>/ Q0 B$ I. I. {" s+ ]
</DIV></DIV>+ s8 U5 B8 k# y1 I5 J& w$ m
! h/ _7 T( h: o
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|