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