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