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