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