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