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