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