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