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