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