|
|
<DIV id=list>( v7 f& d R1 C4 D! T
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>/ X, _7 W. ^- O- D r9 p
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
; S% S5 g9 b5 `& A<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>' W# {0 R8 m& P$ K
<DIV id=lrc3 style="COLOR: #666666"></DIV>
7 Z3 [1 j9 T6 y7 b<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
3 H* Q( m# y; P$ Y: n<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>' `7 V, b. t1 |4 L+ q! D3 {
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
2 k6 H( S' y W N' h<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV> ^; R, w6 R/ Q4 b
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>( k. j/ _+ Y2 T
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>) L. W; L# w' O3 S. |5 I
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
8 ~/ B0 n) ]; R1 u9 v# R<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 w/ }. A, {3 X# R6 C6 r<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
( `. p3 `7 S3 M) o5 E! n1 ]4 g<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
- h+ [3 P% D4 Z. j<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
5 k2 A- a6 `" h<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
% C- Z& j) h. J. o& Y<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
) i1 K' x; }2 E) ~; g% D<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>9 }0 X1 t; l8 s- F
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
; k# W5 \! G2 ^<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
6 @, l9 g. P0 \; J5 ]/ X c+ o* l5 e<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
! n& @7 s! P0 }/ r) }+ [<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>. B1 o& |$ d# W" G- r! U
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
+ q6 g3 `9 H) m# ?4 E3 ^<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
7 Y5 N/ n4 ?% s+ t6 s% S$ L<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>$ a; u' s% i' U! e7 D
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>/ t: ^& q" f7 j9 _$ S7 R# u6 r
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
6 D2 ?- ?" O7 D$ S/ }' H<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* i6 j9 B' Z: p* w/ h. J<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( t2 W7 t8 ?3 `% ?7 ]) `" f<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
2 x/ [7 V6 p% d<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
8 u, I# s. }' d/ b: j8 O2 B d<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
" o( c) }! d6 Z<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>2 J7 T Z: Z+ b5 H3 b3 t
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
( h$ x( U% `* ^" }/ Z' s<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV> P* O+ o* Z) v9 k
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>- f0 p7 \" I$ E4 \
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
$ g! }; P1 n2 D' ]3 M<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
2 c/ U$ c' [4 w: _<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>: {& Z+ x7 ^" I- k) N: P
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
- \6 \& `0 {& t* X0 S<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, M5 x2 X) Y( S- \
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>/ _% g3 Z( X7 a& c5 z" h, t4 c& q! U
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>: }; x f8 M7 d1 @) h; Q: Z! g
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>& l; z% ~( z, l
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>% j, d3 P2 q* p1 ?+ f0 D
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>( ^, j$ H& Q0 b8 W3 K g
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>* d) ]0 b- |5 l
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
]0 |2 q h4 c' q' g1 V<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>3 G+ \ I* U5 m* Z; E) F( b
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>. d; v5 S) \# ?! O' v( i! m7 [ ]
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
: \! l! U5 x! b/ W! E; s1 }' Y<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
$ {3 P5 Y" f. z# n* D% o( S# ~<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>( t; E# _ t" w, i( O) b
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" Z q, \: z/ [% p& U/ y<DIV id=lrc style="DISPLAY: none"></DIV>
1 @ W; f: M* ]3 |( ]6 r- |3 v<SCRIPT type=text/javascript>
; e2 L9 q/ P! L* q$ g: {document.domain="1ting.com";
K8 Y. Z. p# |5 |var colorPasted="#666666";
/ o& a; ^+ s1 @( |8 _' ]var colorPlaying="#ff3300";7 k. Z6 e3 `/ T, L
var colorNormal="#000000";
1 M6 K' ~9 \# @/ T" b* ^7 X# d$ = function (a,g){$ T# f8 _! S, F6 \# T
var o = new Array();
3 T4 T$ i, s _: j8 o; K8 S6 N. |- x var c = new Array();
: i' @, L* Q; f. l4 p& [ var r; 4 M( M( {& h7 c6 E
var u; 6 \8 j$ L2 D6 M$ H
var a = a.split(';');
# K; H# H$ y" _5 U
! W& X$ L1 `5 p2 U7 K8 b" X/ i" q var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");. d( i. g+ C! W" L
for(var i=0;i<e.length;i++){
- e( a7 ~+ A% X eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
. g! a( ]' G8 P7 P }( J8 a& l( i/ w; L0 W0 t: @6 e
' o5 v+ T* q& z8 q, o9 x
after = function (t,d,s){) s1 y- F5 m+ N3 A, d' P3 `
$after = function (){
$ [, v( z9 h& { var $n=document.createElement(t);
- M! Q+ ?( z; U8 o" J- V( P if(d!=null){' }0 b' z) j% T" l
$n.id=d;
4 h& G% P) ?. x2 y7 _2 U }5 \7 e% W" Y. b" _, a, K: B
) d8 @7 E$ R: f* X0 m
u.insertBefore($n,null)
& v0 O* z0 D$ @ r = $n; % Q, [6 r$ f7 z
u = $n;
h0 g. e; Y( K }
; Z2 z/ c0 g- } U $for(s,"$after")& S$ G/ a3 Y# t& b- D& S0 J6 U
}
# D/ \/ Q9 x/ n M6 r& z" N* V! V( ~- @4 a6 N1 }
show = function (s){
6 H+ J. i7 U9 c: P( e $show = function (){# F' G1 Y& e& q" ~
u.style.display!="none" ? style("display:none") : style("display:block") ;
' O* F* Q7 m7 R$ y6 W) e0 n' \ }
% Y) S' u/ E2 c; y4 `0 ` $for(s,"$show")5 T4 G6 j: i+ c6 l4 m) @
}
. I6 n2 G7 J i2 b2 A) W, i! D4 ~3 n% _4 {
check = function (t,s){% R m$ M6 B3 i' T3 d
$check = function (){
]0 Q. e& N) x# s: b. U, `$ @ if(t=="2"){, s6 j% J. `! Q K! |
if(u.checked){) D: D' D: _8 W, f k& u- F
u.checked = false;; K: i3 h! n$ _! n$ I
}else{! ^: {" G, I( ?% L; _: K% ~
u.checked = true;
, t! B% U" a, d9 E K1 a% C/ A6 V }
F% E; A; r! e& T; | }else{1 a" [9 h5 F8 B' q! Q
u.checked = t*1 ;
" j* z% Z$ v7 K# o0 S& i }9 }0 ~% T: E9 J3 w" T
}: G" k9 N1 `! W
$for(s,"$check")
& h+ S( X3 E2 Y" ?$ {/ i- g }3 \7 @% X+ ~& ?" K' `4 T6 Y- o
+ v3 i* x. G2 a1 D7 B) ]5 P style = function (v,s){5 F& g7 Q$ @1 j! l
$style = function (){
! F' W) K, F) w var $n = v.split(",")
3 o5 u b V0 J% b for (var i=0;i<$n.length;i++ ){
7 I- O3 U8 o' K- p0 R var $m = $n<i>.split(":") , F5 ]0 b- T$ q$ [ y
eval("u.style."+$m[0]+"='"+$m[1]+"'");# Q: o0 Z4 F8 |: B" z2 I9 b+ k
}. e5 }0 b) F/ G0 Y4 D
}
) F* |7 `& c$ |5 i1 V $for(s,"$style")6 a8 s; m5 |- @6 @6 U6 h
}/ A x9 ^2 B+ N6 Z7 _7 h" o
+ P# Z, {, A! n4 x) R
value = function (v,s){+ h4 }7 C( A/ D% j4 G5 j T" G
var $n= $this (v);2 M2 p0 C5 q2 u0 w
$value = function (){+ h. L5 w/ x% v
u.value = $n
( X+ f) J/ p' N }$ y. A& I p) x {
$for(s,"$value") 2 G7 o1 U6 C0 I8 b1 I- ]
}) z! A; {; H7 L- t1 A0 n0 k
1 s1 t) G! D1 N: V! ]1 y text = function (v,s){* I# e' H9 E% K- X5 ~' ?0 x) m; ^
var $n= $this (v);* S$ l" Q' l8 n+ W6 s+ M1 `
$text = function (){
9 Y/ T* q: D2 b, g ^
3 G) v3 c/ U, j' P; D u.text = $n8 N' g' M8 m' u* q O4 ~; x$ j
}6 r4 M0 J7 \4 B
$for(s,"$text")
" j$ K- `: s- D' ^1 [) L }
+ J9 X% L4 R F1 n
; G2 e. @' c0 T7 @* I innerhtml = function (v,s){( S% w; G. t9 f; T/ z* s% \1 i
var $n= $this (v);3 d9 i1 z- T/ ^ q& Q0 Q! A) O
$innerhtml = function (){& M$ v8 F6 s1 R# m8 ~
u.innerHTML = $n, `. ]) p- j+ u g2 M
}
, a- i+ T; Z! c! r/ Q# w1 t: Q6 P $for(s,"$innerhtml"): M. R$ z5 ]& Q: E
}
7 w: o& m! {8 z2 H2 {
' |# w" y" k/ H" U* C, H. A removechild = function (s){/ d0 W7 x+ V8 M# n, L. f
$removechild = function (){4 _& y( z E5 R8 d( f' V) x C$ b
u.parentNode.removeChild(u)% j: F& o- i2 y9 r1 j. Z% F
}* l- ~* _6 `/ k! Q: Y6 K4 E# P
$for(s,"$removechild") m) h7 ~& z( t5 y: A
}
2 n. [1 x6 G v( f2 g2 X6 m1 }% S5 t& ]' {# E
$this =function(v){( L5 b( |& p# L+ u/ K! H
if(v.indexOf("this") == 0){
( Y# c4 A' a% E return eval(v.replace("this","u"))
~* b F' K0 C }4 B0 I$ w0 ^ O- S
return v;
7 K N8 l! j& M B# j6 z2 P }+ n1 ^ p: E" x
* T" t9 Z( J: y
$event = function (s){
5 l2 g3 F0 Q5 y9 f2 A. a* Z# | var $n ="u."+s+" = function(){$work(this,s);}"
4 q1 U e, j6 j/ `4 L return $n;
) p. L8 f- X) l* O }# M3 i4 v! W% ]
3 }$ ~" i" ]& {5 B5 b% A
$replace = function (s){5 Y) T& l M0 b* W$ k! o& D: B( ]
: d/ R( y/ G6 R9 f }
+ T0 x4 t+ V. w/ s5 f) m3 [$ j, U
) ~1 M1 ^; y- Z* ~4 P) G( M, \ $for = function (s,c){
( ~& _: X" t) k- s8 ], F' { var $n="this."+c+"()" ;6 @, p! j8 |! V# U5 C
if(s!=null){
; U3 y& i2 W0 y; R0 h9 s9 l3 O" } var $m =$test(s);
/ s, F) M+ H% R, t for (var i=0;i<$m.length ;i++ ){+ {3 k6 t/ h+ t5 R9 `" u0 Q6 a
u = $m<i>;
% I9 I* f9 u0 E2 `1 W eval($n);
# u3 I/ F" f, M4 h* c+ ?% Q- d }; @& f" `' p5 K# d M7 a1 `
}
7 e' ~7 K6 y' e1 O* O$ p X0 ^ else{
9 X) X/ Y O+ P: `8 Z* j! V eval($n);
+ ^! m e! u8 M' Q }8 f' E- P. m) H# u5 R
}
0 j* K$ U% x( v) c* t
3 l; Y8 E" B' g7 O $test = function (a){3 w! V9 {' m5 w( z
var o = new Array();$o(a.split(';'),o);* v9 y# z# w& k$ |: W' `
return o;
4 ? Z; H! ~* A; d( Y S) C }0 I: j* {7 X0 d* A2 U
) ~3 G7 I3 a# t4 t; |- N4 F
$format = function(s){- \5 R, {+ @) w/ w
while (s.indexOf("'")>0){0 K+ @5 D- T5 ~$ _
s=s.replace("'","\"");
7 M- c( V8 B5 C1 E7 l }( }" H) k& s$ W- \: B$ u
while (s.indexOf("][")>0){6 y+ P8 z. S- P0 D/ F
s=s.replace("][","','"); _- X! \, n2 C+ U
}( @9 b4 f' y; H+ `# h
while (s.indexOf("[")>0){
* e/ m" |' I+ m; G: ~1 M; r s=s.replace("[","'").replace("]","'")
5 B& l1 i) O6 `3 { }
* f. w% M, e. E3 O* J$ W& J return s;; g/ D* N/ C! N% S
}7 S+ e+ I0 P. x" \6 g- z
# K9 T- a) f" }/ I $work = function(w,s){3 k* n; Z: z' N; {% `0 V4 `& N8 C8 R
u=w;eval(s)
4 d' m) l6 J8 @ }
, |4 j) L6 g) A0 e& u8 e4 B, O2 l: S8 u4 m4 l- T
$id = function (s){
. C# l1 b" [( F" [0 _ return document.getElementById(s);
- ^$ P; v2 u% ^ }5 l) d; i9 z" n9 \$ Z8 P/ Q0 S6 Q
2 u- `# |) v2 s. S( c# D $name = function (s){+ m* ~ Q( j, z( }) p% A/ Y# ^" H
return document.getElementsByName(s);( C8 x: V* A( |/ V, u4 u
}
9 a; Q. Y1 E9 p9 \, x& R) q! I) s) Z# H! W5 {
$tagname = function (s){
# ~: b0 ~" s: w4 `( Z8 {# K return document.getElementsByTagName(s);. N- f+ v! A+ i, m* A
}; T/ \( E( C) ?) }* W$ H- Z% X
t; i" t2 ]+ \ $o = function (a,o,c){
8 t+ v; _: T: F. ~' ]! J $push = function (n) {0 x* H9 e0 R( ]; ^2 Y, [. H9 c
for (var i=0;i< n.length;i++ ){
2 H2 u8 r: P# `- i$ j o.push(n<i>);
; V2 S5 F" R, D }
2 d5 c8 t/ H3 v }% M0 g: k% W! T
for(var i=0;i<a.length;i++){
! ^" |8 |4 U J if(a<i>.indexOf("(") >= 0){, L, u; H9 P/ v& [( Z/ C# r2 {5 p( e
c.push(a<i>);) ^- ~1 A0 S$ a! x t
}8 W! B- c7 F% F1 y ?* r% m
if(a<i>.indexOf("~") > 0){. P8 X' \ E' C0 Z
try {
" L" P2 [- S# D. R p0 M $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
4 {+ F; v$ _) q }catch(e)
0 S- k! p& s: U& y* f {} 9 W$ E' Q# l# f8 Q8 [
}
3 X1 W" {8 }" u; I( M else{
3 P% e% H7 r; m- I( i# z" C if(a<i>.indexOf("#")==0){: _! ], h R6 f0 U
o.push($id(a<i>.replace("#","")));
5 F; o+ O: d3 Q5 U }
7 N* M: T7 U: C5 | if(a<i>.indexOf(".")==0){
" G4 @ h/ k9 M: E/ x0 m+ @ $push($name(a<i>.replace(".","")));
3 u, S W' M: q( l }$ _' Q7 R; V& N1 `0 J: y; m' }( M
if(a<i>.indexOf("@")==0 ){
# K, @: M2 }" \- x' G! w $push($tagname(a<i>.replace("@","")));# ~2 M# k) p/ O% H0 M
}" `# K7 `" g _; r3 }5 [0 L7 U, `: r
if(a<i>.indexOf("*")==0){! `5 t1 j/ X' D) P
$p= a<i>;, i. D+ K8 W! p9 d5 k b8 X! E K
if($p.indexOf(".")< 0){
! |* J9 X* {! I2 T $p = $p.replace("parent","parentNode")
5 ~" f% X3 L0 [" n& X: o; K6 M& E }9 C" l+ ]" O: m: J$ ]& A% _
var $p ="u."+$p.replace("*","");+ K5 U+ ^; l+ m7 G, V1 F% ~* [+ g9 j
while ($p.indexOf("parent.")> 0){4 P1 I: m ?* \1 j( Y
$p = $p.replace("parent.","parentNode.")
! K+ W) R: w/ }$ N4 J3 [* G }( a" a/ L" W8 g8 Z) V( x; w
while ($p.indexOf("child{")> 0){- h, O+ ^( E) }" ?& [
$p = $p.replace("child{","childNodes[").replace("}","]")
4 v. b8 p9 m, @1 Y9 q2 \ }
! p1 l6 ~4 f) S. {. ~, h o.push(eval($p));: u$ a6 D3 A7 v+ U
}/ H; O7 Q9 j% ~1 F% y) z
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, M4 l+ G! q! Q1 W7 J6 @
o.push(eval(a<i>));
3 t) W( a# ^5 t8 y }
* h* {5 l J. q }9 f1 K3 g; `' d3 T K" d
if(g!=null){ , O! Q# J6 a5 B1 P% h5 }; o( M' r0 H
o.push(g);g=null
1 G2 o _# R0 _3 N: V }
) @% M7 [7 z$ |6 U }
* D @& K3 F% W! \ }
9 ?" F0 t+ f* X9 O: z" F9 o# n
* [) T# r& [' {6 ]' F0 X $o(a,o,c);/ v0 Q$ k" j5 Y, x7 X
' `* O" b% @" y p6 { for(var i = 0;i<o.length;i++){
- j) P0 o$ V# E- u for(var j=0;j<c.length;j++){! B7 l; w) y+ G/ W
u = o<i>;eval($format(c[j]));7 L! J/ N5 @) g- a
}6 b n6 c& E. T
}
3 L9 U3 r1 j2 S9 t' E& |& y! s! Z& ^9 e
if(o.length == 0){$ G/ R0 B+ e: [& z
for(var i=0;i<c.length;i++){
" ~' i* i W' u: f6 D7 o" } eval($format(c<i>));" M; b5 g' c6 L9 r
}' C% z5 {4 N; V( r
}2 m8 Z2 _2 [4 {9 e/ Q; [" i4 @: }
$ s( c d3 b# f( z
if(r!=null){' z# U( J( I+ C$ |- R! | {
return r;3 c$ a, I4 _+ o! i
}2 r7 ~; M4 `5 x) O$ S3 p! [2 ?
Y# I, t8 e0 h, q8 G2 ^6 g
if(o.length==1){
5 ~, I* i% c' H! G% i2 @+ ` ? return o[0];1 `; H' c$ z- m- R$ o, M0 t
}
% j; b B' G/ f- Q5 e* {& A else{
+ K3 U) S0 C4 T6 c' _ return o
. V* A- v" V7 v$ J( Q) Z }
- ?3 s& V1 f& V
8 |7 l1 E- R$ M$ y; x* g }
: h! V7 K$ m4 |' E( |. Ivar lrc =$("#lrc;show()").innerHTML.split("[");+ _( {' t+ f8 h- r ~0 u
if(lrc.length>5){
3 @# o) l( I+ u6 h L( |var array = new Array();7 ~ ^& i* f* V6 O( _
for (var i=0;i<lrc.length ;i++ )# s) D3 O. W) { b5 s1 S
{
2 Q# h2 H( e' C$ x2 t var g = new Object();
7 o P) T# Y+ E. k& C' y t= lrc<i>.split("]");
7 z/ j, S. L0 m' l+ b6 Y' { g.time = getTime(t[0]);3 s- }! ~0 F$ x8 }& ^
if(isNaN(g.time))8 s7 b; j4 T: O" L* `* T# [
continue;! {7 z/ y3 y& d# u" D {
g.c = t[1];. c; x. l& x8 G4 @9 e, F
if(g.c == "")1 s' H$ ?7 X3 L! ?
g.c = getNext(i);
% @; K% |/ p8 j, w, z+ s3 ?7 R array.push(g);
' b# q; [5 z3 T1 b! c, m. x6 G}* P. z0 J3 y; g! |: Q) l+ F" e
array.sort(function(x, y) {& a" l- b7 B' s, s" w0 Q
if (x.time>y.time) / s* e$ e4 |- H8 _! A w; P
return 1;5 ~/ [! Q4 Q0 {$ c+ {8 p
else if(x.time<y.time)
; t8 I2 x9 _. C) n return -1;- W+ }6 e& _ ^, v L6 j7 N6 o
else8 V& j0 e# ~: t' ?. v V
return 0;
! C9 n5 Y/ f% J: g$ i2 F }
* I# s! N% v8 F, E: ?6 @);
8 [4 w& B# s) W e( X- P' Afor(var i = 0;i<array.length;i++)& V1 r3 c& E2 s
{
$ X/ P! B- J! ?8 v var g = array<i>;
, D/ I7 X* O- N* M if(!g.c){
* ?4 k; I1 y( n& B2 ] g.c="";6 |* u) a* a+ k, |4 X( {
}1 v# z" |) ?3 {7 {/ d; g7 n
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 K; b; X+ ~. z! f
}( I' P3 ]/ k( x$ j
var time = setInterval("lrcList()",500);
( [$ @* X5 [+ G9 i}else{+ M; u s8 G% ]' k' q
$("#list").innerHTML=$("#lrc").innerHTML;% V) d, X. f$ |. V
}
+ Q. J; O$ y9 ?& ofunction getNext(i)
- x" c6 s( r. Y& [6 c I5 I{
* Q- C, M$ Y' h var result = "";0 N% J9 ?4 T% F1 N
var i = i+1;+ b& y1 |$ @. X1 ~# r7 V4 o
t = lrc<i>.split("]");3 c( t4 Q# e! |% o/ z, @- q
if(t[1]=="")8 _1 `0 p$ C! S1 T. l- M
result = getNext(i);
# @! o: ^- n* y4 _/ ~ else7 ~/ B2 n) d$ E: O0 \ g8 E) c6 q% n
result = t[1]
- z+ A) P2 v% N; ^& C( e5 ] return result;1 e1 r8 Z3 \- I! m+ ?% w
}
+ n+ G# R) s8 U8 S
+ t$ c" ^9 ]7 [8 Pfunction getTime(str)
* K# B- N p6 ?! _ ]1 W3 [, }{
/ ]2 a7 d7 s7 A, z' G9 ^) f var time =0;
. V! u1 I* \- u/ T var ta = str.split(":");
6 u% {6 K5 f( j if(ta.length<2)! [9 F! Z% x$ I6 V
return time;
0 Q; S" V+ p8 \% i6 [6 W% V" N1 r' D8 V, l5 q. \6 J a
if(ta[1].indexOf(".")>0){1 o+ B/ [& E: Y: I( W1 Z0 N; F
var tb = ta[1].split(".");
0 P" Y* B- c3 X9 z7 r time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ d M2 n+ Y0 n J# ^% k
}' b! h: o/ X6 f# w
else
; V3 Q0 N9 X- L time =ta[0]*60*1000+ta[1]*1000;2 ~; R4 ^; B5 L, C
return time;5 _/ m, d; K0 T9 H) u
}
; g: T* P9 e3 O# N& ovar preTime = 0;& a, n4 I, T7 ?! p3 n+ H, T
var nextTime = 0;
/ T8 j U' r- ^: F7 \( @$ ivar currIndex =0;
4 V7 [6 b4 r4 N: n3 C+ m' P' kfunction lrcList(){7 B( t: F" A- z" u- z. I; k7 {
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
+ R( z$ x$ A; M. I7 P, E J s = s*1000;
( I& [- ^( I5 C if(s==0){2 w. R' v: @3 Z Z& \1 ?( M8 T8 Q& _
currIndex =0;
0 C/ e: T; K6 l2 p* f2 N& B0 A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, a$ x% b0 p! N" a. l& i! _ for(var i=0;i<array.length;i++){
, g7 b8 q+ X& q- Y5 o document.getElementById("lrc"+i).style.color=colorNormal;
5 b$ Q) Z E! B7 c* } }
3 i q2 h9 J+ s( Y: I- H return;# | k% \: w2 ^) y
}
3 ?% K. d$ J U" D( [ if(s>0&&currIndex<array.length-1)
% i) F, V! Y: c/ H, K { 1 q+ e# Q2 K+ g1 ?; [8 S& ^
preTime = array[currIndex].time;# z6 Y: f! [4 I2 y- W
2 q. w, n$ P2 i2 y8 ^" i/ {: ]
nextTime = array[currIndex+1].time;3 [6 s4 E) K3 E: N
9 a/ `8 z4 n2 \+ N2 o- U5 B if(s>=preTime&&s<nextTime){3 W! L% M9 B1 n9 d' ]
}* H3 \( o c0 F0 z! T) s
else if(s>=nextTime)
1 B& P+ M+ x3 b: p a {
W2 f9 @) K& x$ y0 U! y document.getElementById("lrc"+currIndex).style.color=colorPasted;
2 \& |3 ?- B; g) m; r currIndex++;- L, N; y! l! Q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 V! x& M1 A* e7 E' U$ z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
' [/ r& R9 p5 {! v9 a( q m lrcList();' p8 _. E0 o( ]) I6 T) o
}* e2 A6 M, V1 [7 W, d
else{ v- z. Z; {9 I* M" K
document.getElementById("lrc"+currIndex).style.color=colorNormal;
0 ?: @. o, T$ }, _ currIndex--;8 c0 u3 w8 ~! k% g3 n
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! Z. g! t# d7 x4 s document.getElementById("lrc"+currIndex).style.color=colorPlaying;
7 D$ H5 O1 y; _+ w lrcList();2 l5 R( C/ F5 u, z
} ' l4 P# e4 N" Q- B5 R# }5 C" @
}
+ v7 u6 ], B5 V* j" @! l else, o. T: f* w6 f3 c4 t
{" {5 p- E( L m% _1 t' l0 V$ ~
if(s<array[array.length-1].time){
, \* L6 K" k v) t7 s7 u( I( y currIndex = 0;0 U( A, ?! E# m0 L& b% i
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 P) q( v @( X9 P# g
for(var i=0;i<array.length;i++){% }2 `& Y! a% S1 p7 h- x( \
document.getElementById("lrc"+i).style.color=colorNormal;0 z) q3 {, r! Z9 _1 L- M# e* C, O
}; f% l; s! h! J) N% i0 i" m
lrcList();
% M5 E! z# m8 r1 r% m }
' m9 [; ]( G# Y2 A% [( v8 t }
3 q. e/ n" B) c2 r3 N$ g}3 k g, K: h) a) a9 [
</SCRIPT>( I2 L. N6 w) x0 B/ v
</DIV></DIV>
$ n/ I3 |# J; Z+ s6 s$ F. ?* ^) i% P2 f" [1 i: y8 u: N# B& F$ K( t4 e" ?6 b
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|