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