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