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