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