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