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