|
|
<DIV id=list>4 h: X( {* \: E( j1 V! A/ j
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
5 \7 ^: }, W9 z& F( q$ b<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>, i S9 K# K) m8 m$ ]* s5 O
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>5 t! c* F$ |3 B' _
<DIV id=lrc3 style="COLOR: #666666"></DIV>. v9 \" ^) }+ w/ x9 f
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
7 V, F6 ^* t7 J8 {! P<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>; X. p1 }1 Z+ v7 U6 c
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>" \6 [( B$ d" }8 Q. w: q8 V2 m
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
+ B) W+ b' O9 p- }<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>6 w, B3 Y3 g5 E3 Z! {$ d
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
. F, z# e8 z* W6 Q2 ^- R B, }<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
" J# g( B+ p; o<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>0 Z& b8 J) R5 O& m G6 a& `5 f& S
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>2 Q) q2 ~) \0 k" @
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
& U3 P& @" a9 @9 ~. ~3 K }$ t<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>8 k& z0 E) d6 G2 {: ]" c
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>: w$ T9 n, A' ^" L; Z
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
, m6 H4 Y' H0 d- t5 ]<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>4 ~' i. j- B* l+ n ]. W
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>7 O$ t# w, C2 i7 Y( q+ [
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
4 |0 v7 J, s) Y! | n<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>4 E& s( V$ l2 x
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>: U& y" x3 b+ s; f
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>7 |1 J% p- C# o% M% E
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
9 f2 |9 E8 Y' L% O) L1 o, M<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
* C: I* e3 d* y1 p* [<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
& B' x# @6 U4 q' `) [# S<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>$ z9 n5 [2 y. U) E9 k
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 I0 i P% {; x/ Y4 ^, F
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>. a# h* P' b6 l4 ?4 K
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV># {8 q4 j8 }2 Y# a$ y* D* K. q- J
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
9 j: M |: Y' v7 ~<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV># q9 ]6 N' {* S- C7 d2 ^6 A
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
3 X+ s; y. ~4 c' m& d9 e1 e9 E<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
0 F8 o6 U# Y& H& r/ S# p, ]<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>$ a/ W7 p; R% f% \
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
$ S* i) N; z8 x3 w) h<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
% w0 B1 \6 v( Q4 A W<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
3 p6 f4 O% }* `- q1 V<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
0 N9 M2 K! s3 _+ T0 J0 i<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
9 o. N3 t7 n; {' Z& C; E* ^2 H<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
5 E. y9 o+ m w- E. m<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
" H6 Q! ]3 N4 K* {- |8 l<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
8 S2 e7 J4 s; n3 ^" @5 k+ j0 X<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
6 G5 b2 M9 l4 O8 {' j1 ^+ l<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV># r& O4 ~4 K9 H( _% j5 f; l
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
: j0 Q& ^+ }6 P- b<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
* D; _& j' P T% F1 x% v1 V* D<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
; [' A7 X7 u+ C2 L) P- y<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>5 ?* Q3 u% H% \! S
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
% P# X& m' ]) Z3 q, Z/ [8 k<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>" A1 w* U0 g9 r {, M! R
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
/ J# e8 W* B: |# ^8 ~<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
4 O1 B; W$ q% d2 D: y<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 . z& W4 }) Y( E) x
<DIV id=lrc style="DISPLAY: none"></DIV>
5 O- l* i" ^7 f% O4 o C4 h3 O% {<SCRIPT type=text/javascript>
0 O& C/ [& ~0 y* ?5 l$ F; G& X0 ndocument.domain="1ting.com";
3 a* Z# s' `: G$ H4 b7 [7 o$ xvar colorPasted="#666666";
, r' ^1 M3 }* c5 P- }8 U3 Fvar colorPlaying="#ff3300";3 P4 J! v9 y1 e2 I8 }. w( Z1 [
var colorNormal="#000000";
- e0 a, B% h; W$ = function (a,g){& H( G4 [1 n3 O* _5 {
var o = new Array();
& L* A( g, D3 p, Q' ~ var c = new Array(); 4 ~0 _! t3 Z& e0 ?$ [" v E
var r;
( A, {, @/ @- q; S2 ^) e var u;
' N& c4 i) \7 b" ~! t var a = a.split(';'); * v+ x" E/ c) A# Y1 t& G. X& O
/ s& R$ Q* a- S( ^! \/ p, D( a+ J
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
2 A8 S: L# p L; m0 | for(var i=0;i<e.length;i++){! [8 }) d, a$ S" |/ G/ R
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
0 T/ [* p- {. C } o+ |/ Z" `" u% }
4 F( [; t& [9 _
after = function (t,d,s){
- i9 S7 R1 A0 o& a' H. ^ $after = function (){
* W5 E7 z0 Z$ ?' A* \ var $n=document.createElement(t);
7 r9 m5 O' M+ B/ U5 G if(d!=null){
4 u5 g( B t4 e7 N $n.id=d;
6 ]" Y7 u4 f7 B0 @) w# n }
. i7 o6 {' x2 n+ g8 Y( I+ M
3 f, `( m, ?5 K0 ^' E1 A u.insertBefore($n,null)
4 K4 T1 U( Y( G, L) ~$ }0 z" r# t r = $n;
, S- i7 R; n; t" L' m3 }; L9 a u = $n; 9 W% W* ~% M" E& s
}# h- y6 A W/ p- Y. G
$for(s,"$after")% K+ h: m% x ^0 Z& U) y) t/ x
}7 S) y3 w, h) c, {
! N3 H& G$ T8 v$ f% _ show = function (s){: y3 _0 W ?* ~0 n
$show = function (){3 K! _' c( e9 o
u.style.display!="none" ? style("display:none") : style("display:block") ; \! w3 L X3 t
}
( j! i% b7 }$ _' f$ ^5 H $for(s,"$show")
& b A! h5 j; R! W& }' ? Z; L }
% M+ r8 a( t5 r9 V2 d& g/ ?7 x
6 w. a# \; |, m: D8 e/ B0 \ check = function (t,s){
, V3 P% U* x; T# S# u: z $check = function (){
* l7 D4 B/ s1 ~( q' E* m) E if(t=="2"){
4 H) J* F( f; ^* O if(u.checked){ o8 {) ~' _5 w
u.checked = false;& h/ `& u4 [/ X, q F
}else{: e3 I6 Q0 c5 n
u.checked = true;
4 T( S& Z" |% {' q# \9 y. s }* D9 t$ ^3 q4 Y h. P6 h. F8 o6 m
}else{
5 q& A4 M* k, T) v4 c u.checked = t*1 ;% E% c" b0 {7 w5 D& \
}
4 h j H; x% M1 R5 Z }* w8 z `, g3 Z v% [
$for(s,"$check")8 b' g% w9 k$ G3 i2 [
}; z9 n$ }9 _/ n& J0 `
' }" e' G4 t* `6 j4 _ G style = function (v,s){
! E7 z. R3 m8 [" t$ D0 ?' [ $style = function (){# y$ f" v. A7 @7 \
var $n = v.split(",")
2 k" U" w3 d9 ?/ `& o! ^ for (var i=0;i<$n.length;i++ ){
8 H: n4 n# P Y var $m = $n<i>.split(":")
, O# M7 t: S$ W I; _ eval("u.style."+$m[0]+"='"+$m[1]+"'");
4 J; {9 m- y6 B3 f }3 [) ?3 A8 U/ R
}
1 w9 n# A; d, Z $for(s,"$style")
) ^* Q0 b' _. t0 U" f. F }5 \1 ]% E6 u. u
( E/ k* W3 Y2 E& ] value = function (v,s){4 q7 Q9 m% _+ w* {% T. x& Q- F
var $n= $this (v);) k/ a% j5 C; T+ x" A0 T# F/ T/ B' G
$value = function (){
' t' Y8 e$ }4 S8 h# O( r u.value = $n: n- a& g6 R" o1 p+ ~/ u. v) }, x
}
1 F4 P( r \6 I $for(s,"$value")
5 S3 b# g: b( s# [% ^& h' i. X% M }! F* D( y- p5 d( K6 \, O. r$ H3 t
) }7 A9 L9 m; _/ H& T" m8 |
text = function (v,s){
. t+ v9 {- i1 @/ z' d P7 Y var $n= $this (v);
. A8 X/ `& W, y( N" X* L $text = function (){
0 ?; c$ U" Q8 U* V. c. ]0 }! D2 y 0 y" m, N" A% w; D" k1 b
u.text = $n( R3 y6 `) q! o8 C
}
8 a- _. u% p6 L. m& y+ p $for(s,"$text")
) X" o2 A1 B" @9 {5 q4 J% y }# k" S$ W" k0 x2 F/ y
1 G8 h" n+ }$ U6 w; } innerhtml = function (v,s){ P k& H: P Y7 L
var $n= $this (v);
8 n+ y0 \ o- P& r $innerhtml = function (){1 P: }0 w2 ]7 \ K; o2 \7 e& O
u.innerHTML = $n
$ L% v3 z. T1 K, }5 A% t }
) p- M3 Y* M" O $for(s,"$innerhtml")" v2 r0 [% }) U4 P( o
}
* U* z- x4 l* P8 @* G( r5 P * K* C' }0 ~( Z2 p7 p
removechild = function (s){
* n5 ~8 L( Q: h; ]$ {7 B) i- Y $removechild = function (){
; e" X, L6 j$ [! z5 n' u9 Q+ t u.parentNode.removeChild(u)& b/ t7 t' j! o; Y* V- m+ X
}
% t/ E3 Q' A7 G+ `6 L6 B $for(s,"$removechild")
" A' b" i) @8 n6 P k }
: n; R! U- ^+ U5 o' R, r! `& g8 n5 D5 K0 \: o: i" a& E! P
$this =function(v){
/ t; e1 Y) m5 k7 J; x1 U6 y* u" H if(v.indexOf("this") == 0){+ G$ \) M$ k4 g5 z7 A, T
return eval(v.replace("this","u")): ~' y4 j' T" Q' E- S5 w1 N7 d& }) }: p
}
( |9 m. V9 r7 a* F, c5 C. \/ | return v;* V5 N: I# v# m7 K% V d
}
6 \& C; v+ h3 I" j$ B( y! A( {# ?: Y. q. T
$event = function (s){2 I9 O- G2 Z$ ~# H
var $n ="u."+s+" = function(){$work(this,s);}"+ c1 J# o+ R5 [# ]
return $n;
5 X5 {4 N4 A4 w, N$ \- P }
8 `. ~4 b" u" p `. F. `2 [8 ~# n3 o+ |7 u4 {# Q/ M+ E- R
$replace = function (s){
3 [2 S) g `& s6 V0 |
6 A2 }4 q# n- } }
* w3 }$ G: ~. ~% y, q) H' G: Y* R! T" B+ \! h l
$for = function (s,c){) \, a, q* U5 z8 E! s
var $n="this."+c+"()" ;9 d8 j( Z! z" }/ \7 S# G# h- @
if(s!=null){
# i& e% U# V- f) L- h var $m =$test(s);
7 G" ]* R( q I8 Y# u for (var i=0;i<$m.length ;i++ ){
6 g& O2 Q5 w, r. Y% _+ c( |0 u u = $m<i>;+ X$ v5 i4 n) _) [
eval($n);
9 m" m4 P' z, o) ]+ Z" M }7 c% f' X& v4 S. E: @! T
}& h e! e! p4 p9 j+ S
else{/ p1 a$ q: N# D2 E9 h* f2 c
eval($n);
7 e: ~8 z4 f: h9 o+ r }
) |" |- F+ Y( H5 C! | }$ I& a0 s6 A" R i
* X" j6 X0 `4 ]
$test = function (a){1 P8 ^+ V# Z4 K7 N) F
var o = new Array();$o(a.split(';'),o);, c+ t# r& g2 c% o" M e' V3 o3 p
return o;7 I ]4 F0 }) t7 i9 H1 l9 T/ X# D
}9 T! K4 y6 S5 X
2 s: K) I; F, |. V
$format = function(s){1 Q9 H# G3 E0 A; |% ]6 w* R: C# K4 n+ y; w
while (s.indexOf("'")>0){
3 s7 L: U) H. D' A/ x+ \ s=s.replace("'","\"");6 y" c6 U3 @. M$ B; P
}7 J& z) u! k; s
while (s.indexOf("][")>0){
, l; T! ?, ~6 P7 N s=s.replace("][","','")( ]% m/ C" I" |. U* E
}
$ f2 V7 Y) \# A- P0 r while (s.indexOf("[")>0){. |6 o. E" `+ @5 w b
s=s.replace("[","'").replace("]","'")4 g S9 P2 G" P7 h) l9 E* O' j
}
4 z q* T0 V8 _ return s;
6 m- x g5 K9 H+ Q$ ~8 N) F- Q0 X }% y9 o( ]+ o+ X$ J6 C
; |, k, L. X2 a; `! w5 J
$work = function(w,s){
. M9 a( |0 H& h u=w;eval(s)
3 Y7 Q4 Q# T% L- R }
2 N; {. x: \1 m3 V p1 \" X+ O- Q7 q
$id = function (s){0 v; ^; W0 s, T( O
return document.getElementById(s);
; |$ ~ ?# J5 g( P+ @ }' G& @: T5 I" a" u
! _6 J3 S; ^+ T $name = function (s){$ u8 u! |3 A G: l3 j
return document.getElementsByName(s);" n4 J. R: ~) n6 B$ ~' S6 v% U! M
}' p" U8 x7 q. j
* W8 z/ O& b- Z( W" | $tagname = function (s){
, Y5 b3 s( o+ N& M return document.getElementsByTagName(s);
- L4 b. {/ l% X) f- I' g }& `$ R5 P+ A& s9 Y$ z+ F
7 i) d- [" f W* Y4 y k4 y
$o = function (a,o,c){! V, n$ S% x) [2 ~: O4 `+ s2 Y
$push = function (n) {! \9 o) d) N) v8 e( T+ V, |
for (var i=0;i< n.length;i++ ){
. P+ P* Q7 q7 a& G2 p" I o.push(n<i>);
% _0 V) S$ z [7 ]& a& o } 3 Y. Z' W5 z' F: Z
}, c, O9 ]3 V- s
for(var i=0;i<a.length;i++){
( Y- \ S8 y0 U- E if(a<i>.indexOf("(") >= 0){4 l( a# E6 o, Z- s3 E( Q2 y
c.push(a<i>);
# n2 e5 Q9 J1 H5 u( e }
" A Q) R/ o$ j u d% T" i( ~ if(a<i>.indexOf("~") > 0){
/ x* m7 g9 Y7 g4 [ p) F1 } try {" F7 v# w2 j4 X
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
: z' S* S* r* N) L }catch(e)- W5 h% M7 M; n( T8 l
{} " \; }% ~8 ~( k9 V6 z4 P# N
}
4 U f- g0 p+ l2 t else{$ B% Q3 @# m% ]
if(a<i>.indexOf("#")==0){. ]4 W8 G! ~' [
o.push($id(a<i>.replace("#","")));# \ n2 {" I+ m8 y4 f
}
& v1 l& Y7 v' t7 k4 W6 d- r* t if(a<i>.indexOf(".")==0){
6 T& E* b, l0 ~. }6 `: C# | $push($name(a<i>.replace(".","")));
" L/ T1 _3 r7 F# R0 Y- f" _" _ }; V2 s( v$ ~- m7 X
if(a<i>.indexOf("@")==0 ){
$ Y: Y' O* R+ Z5 b $push($tagname(a<i>.replace("@","")));& u6 [8 M9 x/ g. a
}
$ Q- N. }# y ~" I( H if(a<i>.indexOf("*")==0){! \! E3 z! p9 i& M; n
$p= a<i>;
2 f% Q) |: S7 r) r% O if($p.indexOf(".")< 0){4 O# |- x" q; m, C( y
$p = $p.replace("parent","parentNode")6 ~, z+ t5 F+ g8 V4 p! w/ Z' C
}
0 H) G: H: p9 ?3 E8 Z4 M var $p ="u."+$p.replace("*","");* b3 a t c# D2 z: [& d
while ($p.indexOf("parent.")> 0){) l K" C& T- P
$p = $p.replace("parent.","parentNode.")! A6 [' C* K- W3 x1 V
}8 X+ u4 N4 Q- w
while ($p.indexOf("child{")> 0){
, x% \( `9 u5 e) A0 R $p = $p.replace("child{","childNodes[").replace("}","]"); j2 |6 N' |4 X% s$ P% K7 ]
}7 M$ e+ O9 Q/ l% G
o.push(eval($p));, n( z, a {+ q$ ]' G/ U$ G2 }
}5 _" k% K$ \ g; _5 {
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){3 h4 _ Q5 b0 W
o.push(eval(a<i>));; [8 A. z R6 [
}2 L6 `* h& E- o- } X& B
}
2 S x* d i" b& t/ W if(g!=null){
; w% g$ F# T8 S4 U# H4 F" m$ m1 g o.push(g);g=null
0 Z9 h- T: Y4 Y2 N0 d1 { }
) e' Z' }7 j% {& V }9 @2 ]0 c6 Z* D
}
* s/ u' M6 e( A4 l0 E) i7 w {" S; Q. l: k2 U
$o(a,o,c);6 m+ u$ e; ^* A) e3 f
( Z; h6 y @8 |( } for(var i = 0;i<o.length;i++){; G4 p# m; D, b8 }
for(var j=0;j<c.length;j++){1 j% d( I6 @4 D* X- _1 y) R$ C
u = o<i>;eval($format(c[j]));
( P0 v/ y; N7 `# B0 E }
# K* h) Y" [' T0 W3 m9 I9 O$ M) B }
8 J' ]- b0 x2 {+ x& v) h, u+ ~
/ d2 W1 c/ T1 Y7 n9 {: n- ^ if(o.length == 0){
# \) Q; S# B. j( @ for(var i=0;i<c.length;i++){
! {. D; a: L% J: v- R% Q' L. C5 f eval($format(c<i>));. E, h# N* s' b# P/ O
}
* G; @! I3 L9 w+ X" u7 v8 q }
! F- {1 e; ^' j/ P1 J 8 F# H5 z5 m( W
if(r!=null){
' ]) L/ Q! ]2 J2 n, @ return r;) u. C" l0 ^ ~3 x3 ?9 V/ H
}
3 ^6 m( D3 s0 C6 O( { u9 U% F " G- L7 S; P. Q7 g
if(o.length==1){
; N U( M. f4 ~- v. @ return o[0];" [& A+ P; K4 }& _4 u! N
}6 g( G/ i0 s, F- V
else{* x% f5 B% k$ e- f) {$ Y
return o* [. b7 z& u0 W$ i, M0 p1 q5 T
} , Y, g% }6 @/ n B; G) R5 H4 }
, [1 i7 v. j7 s4 @ }6 x+ J D2 z+ q7 |: W) N$ p m
var lrc =$("#lrc;show()").innerHTML.split("[");/ ~: r2 k- f4 H" @3 \5 a
if(lrc.length>5){# Y* b8 [' A6 n6 g. @
var array = new Array();2 ]9 p- y, M) f; H% J/ l
for (var i=0;i<lrc.length ;i++ )
+ ^$ ^$ @% l7 z: R9 z7 M! F{! J6 K: Q4 y4 A
var g = new Object();1 U$ ^: s) ]; U/ J5 @
t= lrc<i>.split("]");
, D G* b: P1 X$ k5 T g.time = getTime(t[0]);0 E' ]/ S6 S- L% l
if(isNaN(g.time))& } D+ }. l* g! M2 p
continue;* I4 \/ S- u+ h% L, @: O
g.c = t[1];3 ^. h% O9 }5 }4 B
if(g.c == "")
2 z4 Z3 J( c2 P; F5 ?) k g.c = getNext(i); w8 _, y6 G% h! f+ n
array.push(g);% z8 M) F! \' z& p
}5 c9 L/ t( e) Z) z5 Z
array.sort(function(x, y) {, W" W0 z& v' I Q8 Z
if (x.time>y.time) ! K6 Y% \1 B2 {; I* i d
return 1;
7 Z( [1 Z7 n5 E+ {5 M! P9 k else if(x.time<y.time)1 n7 N H' Y' _9 O* ?4 @
return -1;
" S/ T$ H9 U- i2 b7 w& b else4 Z( M: H( A% H, ]; T0 I
return 0;2 B( i, {3 C8 w Y
}
: X: y, j: g/ G R: h' R, a% |);' ?" Z4 d* A! `' r" h
for(var i = 0;i<array.length;i++)
5 U" a& |# H, @: S- g; Z{
. O) K& `, P) G% Q8 J7 I3 l& X) T var g = array<i>;
& p! `: M6 B0 z0 K' d% J if(!g.c){9 P, S, z1 _2 U% T4 K
g.c="";9 `- T9 T* s+ Z8 @% H+ {
}* G3 r y/ Y5 j& K: X
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";( c& C4 Y- A- T8 W* F9 s4 ?: a
}1 g0 [8 G# y6 k8 g! z+ n. F+ w( O
var time = setInterval("lrcList()",500); ( ]" w0 b' k# T- ] g% V
}else{, Y$ ^ o" w0 n5 ?/ ?3 a# { l1 l$ H
$("#list").innerHTML=$("#lrc").innerHTML;: G* i3 N. y8 g& N
} O8 \3 ?$ Z- O6 x
function getNext(i)( n! o7 l9 t8 O _: ^0 N2 {
{% f/ p, f: b8 t; P) V) I+ n
var result = "";* S4 b2 |. h$ L4 A: _% p
var i = i+1;
* b, i C7 g/ q9 `5 U( ~/ z t = lrc<i>.split("]");3 A8 t- h2 L' n& [0 r6 h4 z
if(t[1]=="")
$ f9 R, P/ T1 S; l: `/ }' ?# V result = getNext(i);
3 ~9 @! k1 f3 D# h0 Y else6 I# Q! g4 x" S! h f
result = t[1]+ h7 p" Q+ x( V* w
return result;
( G. M" z0 |. d o' Y}, [ V/ J; h' F4 F9 @ ?
7 y1 Z0 ^: ]1 k/ q0 T
function getTime(str)! t* f2 H8 w) r' ?/ Z+ }5 g
{
1 I+ j1 e8 f) d var time =0;
5 L4 h) K* ]# M3 O. I% s6 a0 c" C var ta = str.split(":");
" c& \' P, |* k7 Y. \$ S$ K if(ta.length<2)- _' v0 ]. v& e. ?8 G+ _
return time;1 V1 s/ X: a" z/ s9 j
8 a* |" t1 q8 l) N7 ~
if(ta[1].indexOf(".")>0){ |1 Q0 u8 T6 o! v( z( C
var tb = ta[1].split(".");
! ~1 e# H# |3 \6 {+ E [3 G9 }, q time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
/ _4 [* u! w6 A0 b }/ n& W- h2 q5 n6 W" ~9 w( U5 n
else$ Z$ L$ K4 h8 b. Z
time =ta[0]*60*1000+ta[1]*1000;- {# _2 f( j; F" |
return time;- k& r6 y& P2 C# x1 V
}
6 N% b+ ]& a2 H1 _* ^% X5 R3 ?var preTime = 0;
# H2 X, p6 w% rvar nextTime = 0;
% A: ]2 N/ {6 e1 `7 D& T; X6 D- Avar currIndex =0;
p6 t% J% ` R8 }' ffunction lrcList(){
9 ?( j7 U) ^% j# q/ x var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
2 W% `5 ]1 Q' N* k! W0 C/ J s = s*1000;& g$ w) y6 m$ c
if(s==0){
- q, n- V2 Z% E1 `% o- n currIndex =0; [6 f5 s; X8 F9 Q% N$ }
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 r$ K: g$ `( e7 @+ C4 C; R/ W$ m for(var i=0;i<array.length;i++){* \0 w+ F* s8 r; B4 {+ U; f$ u& `
document.getElementById("lrc"+i).style.color=colorNormal;) A! J A) R& n' K' K) t! G3 p3 v
}
4 E9 Y; t! `/ o# } return;" g; X% @3 m( |' ^/ ?2 Y. s7 Y
}
0 b3 z' w$ [5 L+ X% u6 `( t+ I if(s>0&&currIndex<array.length-1)
) f* O0 T9 }5 h: `3 A { , K5 s5 m8 o! \
preTime = array[currIndex].time;
8 e1 \5 m4 L4 i+ _# @ d' p' R: _- `* g+ f
nextTime = array[currIndex+1].time;
3 y; U [& T) ~( i1 z# B ' @( R) Q9 @* r4 x& Q) i
if(s>=preTime&&s<nextTime){
5 g' R% l1 ]( j: F+ c }' _/ A0 J4 H: [
else if(s>=nextTime)
3 B9 z N, {2 b4 @6 { U8 h6 x {
( p& I# b2 Z2 Q, F) k u: L document.getElementById("lrc"+currIndex).style.color=colorPasted;5 g5 ]+ }$ ?5 P: P% C3 X7 ]
currIndex++; ^: c3 B# s, X; L+ W
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# Q1 |# r, q2 f; W
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; y, b- E3 N& @: l9 |& C lrcList();" Z, d' p% w! W! V5 P# d1 m
} g' V5 c# r+ ?, L( N3 C# }
else{! R! c$ _8 ^0 w2 `6 s
document.getElementById("lrc"+currIndex).style.color=colorNormal;3 @1 \1 g! A; ~0 q/ j3 [7 |
currIndex--;
& T" k6 u5 `, Z7 _) @9 | $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: c5 A/ ?9 M: s3 {0 u) t* n6 W
document.getElementById("lrc"+currIndex).style.color=colorPlaying;7 M( j6 r' _+ B$ M4 t4 ` W
lrcList();7 D) I7 V0 `. E$ O; C* E
}
- T% o: w$ B7 T% o! }) P }
' m% ]5 z/ D* c. ] Z, _& Y8 ~7 z else) R) H( g: u( F
{
. L; i+ @; L, D S& {" u9 p- K- s if(s<array[array.length-1].time){
1 M1 S0 G/ E1 s! A; T currIndex = 0;8 V% f6 g2 m7 C d8 U! t6 \ Q, ^9 i$ `, u3 s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
/ V; [7 O7 w+ }2 K7 a for(var i=0;i<array.length;i++){
* U. [' Z# h) G8 ^; F3 a document.getElementById("lrc"+i).style.color=colorNormal;- ]0 `1 u7 k9 e& m8 o9 W7 j
}
9 N8 R# ]+ s( e* ^" }7 } lrcList();' l4 U* W7 c# K1 S+ x- X: @9 ~
}
; H# _5 D7 o) o( U$ Z7 l+ ~# s( ] }
# T$ X. Y) {- N/ m" A}
! G/ w7 g( k$ k" L</SCRIPT>! F T9 L9 J+ r6 G' d+ z
</DIV></DIV>
4 J" ]! |8 n; r
9 a1 G$ B0 c) r9 p: N[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|