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