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