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