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