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