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