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