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