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