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