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