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