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