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