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