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