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