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