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