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