|
|
<DIV id=list># b$ B3 P0 R* C
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
: r# b5 d+ C( `1 D/ C<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
4 G& K8 c6 v4 F7 P# M5 v<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>( a# ^; X; v+ K. @+ V# X5 W
<DIV id=lrc3 style="COLOR: #666666"></DIV>
, T0 i9 Q4 u' Z( r# J! j<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
' v- ?) W4 R4 `. h" b$ b8 t<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
6 I, q% w6 f2 k( [0 O<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>0 y5 }6 ~+ @, r: O
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& Y) V6 S. p8 M" w0 g
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" d" V; z" E3 ~5 h) X8 V8 g: \
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
+ G% Y+ x9 M+ w' C<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
) E6 [# G( s/ r- I- ^% n' B2 P% X<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>5 u0 P. q8 Z/ T+ W5 }, G' C
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
! P/ W+ q' ~3 ?<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
* g( @ R7 ]) V+ D- @" V<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
1 S7 e5 m7 H; j5 n" r, U9 u8 W<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
0 D. n) I* u- M5 J<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
# r$ E" g' m9 Z4 N/ s7 r N/ V3 F3 F<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>: O7 |2 L7 r; n; j
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' z1 D( Z7 W w! f
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>( l& N: L: m* W
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
2 R% F: ?8 R( O& \<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
7 {0 n% J) b! f, d, v# ]<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>$ {& c! O7 n F' j8 C* }& |
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
) r# S: f5 P/ f# P3 Y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>' {; F8 M3 j7 Y) X+ V" ?& `
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>% J& k6 w" w" J6 x! |& |0 q$ X; F
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
# M! P7 k% M: y1 q6 o5 Y( c<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
- B e' S" Z. d1 b- o<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 P9 C3 w2 S# J/ i, D
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>5 x. A. l# J5 R: ~
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>) J& d) d- I+ l& T
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
. Y5 s9 s: k% G1 n% @" E2 K<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>" T R" i, X2 o: k) X3 T0 }/ ~3 I) y
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>' M) u+ K7 W7 g$ _4 g5 m* O
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
9 p2 U" Y! _" ], O<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
n( z# f6 k# {, @% C3 P<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
- |* p# }/ b% g6 N, r) h- e* I5 c<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) J O( B4 R1 @8 n: D# y<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>( Y+ d0 M! H# {7 G
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
& j! G$ x; e! @+ T<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
+ f* H J- b P4 e1 ?' w9 n<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>5 r3 `, U0 O5 [/ A- K
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV> @& U+ |5 X0 E& T# F) l; K
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
# w# G' x+ z. R8 d<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* U! ^/ g0 }- x8 W/ G6 U<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- r+ [0 R" P4 h# ^) P
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV> m: g% v, f8 Y! k
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>" @ \' B0 P; U" y
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
" v. E+ u. j/ p; O" |: U j<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>8 U" }" p. G1 x$ I5 O6 g0 _
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>7 I7 u- D% o% K: v+ n
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
1 c8 {7 q' ?$ g1 g$ r- ^) P8 S, n<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
- T P, g9 @( W) w0 f" ^; R6 v( B<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
1 _; r! G( Z H<DIV id=lrc style="DISPLAY: none"></DIV>% M9 Y M5 ?) a D9 f: D) ]6 P
<SCRIPT type=text/javascript>
9 K4 W+ l5 d9 a* a- @. Pdocument.domain="1ting.com";
! ~6 @) R/ u+ [# F |: V Dvar colorPasted="#666666";
# X7 l$ B' Q2 B, P9 Wvar colorPlaying="#ff3300";) i5 [8 Y' b; |" q) U
var colorNormal="#000000";
! E N r- [3 }! `+ f$ = function (a,g){
1 I5 V3 `" S6 F: X5 w* q! o7 u) B var o = new Array();
& i- B# w, [) | var c = new Array(); ; x6 Q2 K5 z7 ]8 f5 a# f
var r;
, z& u3 Q) L2 D( E6 } var u;
$ }. M5 I$ E) @! v5 B5 ^5 [ var a = a.split(';');
2 B3 s# m5 x4 U# X( b; f3 ]$ V4 V- J _
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
; w a6 A# O: q0 u9 R$ l. o for(var i=0;i<e.length;i++){
' f! y$ v4 x5 J. H% Q eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")3 H* d$ b4 V& z& @' a
}
. D& N- m) p& c/ p. F" @, J- R7 A6 i* F- ], y8 X
after = function (t,d,s){
* u3 f; ^. F9 d& k8 ? $after = function (){0 Y4 b7 x; c6 Z# h) w8 \
var $n=document.createElement(t);
, `3 p7 q' q( p; d+ f if(d!=null){) R8 c$ E, C) T4 V
$n.id=d;
" L9 c+ R j" x. P }
9 Z! ]5 Q& E% k/ N$ s 0 I K0 V* e& e/ ` N5 v) g; W6 X; e
u.insertBefore($n,null)
5 |1 }8 u% o( H8 j r = $n;
1 F- O0 l' v7 f1 b7 }) H+ o u = $n; 1 [ i" a* u2 l4 m& E. u
}; E3 S; S' p" `& T/ v
$for(s,"$after")7 V( n- _! g; ^
}; _. @; L7 d0 V7 q0 P; ]
% d4 {; M5 k/ g$ t% x _9 X4 c" ]
show = function (s){/ S0 L3 R, ]8 X5 M
$show = function (){ X7 F. m6 k7 T
u.style.display!="none" ? style("display:none") : style("display:block") ;; \) k/ O. [/ @" A3 ?: T
}
; _( S) o" Z9 A8 A2 q; f. C# q) W $for(s,"$show"). f' W- e0 m! D% I# M
}
5 F; N' I% Y' C; H7 z" j5 |# V [2 P7 F) [& F. |, `
check = function (t,s){
& k# P- w, r" w0 u $check = function (){
, K X. F0 E3 p6 l+ |$ v; E if(t=="2"){8 }: _1 {! {9 Y& k" b
if(u.checked){ R: h7 i; e+ e2 v. f8 s
u.checked = false;& J% ~2 m: @1 u( A' `8 j3 O
}else{
0 M4 k$ n1 l1 a& Z, k; W/ ] u.checked = true; m" |. b7 J- |6 _& D& Q3 {
}
- @4 |. Q0 t9 \+ _ }else{
% c3 w/ u; F( P$ {' C u.checked = t*1 ;2 o' S+ b6 @# V
}
3 b( }1 ^. Z; e9 g+ t& N [. y0 l }5 R d' p; A* m" \6 V9 a
$for(s,"$check")& ]8 g& N t% A
}- U/ E: j2 k+ v$ w1 d4 `* N
" D1 H( E7 X2 D, F3 f9 i
style = function (v,s){
" P2 ]. C a) j $style = function (){
: X! X! ?/ |: W; ` var $n = v.split(",")
* A5 D6 F, \7 g3 M) r) k& }# _5 |$ y for (var i=0;i<$n.length;i++ ){/ `; T( c# \5 x
var $m = $n<i>.split(":") $ u" c. M2 ]$ y
eval("u.style."+$m[0]+"='"+$m[1]+"'");
* i& h' V) `; [ }
. b! ?- R h0 H6 p3 i }
6 G, e/ h" \# V& H $for(s,"$style")' k$ C9 [' o4 W; b( M' I" V% m
}9 c: V0 Z- h! P1 o# X# q; Z
1 x2 e e+ `0 N3 R
value = function (v,s){
+ B$ ]7 q! o& \ var $n= $this (v);, x! ^5 S3 `$ h0 a% l
$value = function (){# C) _4 Z% m, W
u.value = $n
/ T `7 `' E# M* Y$ v4 K }3 _1 q$ H1 e8 h; L% ]' b; k
$for(s,"$value")
/ D$ X1 E7 G4 ^' O5 |" ?3 Z6 l( s }
- @9 e* x1 I- b
: |* G Y' N9 d; z: G( e: R( e% i% [ text = function (v,s){
6 Y# `- T }1 [2 g% S/ W* I; b0 y) W var $n= $this (v);+ }1 [9 k8 Q& L% X% k3 F
$text = function (){
+ z, j; K: s) e Y 7 _" j' y1 h" C: T: g
u.text = $n! y- c1 {) u. h, y9 r# r
}4 C' P# x0 K8 b
$for(s,"$text") 6 k( n* P( z; e
}
0 w. U4 W. L j/ A, F* r
+ I7 w1 ~+ {; e8 @; G innerhtml = function (v,s){3 \3 f4 `9 G6 d4 W K& O) C* q
var $n= $this (v);& D) C; k1 _& v K) S2 k: T9 s
$innerhtml = function (){
: P2 }4 @0 e7 N, t u.innerHTML = $n- z- F! r: h, L m0 Z+ P1 L3 c
}) O1 o5 ?0 I$ n9 y* G
$for(s,"$innerhtml")" E# ?* Q2 W) E! T$ j1 D$ `( Q
}
! F1 M9 \4 R2 D: e0 o
: G5 E: I0 [4 r2 a8 K removechild = function (s){/ r, P' \7 Y$ o& U( f! w8 J
$removechild = function (){
% \+ n& K; v+ U6 G- t% x u.parentNode.removeChild(u)
: `) H' p" _. M- z, M; n4 q9 D }2 N+ q; u0 [* R- w, k6 b' \
$for(s,"$removechild")
* y% W5 H% {6 V& ] }! `, ~+ @7 n; s: {$ I
8 r ^ {) m. c. j( C" n
$this =function(v){ w4 ]5 l) ?) q* |. D) u9 s/ f
if(v.indexOf("this") == 0){
4 Z/ m7 ]3 J0 T4 t1 |; X return eval(v.replace("this","u"))* b" y8 N6 K' D0 {
}9 ]$ A# t- ?+ X. D7 V8 W. ~! Q
return v; t. q- s+ E4 N+ ~
}
~3 c5 L( T1 i$ O3 ]" ~8 z) t3 v: }4 z# Q2 Q$ |% s* c/ d! U
$event = function (s){
7 Y( \! n/ b5 i6 d var $n ="u."+s+" = function(){$work(this,s);}"
o; b* G, L" a+ g; V% A' ~8 K8 a8 q return $n;
# s4 K& x" \/ H, P }
( n+ P+ \) U' P2 p# }# W# d" R0 m9 I: T9 V8 T w
$replace = function (s){! @+ K% Z3 ^6 b. o+ k# i
+ v1 y7 H! v6 E( l }
( p5 I; o1 E% B/ L1 D
: n% N- J( P( K0 ]1 x5 P; T6 A; R& n $for = function (s,c){/ z1 Y- @* T1 s4 k
var $n="this."+c+"()" ;0 d" `6 i* X) V E, w5 d
if(s!=null){
/ i) X) ?7 q* j* Z var $m =$test(s);
: A2 P3 k( `) v" v) N& D# _( c" f# ? for (var i=0;i<$m.length ;i++ ){- |! T8 R: R5 Y
u = $m<i>;; P4 H& e0 } r$ ?' [( T( z( `9 U
eval($n);4 h8 Y! v/ o, G* ]+ d" Z+ G( X
}
' w4 G! ?8 L. Q }: a% e, t1 N7 Y& U
else{' h# [1 N' m# ]2 z& ]( W) T8 i
eval($n);
. A1 F k7 d' B) a1 Q! ~9 @) s }. G& C7 a7 l$ V, r6 m% \& W5 O
}! d0 W) c3 w5 |8 ^ }' T6 o* x+ j
! i# `) ?6 F- \( Y6 N& M g7 K% b
$test = function (a){
1 Q3 d+ A1 R! c: t- Q5 c$ j" O5 R var o = new Array();$o(a.split(';'),o);4 @% \% _! ]+ `/ o2 X
return o;- ~$ [: r/ S$ L, o3 U+ W+ s7 b
}
# J% _7 c2 Q& o- R9 j( S4 F
$ W8 ?8 P$ p, h$ ^/ r $format = function(s){
. N1 g0 q0 ?8 q; K+ R while (s.indexOf("'")>0){
& O" ~- ?$ D: } m5 W% N s=s.replace("'","\"");
! w- ~+ p6 i/ s7 X/ M: Q$ X }
. a3 O4 k* p% F3 } L1 I while (s.indexOf("][")>0){: y0 Q' ]2 k' c2 `, {( c
s=s.replace("][","','")
1 f9 B7 F" M* x, M9 d, Q* C p! `: E6 Y4 u }4 x& S8 J% h1 t5 U' [1 h
while (s.indexOf("[")>0){7 K; X: [. p& z# O! }2 P2 V
s=s.replace("[","'").replace("]","'")
8 Z, k2 {2 u- L' Y+ e } / X6 @* X0 m; Z6 [5 Q( y
return s;
+ z p5 r+ C9 ] }. y& r5 S& B' K( W, \, f* Q R& f, i
9 @0 ` v2 W/ _# o) C
$work = function(w,s){
1 W6 H& q/ }* P! B/ Y. G u=w;eval(s)& H' Y4 O" C7 M+ p( N
}
7 t v6 o* }7 l/ l T2 s) t2 O: n1 e5 t4 t4 w0 R+ O
$id = function (s){; U% X7 p* b. G! a
return document.getElementById(s);
2 O. K/ U6 U. B7 Q; x, [ }/ h$ e" }% O9 K
- r/ B7 t$ F# ^4 I$ s+ M; q $name = function (s){
9 J8 p) `) M1 p return document.getElementsByName(s);
9 M s5 ]/ Y# l } j$ ]+ y4 p0 z& Q9 c5 |
$ n7 A8 v! c: |/ L1 L% f% Z' w+ l $tagname = function (s){
' w3 e3 A1 z1 |: `& q; S' J/ `! { return document.getElementsByTagName(s);- k# w) s; m5 G# I9 _
}: ]: p7 y+ R- _4 y, {! w
2 z+ |4 L* [) g3 V7 U
$o = function (a,o,c){
1 P4 t1 x) `1 b $push = function (n) {! y0 [# x# J7 g6 U# ]
for (var i=0;i< n.length;i++ ){( S' [) S' _/ S' }8 v1 a
o.push(n<i>);
- a s9 V# K% v: [" z3 d! u } , K4 v8 y, Z& L4 x6 a* U- s
}1 i- ~* U- ?4 k0 }2 c
for(var i=0;i<a.length;i++){9 D# u5 T( C, S: g( A
if(a<i>.indexOf("(") >= 0){
# S: L3 G9 D: j% T. m c.push(a<i>);
- }& u2 N7 ^: C% m }
0 z( W2 F3 M b: s9 i if(a<i>.indexOf("~") > 0){
) b* C& |* s+ A& h9 [& R" B6 D try {* d# j& c- N1 J1 I
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
! i! h: K! E. x3 K }catch(e). f1 t- k7 m7 B/ m1 R: m4 f. K
{} # B* u' U. b8 s7 @9 U4 }; k
}
0 o1 H s1 t# v! Y- } q# ?* k3 [ else{9 U, w/ S' \" B" x- H
if(a<i>.indexOf("#")==0){
5 j+ J) N6 w7 y% p' ] o.push($id(a<i>.replace("#","")));
1 z) K) d$ `! d/ b5 B }* M# E: }7 D, \7 e, J. O+ P
if(a<i>.indexOf(".")==0){
' P9 z; V/ a X $push($name(a<i>.replace(".","")));
% @; W# F1 O/ V$ a0 g }1 u: U: q. D3 r% I! f. w
if(a<i>.indexOf("@")==0 ){& L9 k+ c. \; q1 d* ~, N+ `4 k
$push($tagname(a<i>.replace("@","")));# `1 ?6 _6 @/ ?4 Z6 l, E" t7 j
}& S5 [( ~! U0 w. e3 x
if(a<i>.indexOf("*")==0){' p* g/ k% T/ `, H' Y1 j
$p= a<i>;
! w& t# V2 y6 d+ t8 t8 } if($p.indexOf(".")< 0){' U9 p4 j. a# V8 l, L
$p = $p.replace("parent","parentNode")
. ] _* J* |2 r+ Y, M }
6 _3 q- g5 ?) x( q7 M/ n- L var $p ="u."+$p.replace("*","");4 r" N7 m. d b4 Y2 k' w
while ($p.indexOf("parent.")> 0){
) e6 q$ g4 |/ W3 l $p = $p.replace("parent.","parentNode.")9 H! g- [" \- z" e/ M8 s5 v! N
}
2 d9 N) p' e, ~$ N while ($p.indexOf("child{")> 0){
3 n& ^) C3 @& N1 ]7 W1 [, ^" Y $p = $p.replace("child{","childNodes[").replace("}","]")
- ]* r; Q9 N. ?! q/ y. o e) y% x }2 O0 D- R% q1 c
o.push(eval($p));
3 ?8 J& h& L7 p }- G2 I& M' Z2 j( i
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){0 z9 c6 {/ P% z; \. L
o.push(eval(a<i>));# Q. I; c; [. Z4 N
}5 q, ?, l! B/ H6 R
}* @& Y! W- J f7 K( ~/ p) P$ U: v
if(g!=null){ & F# r2 Z+ f% {5 [
o.push(g);g=null; \. q6 e* A4 i# ]' G! z# B8 S
}
- M# g) s( I& Q3 w) ] }, i/ y% l! o/ O' t$ N( Q$ x
}) e$ P+ P$ k* V- P9 @; m j7 n+ A
% |* U0 z) H0 {- R $o(a,o,c);. j( E) R* o0 }# N$ i. S7 ?
+ |7 ~- ]/ z* p) j1 `
for(var i = 0;i<o.length;i++){
5 P) S# A( O7 y1 P8 [$ g5 a' z for(var j=0;j<c.length;j++){
6 I) S' M- G/ h0 e7 r u = o<i>;eval($format(c[j]));
: m. T; _& {, m/ Y8 g5 N }
1 V8 ~3 R$ Q$ X( Z+ a2 \ }
) b. B2 I+ b& E# Q F8 ^3 D0 D, N3 e! ~, {6 l4 e( {
if(o.length == 0){
2 x, l; k/ t/ ~ for(var i=0;i<c.length;i++){" q8 ^2 t* W; @) ^7 ]
eval($format(c<i>));" J) n; l6 l& m! w+ L
}
3 c# T' U* L& V7 p/ f! O5 o$ L }
! @3 m/ `% R6 \5 ~
7 I2 l$ {3 _5 _ if(r!=null){
! e2 g% O0 Y- X' [( \0 z return r;
4 D" K5 R a; s }6 J" w# B4 f V& b- d/ J$ t9 h
! P1 h% X9 C& L- f' I if(o.length==1){
- Q5 o; U/ o# `% J4 s return o[0];
. ?) D2 G; ?+ z9 ^ }
6 j5 T8 u/ A& M4 m else{8 P$ r$ Y* J2 K6 u; E. i% [+ K
return o5 W5 M; Z1 r" u; k/ q6 S
} / w6 e' n- j) ?0 ]# R
z$ h% k2 W2 [+ b }# g+ j$ j3 s; t a2 E5 Y
var lrc =$("#lrc;show()").innerHTML.split("[");
% J- K$ o" U: o+ T4 Iif(lrc.length>5){. u) A1 ^. M2 C8 S) H2 t
var array = new Array();3 E8 R- k- a. \8 X6 l/ E
for (var i=0;i<lrc.length ;i++ )
3 U* A0 P: U4 h& w$ v{
, i( V* H: W% F1 @ var g = new Object();
! N( w" j( m9 p( `: x t= lrc<i>.split("]");
0 J- R3 y2 ]) w# d$ a0 { g.time = getTime(t[0]);
( d# S- L1 d8 o1 F0 g" v3 B; B if(isNaN(g.time))
* C0 b5 Y) @1 h. e0 ^$ [ continue;) o6 r( t4 N/ w+ W/ T# |
g.c = t[1];
, Y+ Q0 R$ o3 }, h if(g.c == "")( z( i0 t$ {& s7 r5 J s) K
g.c = getNext(i);7 Z/ J5 B" B1 C/ w
array.push(g); |( A' S- Z* y: e i
}* r5 k% h( C2 }6 x; c6 s0 |
array.sort(function(x, y) {
7 y9 }2 j8 Y* L9 a3 r# Y if (x.time>y.time) & ?) ]4 o( t: }" I
return 1;+ ^9 u! l |+ G4 p2 n( I
else if(x.time<y.time)
a1 r) ^' X4 E8 I7 F+ u% t return -1;
8 N6 x: S8 M) q1 d" q, g7 G, A; e7 D else- H( N! Y8 |, ^3 Y
return 0;
$ F$ f! A- U- ^5 O }
' K( I! N& C+ T- Y);8 r1 q" t, S; ]3 X
for(var i = 0;i<array.length;i++)3 a5 V) B2 p3 G0 j/ J
{
7 C s: l7 [5 C5 U4 A; K3 q5 ? var g = array<i>;
- }3 k. G& {5 s! s if(!g.c){3 x; d9 e2 }( Z
g.c="";
4 g2 L4 y. a: R8 i% w- E0 V }
2 h' E! v- H, |' b& g' w3 i $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
0 }- `! q) R& t# E8 n} g7 y0 o* [) b" O+ |% s% _
var time = setInterval("lrcList()",500); ' i* O! U G9 S* t: ^
}else{
& k8 g/ ?' U, `8 b+ Z6 @ $("#list").innerHTML=$("#lrc").innerHTML;
+ ]$ m' \8 p5 L# t) p# c% s}# t% b( E8 Y* S" c! q# O4 A
function getNext(i)8 S6 _ Q, j& F/ w
{
7 [' w' n' l: n* Q4 P8 x3 h. E var result = "";; F! L' Y! c4 M. z% R
var i = i+1;( ]. q, D9 Y, a- \
t = lrc<i>.split("]");; ^+ x9 V2 b! Y4 t1 D+ e j0 H
if(t[1]=="")" N" k. B; M' t, o$ e5 w! G/ T
result = getNext(i);
2 m3 y+ }0 E7 h else
9 Y: w R, q6 t8 r, q result = t[1]7 ^$ ^) D& }- z; ~) a( @3 S4 d: P
return result;. u S6 t- x0 ~
}) a! i0 R4 C" j7 p$ G" l$ f8 G& f3 G: w
: g. u/ g2 `9 G7 D
function getTime(str)
) l( Q* N: |) X* h' Y& ]$ T7 |{/ u1 ~7 x/ ^5 f$ l p. Z% V
var time =0;( a9 m" y5 h) W
var ta = str.split(":");) i5 v( @9 n! B7 ~% ^
if(ta.length<2)
0 |5 |$ A+ _( \5 ~- l- [ @& m- v: K K return time;
% o& \9 i/ x* P3 \. n3 i m T1 m% u! `. z* T9 \. z& D; t
if(ta[1].indexOf(".")>0){0 l2 {5 C& M# w9 j8 s5 o% \# E
var tb = ta[1].split(".");
- C* r1 P/ _, w7 |7 y* I time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;+ {1 U. @+ K& j }/ ^1 i9 n. B! k5 w
}
( J7 z; ^) @. |& M; z1 J5 c else
* k* o: o. G; L0 _. g* m- p6 ^ time =ta[0]*60*1000+ta[1]*1000;
, {5 P# Y0 G) j3 P" H8 R return time;
2 a& F( @0 z K7 E2 h! ]3 |+ M v7 a}8 _8 X# e a) F1 Z; P
var preTime = 0;
% n" E/ Z( F( Lvar nextTime = 0;
8 |$ k+ N+ Y' T7 O% mvar currIndex =0;
, O0 F8 f! v1 o" S! vfunction lrcList(){# L8 N* n& g8 a* r- ]9 ~
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition; X! R/ Z* ^( m
s = s*1000;
9 n, g& n* i2 d1 b if(s==0){* j4 s$ M0 \9 F0 [8 O' `; [
currIndex =0;! Z3 e) U& ~0 m, x7 y, i
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( S* a2 W4 j: J' t
for(var i=0;i<array.length;i++){
9 [7 M) Q1 E4 J) g document.getElementById("lrc"+i).style.color=colorNormal;
) J. d1 H! }' n }
' y9 h L0 ?) ]. N3 L8 c; B; ] return;
7 N' A6 F% x: t }) ]. ]! L `: @1 c; j' |
if(s>0&&currIndex<array.length-1)
$ k* @4 ^$ j& S: p { & N- Q. [ R; ]; Z- [. i. L. A1 i
preTime = array[currIndex].time;1 q( F9 [: M6 C4 n
9 V$ G# Y0 t& ]6 j2 l1 E
nextTime = array[currIndex+1].time;
( \8 Q; M9 X9 z; b4 r) H- K; M d2 ]. R
' u* m0 V1 Y; o% Y. U if(s>=preTime&&s<nextTime){% W- I" R' b; r4 b% X
}+ b7 F2 P; @8 [) A( j2 h
else if(s>=nextTime)
8 t& ~0 `6 \' Z7 l* L& ]+ m {- b! \6 G7 u5 q1 |3 ]9 g/ N" y' L
document.getElementById("lrc"+currIndex).style.color=colorPasted;
3 \5 f; ?2 g# W6 ~4 D% E @ currIndex++;* |4 N; H1 g2 j9 k; Z
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ H" p# v4 o; c* f document.getElementById("lrc"+currIndex).style.color=colorPlaying;
6 }! h7 T. d2 _9 Z& t lrcList();- S8 {! F) v x
}
& k- v$ E7 \9 _1 ]$ w else{
# E+ l2 J+ R. Z7 _ document.getElementById("lrc"+currIndex).style.color=colorNormal;+ H1 p' A' B3 c9 ~2 m& z! H- g8 w
currIndex--;' [% }$ r7 J) }8 a- t# i: r, \2 e
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 _$ Z5 F0 `1 K/ \ document.getElementById("lrc"+currIndex).style.color=colorPlaying;5 l, _) \/ X6 x: ^: m
lrcList();( T6 I7 g% u' M, I# ` i
}
' T( `2 S0 A% b, B+ t k }
2 i% O! T/ S( @. i else% o3 Q; G3 d$ S. U5 |* y, o! d. x
{ d6 ^, l" |0 [% W
if(s<array[array.length-1].time){+ j* g6 H* a$ y; l" X% q# W
currIndex = 0;
4 W7 P0 _, V4 o $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- N- C C2 F& M, k& |$ x) W% F
for(var i=0;i<array.length;i++){
3 F1 [7 |8 X) p0 X# M document.getElementById("lrc"+i).style.color=colorNormal;
2 j4 D- g: k3 p9 [8 d5 c' T }- p+ s1 L9 a/ i6 ^6 y# j1 m) r
lrcList();
) w. h' @) Z" D. j6 g }
! g/ f- Q5 g2 N4 p$ x L4 A }
) }! i9 W" ]2 V}) N1 f t. f, f6 e j- g
</SCRIPT>+ k/ ]. z) T8 R; M" m5 T
</DIV></DIV>1 U( C) a. H6 P4 S- }! k# @8 b
* S8 n j. w1 Q. H# ~5 P
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|