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