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