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