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