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