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