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