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