|
<DIV id=list>6 Y* g# l) E4 W2 H1 O# t
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
7 K/ t" }: K5 j" `# Z X<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
+ d( H6 S' g8 F& q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
5 Z4 \1 k1 d) R& O- X( O<DIV id=lrc3 style="COLOR: #666666"></DIV># ~* n: x* _7 {
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
5 `2 ?2 X# I! v+ ?<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>& d# @' `2 n# Y9 p
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
: f" l% h4 Z% A7 N8 {" J<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& S! u" X# x6 C* l! B
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
/ @- X) i4 N- N ]% G9 b7 g<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
7 X7 Z$ T) t; f8 ?7 M<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>/ L% l& i. z) t; C. i' T. ?$ B
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
6 L4 T, o2 _4 h% q4 T( s4 c<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>1 Q# I8 G* i9 `; i- L8 w
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
9 [" y# Q+ _" t. g* p<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
! D: m" S9 E% l) T# o$ V<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
# F* v& `" }( A3 u ~& |9 Q<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV># N' H% e8 q$ _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
) q' q$ h- S2 Z# H<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>9 @( r% c* N2 m" T$ t
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
' v; u& ], } p. T4 U<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
$ J2 g5 {6 A& I2 x) j; c% Q<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>9 A4 g6 w X9 U* A" n% f/ Y" o
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>1 @/ A; o% p4 @
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
! X5 ^* T4 X( k- b2 ], x$ N- n- Z<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>3 N% k5 ], Z, t- `$ H& j
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>6 U. e0 h9 \% x h, e) u
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>( y* H* `2 c( y" ], @" K7 P
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
2 x% ?& L. R# U2 c7 D7 d<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
: S4 e. ] w# b2 Z0 R8 ? `<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
5 U# V5 m* X+ |' n- _1 c7 P<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
2 t$ @/ ^( ]+ v# b# E1 \7 y<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
% a" p$ \; p" b' q+ l$ W5 i {<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>2 P: A0 O2 I9 Y8 l
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>1 W/ ?# q* o. ?$ h
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>+ Y3 n. A' D. w, F+ k" m" B
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>0 k7 L2 r: v. k6 ~
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>. D. G: ^7 z* r' [, m7 G$ O5 h T
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, B7 G. n8 l% A+ O5 L4 F! Z6 N& G! n
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
1 Y1 A1 t% G' p( Z* M' G) o<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV># Q% h- S4 \: z$ Q. q3 u; {. w
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>. G" J" Q, k( ^8 S; I% ~
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>* R' E. S. V/ _6 f& n$ N/ b
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 }" b- v3 I. F3 P$ t- R( n1 a7 M<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>( p- B P9 Q2 D1 C( V: x
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* o6 C* {2 f7 \8 `& u) X/ f<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
- j6 i) k6 A' d6 B6 F5 a<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>1 L9 r5 s1 F- W6 q) Q% ?
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
6 _8 b* T7 e& l6 H3 B0 @* B<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
& G1 \$ c6 y( [8 Y8 e0 x+ z<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
4 \2 t- n% l, `5 M/ B6 r: h<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# M+ ^- w4 W' @' t9 S9 L, j) i+ w<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>5 x) |5 T7 O* l, c- c- c" p
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
. k- C8 Q! e% L" C5 W. P4 p<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: n" w; q% ]0 U; P9 W<DIV id=lrc style="DISPLAY: none"></DIV>
6 `* ?% g( }; q7 v& t) ~$ i Y; B<SCRIPT type=text/javascript>% C& [0 Z4 j$ {: n( Y" K0 n
document.domain="1ting.com";, s' `! p6 I. j* v* B2 V0 N
var colorPasted="#666666";; _! M2 i# i9 H) O
var colorPlaying="#ff3300";
) _7 b0 I/ c3 K* L) X" Z" a/ Svar colorNormal="#000000";
5 T' M' Y7 \0 z! e5 z* T7 n$ = function (a,g){
{5 ]: P. }' J; \6 t var o = new Array();
7 ?9 F: z: b0 Z7 O! R7 e: p ` var c = new Array(); 3 @( `) B4 ^( m$ J m
var r;
$ N: h6 X% c9 D var u; & M: g5 G8 j8 G; A
var a = a.split(';');
; n5 w8 e8 L+ k1 \9 f/ Q& A8 s' F# F1 @) d: d: x/ @- e8 `$ Z, U
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
' @; b: r1 W$ ^/ Q( X for(var i=0;i<e.length;i++){
0 m# A9 j0 O4 d/ _: V3 g \" X eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")! J+ X/ O- K1 R g* R
}7 Q# M. D) |3 v8 A
/ w$ k& y: }" `; s! H after = function (t,d,s){
8 f- _* [2 C0 o6 d $after = function (){: }* Y: H! w a& d9 f
var $n=document.createElement(t);! o' t7 @# ?6 n1 A
if(d!=null){
/ R! s$ j0 q- i $n.id=d; 1 k" y3 {1 _5 B# x
}# N" F9 {# j. n: N: Y6 @5 y
5 q! T0 c8 O* G9 e
u.insertBefore($n,null)
+ K4 L, C$ t3 G' d2 M r = $n;
7 d8 u: [" A8 G$ n* B3 l4 u: e u = $n;
$ [ ?. E# ?# ~: c# i, v( W, g }
5 ]8 g! w7 Q% e+ T% \$ B4 O# } $for(s,"$after"); \( v2 b! J( ~- E. y$ S8 }; v
}
. ^# n, b, \4 m7 s, B
, O8 l6 Q7 ^4 o1 f: ? show = function (s){
6 v$ [5 Z1 {3 F, }0 j $show = function (){
" I% i! B: F" v1 s u.style.display!="none" ? style("display:none") : style("display:block") ;% q+ S M9 O# f! l4 ]
}# M9 S: j$ J( x3 `
$for(s,"$show")# z L) @" d+ k3 D. a, C/ I
}! W7 W( U; Y3 Y3 K3 ~, F
, g- N% C/ x3 M check = function (t,s){+ D! d3 P5 o0 W8 I
$check = function (){ Y) m2 }: f0 }- M
if(t=="2"){" p# |5 V0 v4 N
if(u.checked){
# r/ _9 j# I& D) G u.checked = false;
, I) s! Z% f+ E) B/ u |3 @6 f }else{
4 j1 P' Q {6 y5 Z+ P) u u.checked = true;5 B- w- u+ Q8 @4 ^
}) b; T/ ^4 f/ Z' ]7 o) P
}else{
; y: m2 R- k4 J& T' r, K' \' N u.checked = t*1 ;) H4 G1 t3 _6 \5 J; Y% I
}+ o" S0 |9 Y$ z) P; G% u
}
- B0 x# ]; Q2 r5 ^$ L $for(s,"$check")& }% Y- R9 r8 G1 L, `0 X
}
; I5 O- \9 L( |- u, ^% F* L" j# P+ S0 S
style = function (v,s){! h0 {* I! }$ s. n3 R6 |) V2 ]8 D
$style = function (){3 }- x' z; X) `7 p
var $n = v.split(",")
$ w% ?- X9 a- I' e for (var i=0;i<$n.length;i++ ){
" B- b+ k* C0 Y4 v! q var $m = $n<i>.split(":")
6 N& I6 @0 ^9 _ d5 {! y eval("u.style."+$m[0]+"='"+$m[1]+"'");5 n2 W9 Z4 [* {/ E9 B6 R
}
: R2 q- k! x) d5 I, \ }: w" z, S' l# M$ n; u; M7 m
$for(s,"$style")
3 E* a- t3 n5 F/ Q8 O- | }
$ E6 g( q7 e! e! J0 |# U3 w; C& Q F$ N* e% m% g% Q( {5 m
value = function (v,s){
( D6 v; V" }. h3 L9 c9 a# ?, W var $n= $this (v);
1 b: j+ o- d3 e4 L: r/ H $value = function (){+ _# f& v9 e, }$ D4 c; f
u.value = $n
3 \6 t! Q: S6 F }
5 x& L' u0 T/ | $for(s,"$value")
. O5 ]( d, D7 C- m }
" x( w$ ?' i0 \ L% b1 n/ c9 w7 A* k9 J& F5 `( T! s# z; i
text = function (v,s){
K* T1 E& y" t/ G var $n= $this (v);
) l1 V8 @# o2 l $text = function (){. R. D3 |; l5 g+ O
3 H) q% M" L% @( b2 d6 S. z u.text = $n
2 p1 K/ f* k/ L* u N } x7 k% L% H# b9 R2 |
$for(s,"$text")
: ~- M3 O) P9 H1 T4 u; a I S }
1 c9 c' D+ H0 k" w
3 A0 H2 T+ ?. |8 A. ^: e innerhtml = function (v,s){
; Z; r+ z4 @3 m% X s3 Q var $n= $this (v);/ s3 W; `% d* [0 }! V+ f$ c
$innerhtml = function (){
; y$ R: _5 i& P5 | u.innerHTML = $n
3 ~6 j% S6 k; F0 B2 Y }
( Y1 | b; z" E $for(s,"$innerhtml")
2 d9 r: B9 v5 t0 I }& Y3 E; I# |, \ f9 ^; q0 r
; Z6 W0 ]1 J' c: b7 j4 _3 Q
removechild = function (s){
5 y% D) N- i$ ]: ?9 S1 L& [ $removechild = function (){
# J u& b/ O; ]6 I: K u.parentNode.removeChild(u)$ P; t, ]& C! f
}
) l) k; M- s+ Y $for(s,"$removechild")
% q& B: `. N$ \+ d& Y; _6 s }0 E0 u( _ c$ } R& |% H( F6 O
d _2 P8 o" b& O7 m- i" j3 i$ T a3 X $this =function(v){
u' _, |# m( l8 Y: ~# L if(v.indexOf("this") == 0){- i1 Q1 x! ^* m: w1 g3 X, b
return eval(v.replace("this","u"))
$ ~( I/ V( p. A0 L, M }1 e+ _& K) _/ G. W$ I3 L6 C& d2 K
return v;
* v! Y: Z# J$ z5 Y# Z* ]* ] }' ~# ~1 ^: q- D+ `2 y ?8 f7 o
/ h6 v8 l4 a6 U2 n: d2 _, A3 _
$event = function (s){
H) h2 G8 l- m3 D" o9 `. }, _/ p var $n ="u."+s+" = function(){$work(this,s);}"; k' R( b* L- c+ P
return $n;
% z% Y |& z) |4 p* H* { }& I2 q' L2 ~8 S! p' d
3 j8 k0 T7 A) @1 b
$replace = function (s){
6 [: h: v6 G$ c1 v, R
5 r( ]" {$ U2 Z }0 }4 D4 A! J3 c; t1 U) t* {
7 ?" w5 \1 U4 C7 C/ r* M) y
$for = function (s,c){ u* F+ D7 |, B, g
var $n="this."+c+"()" ;
/ g6 D1 o5 N) e# a if(s!=null){5 W! j# `$ s7 g; k2 R4 ~
var $m =$test(s);# h* |* O# _0 }
for (var i=0;i<$m.length ;i++ ){
! L* q8 O: Y1 w# H9 L; u) }5 f u = $m<i>;
) q! s+ g; o1 G eval($n);2 J3 h* C: a- e- h
}
$ e8 w& g) I: Q( t }
4 ^# k" J4 e1 w4 O+ [* n else{; N. U5 k1 V2 j X
eval($n);4 l7 x N( I0 e7 Q, Y8 }7 i
}. l) \& O! |3 i
}
. U6 U1 k4 h4 G t( E5 H % P1 j$ L2 c+ m" r) g, C7 i- m2 o7 a2 t
$test = function (a){
. q' _& W" K3 r+ \ n: d+ @6 i, P, u var o = new Array();$o(a.split(';'),o);
% P- [+ h2 o+ G6 i( F+ m) v return o;2 r- j' M1 @9 ?/ }6 d
}. [2 n( J+ X% `3 o, H' `
4 U9 b$ G7 _4 Q% O6 b
$format = function(s){7 ^, e2 G% J( i# a' g' |) y
while (s.indexOf("'")>0){3 {7 U& |5 O+ W5 U1 h5 c! R
s=s.replace("'","\"");
0 ~. Y w/ E' q }
; h& c6 g1 p( d( r! F, i while (s.indexOf("][")>0){
# O$ |1 N. [, j& [- z s=s.replace("][","','")
! t' h! P# j. w } ~8 p! _# G/ Y8 d/ O. i( X
while (s.indexOf("[")>0){
% l& x4 x9 a5 N: _' T s=s.replace("[","'").replace("]","'")+ H& V* h! n+ P
}
" s$ K, r a' Y; U8 k1 Y& @* z! Q return s;8 P3 O: t$ r. [+ B0 Z1 K) t5 q, E
}" i/ g, B: g7 S) I% Y ?
* G, Z( s) ~8 g5 _( B4 z- e $work = function(w,s){ b2 e5 X5 |3 s1 U9 N
u=w;eval(s)6 b& U0 [" J: ]5 |3 o
}& W2 F# G$ p* U$ r7 G5 \
4 u$ ^" w( Y/ g6 v0 t4 J V U
$id = function (s){+ r6 h% z l y5 a3 N' u
return document.getElementById(s);
# q1 m) A. H4 m. g# e& z }4 E! O7 L/ L$ ^) J
2 v+ ~/ Q' |' ~. A( G7 B: S) d! O
$name = function (s){/ n- {* }4 A5 H- [0 w/ Z! q
return document.getElementsByName(s);. ~) g! `4 X* H: ?( U" A* E
}
& x+ X5 n$ J: {- A
- N- N0 w5 x, x9 ~ $tagname = function (s){
* J: m! J* `/ v2 k6 h' X& S return document.getElementsByTagName(s);
. L o3 |4 G, c1 E }0 Q+ J" n' A6 ]% U
8 K/ v4 Q1 |* l; }/ Y: }5 u
$o = function (a,o,c){7 G$ S% _& C4 c; G: I4 c" ~7 q
$push = function (n) {, f+ D. C7 H8 d+ ^* [0 |! x
for (var i=0;i< n.length;i++ ){$ m2 u: X2 F0 j
o.push(n<i>);9 T- {; V) w5 R" p
}
. w9 g2 X0 @8 M4 Q }( a* H; A0 n4 Z' ?1 \$ ~0 i
for(var i=0;i<a.length;i++){
9 Z5 h7 A! v8 K' \5 @ if(a<i>.indexOf("(") >= 0){4 p4 E% m- S" q7 m6 e$ ~0 \
c.push(a<i>);1 M& F" H3 i; U1 U
}
B/ \9 M" s' [9 _8 a if(a<i>.indexOf("~") > 0){
9 {. t/ S( d3 C( P2 l try {/ y2 P1 i6 J; B x8 }2 w1 J( B
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));6 l; t! u9 B7 @4 F/ D" ]/ M, x9 |
}catch(e); x$ R* r4 l0 M4 D E3 S
{}
) F: ^2 g% S3 @$ N$ X( q2 v }( o. P! `- E0 [
else{
5 z* D! f0 F7 a! ? r8 v) B if(a<i>.indexOf("#")==0){# ~% x2 T6 p8 Z8 n- r. t
o.push($id(a<i>.replace("#","")));
' ~& O* p- U- c8 ^/ e$ F }
+ f' Z8 Q2 ^: k3 y if(a<i>.indexOf(".")==0){
& k, e* N ?1 H5 U3 t $push($name(a<i>.replace(".","")));
& a0 k; }+ A, V( c* |- r }
$ s4 \9 V" M( \& U$ f" e; n# [ if(a<i>.indexOf("@")==0 ){
& N; w4 K' e4 K$ k/ T $push($tagname(a<i>.replace("@","")));
' s- V K: _! l0 c3 p9 V3 V }
4 }$ o, U$ `# r* P% p if(a<i>.indexOf("*")==0){
- I2 C0 i, v. `2 {9 J$ Y $p= a<i>;
3 V- v/ d1 ?* v; u, S, f% L R if($p.indexOf(".")< 0){; e" Z) G( u" [& M/ ~, f) s1 N
$p = $p.replace("parent","parentNode")4 u+ v) b& u: \" f/ Y4 @7 p
}% ^4 O \! Y( P; z" s
var $p ="u."+$p.replace("*","");
! E9 u% s. R$ a5 m% j while ($p.indexOf("parent.")> 0){
" h5 j" K$ d8 s1 ` $p = $p.replace("parent.","parentNode.")! p5 h* Q$ ?( C( k# F3 H7 A4 G: d5 B
}
7 ?7 c9 n' q" a. E! N( w( V$ ]% l2 v while ($p.indexOf("child{")> 0){
. ^7 C$ s& }/ c% d1 M, \+ O $p = $p.replace("child{","childNodes[").replace("}","]")
8 I, n, ?- z4 X) J& _. u! R }2 u/ O# s! |6 ?, B6 {) y Q
o.push(eval($p));
3 W; |4 k! M1 V7 O% D" l. [ }2 W; f' O0 |1 Y. {1 ~
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
" b' a& h3 }9 l9 a+ R o.push(eval(a<i>));9 h) p6 Y T+ B7 ?: Y+ O
}
% K& b1 G% R2 ?; p% O$ w; R) B }, U F- M- v. C+ e$ P* [& `9 ^
if(g!=null){
7 v) s. L7 R; }$ |$ L9 b o.push(g);g=null4 Z# u3 a! Z- A, W& Z
} $ V* I% A: d5 h- D' }: _2 v
}: b$ D, G4 |5 E# J8 }7 }- L% x) E
}+ b d& G4 O, @* i
- b1 V7 a! g, ^# c1 Z8 Q $o(a,o,c);
D6 i' }& a! Y+ V, ^2 n6 u) e% f, Z! R6 A3 {) ?3 C4 b
for(var i = 0;i<o.length;i++){
# }# l9 N+ R& X' ~- j" R for(var j=0;j<c.length;j++){0 X. c) }2 G- F* a8 G/ j5 {
u = o<i>;eval($format(c[j]));. ~( \& {* y/ I0 d
}8 a& O. b6 G# n4 G) h
}4 s9 |6 r/ w E* c8 B9 r) j. s2 A
! X1 T% j- K2 p* D6 V
if(o.length == 0){
$ m, f6 g* _. Z* x for(var i=0;i<c.length;i++){6 c3 n+ `2 `. f% @, F0 U+ ?8 d! r" S
eval($format(c<i>));
1 a$ O0 @1 I0 z- f }) V' S L; s3 Q# E& f: a4 }
}
: | g6 ]" b; |8 F7 p3 z # x3 _# ^4 K: z! t5 m4 U" z
if(r!=null){- C& Z6 [' |. ~* J8 k% F3 R) z. F
return r;; B8 H3 B% J4 h8 ]
}
) \% [6 S7 A- S6 D f8 q/ c 4 b+ r: W: `2 n- Z( T; q; V
if(o.length==1){8 G! q( G% C: L2 n1 T
return o[0];
0 w6 z& H/ o# G+ F }
( e7 Z# @* u3 g" a else{
9 r$ I+ X" a/ Z0 Y( o9 z return o
( Q2 f! k6 b7 j } ( ?' t5 P2 U9 u8 s. _
2 G7 d1 O$ X) C1 c8 c5 f" {, E
}. x; E7 ]! Y, \: S& v
var lrc =$("#lrc;show()").innerHTML.split("[");. {* V3 m6 {# r8 s' I5 _, F- r6 H
if(lrc.length>5){
' V3 I$ D: D j" A2 O, Lvar array = new Array();
9 m& g4 o! i( Y) t! g3 \for (var i=0;i<lrc.length ;i++ )+ u' f) ~+ L' r2 D9 n3 ~4 x
{9 X+ D; w0 Z( o/ B; V1 E
var g = new Object();4 L1 l8 q+ v% K& F5 @2 t
t= lrc<i>.split("]");
& h& z9 g |$ n2 {% ? g.time = getTime(t[0]);8 i; a- c* x$ O) K$ L2 p
if(isNaN(g.time))
0 T: p$ w: f- M4 ?, ~ continue; q( |3 |# [/ P; F6 G$ ]3 U. E
g.c = t[1];. K4 F1 t+ w9 ?8 @
if(g.c == "")1 ?+ O( t+ u8 F8 ?
g.c = getNext(i);( a7 A# Z6 K7 w, {1 K7 y4 _
array.push(g);
5 m# r3 q( y! H9 P}
: v0 A8 C7 h( ]" Varray.sort(function(x, y) {
$ x) k# ]* J" ]% r if (x.time>y.time) ' q' E2 S. x @- g. d' `
return 1;
* h L3 B* @7 G else if(x.time<y.time)
# C5 i* L; [. x0 F return -1;
$ N* ~3 _% Q, M& B& z# a3 n else/ t& ]- x- U: X V; E8 h) H
return 0;2 x: s+ L# M8 i3 V2 J
}
" E0 B$ _/ E$ T' N2 \9 I);
2 F( J3 J! x5 M; mfor(var i = 0;i<array.length;i++)5 j: H2 f$ Z! P6 A5 G% z! W
{# r& m- R" ~. u0 a4 b2 k( W
var g = array<i>;3 i- L% B3 T. s: m
if(!g.c){
4 @$ u( m" d, h e g.c="";
9 p2 F3 S+ S3 l }3 }5 I# r8 W# ^# K
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 O& T& E4 ` X; p1 F! L; a}) l1 T, m( U) }! k: ] x+ M4 b
var time = setInterval("lrcList()",500); & c5 a8 b( Y3 T6 m5 q
}else{
" y" f8 F7 h' a' r $("#list").innerHTML=$("#lrc").innerHTML;
! x3 E0 O5 {. p' [1 U% w}
. ` {4 X& U9 Mfunction getNext(i)0 U9 ^# F+ W( G3 b S
{
3 b1 x7 T; W% v* H var result = "";
0 ^1 y' c# B+ e! J# f+ v var i = i+1;
/ j( f% v$ [1 Y3 K* _ t = lrc<i>.split("]");
1 s1 F3 D8 c" r if(t[1]=="")" A' d5 Q$ T$ h* j
result = getNext(i);7 o* b; j- x! O% v- s; l9 [
else
- F6 R, ?! p; v; V$ F# n result = t[1]
+ m. o6 h; J+ Y/ G/ X return result;
5 Y+ t/ p3 W+ a4 F9 z! K}
( d2 w; Z/ }7 p6 o& U
* i# M# C. K$ L& d1 Ofunction getTime(str)6 Y8 G) ^& S8 Q7 @
{7 L/ P& k5 v. w) F: U. k- X
var time =0;4 C' |7 W; ?- ?' b N$ ~0 ^. k
var ta = str.split(":");
4 n, c$ S [$ r" ]2 I8 _! x/ \% p if(ta.length<2)
' K* ?" k* p' p5 d& _ return time;* L, I6 _8 g7 Y* E/ B
: z& Y# D9 O. R8 N6 N M if(ta[1].indexOf(".")>0){
2 W$ \4 z3 V# R var tb = ta[1].split(".");
2 Q" E& a a) e/ g time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
2 |, d0 |8 s6 a: \( [, H- q3 u- ` }0 A7 C& g, J$ C) w' C' {
else% _9 o7 I2 E8 L
time =ta[0]*60*1000+ta[1]*1000;- ^3 W; k: F) S
return time;+ ]% t# p' K4 u' S: l C- ^5 g s
}
0 J, L8 \) J; J3 K3 cvar preTime = 0;
/ H) e: h1 Z5 h0 x/ }) G0 {* K/ Svar nextTime = 0;, a* r9 X$ |8 j2 `" J5 Y
var currIndex =0;3 d6 o6 L! f; ?* e& ?" }
function lrcList(){
! w. D( N+ o: d+ {; w9 O3 G. ~8 t var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
6 J0 }3 p, ^$ H s = s*1000;. N2 s2 x' o; Q9 R1 `0 w7 Q
if(s==0){
, C4 K4 ?) Z& q; p* V, z currIndex =0;- B) C; S* _5 k' c& h6 A
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;) O6 d6 N c a) {/ F
for(var i=0;i<array.length;i++){
# l8 ]# {1 _0 a, G: Y document.getElementById("lrc"+i).style.color=colorNormal;- g& ^1 E$ \9 r7 K
}0 R, x3 G3 O/ L! f* u, V
return;6 |+ \4 @/ s) A
}
^$ b- x0 `! ?1 S4 M( J" ^5 t if(s>0&&currIndex<array.length-1). R0 }, @% P( i, l
{
( n5 E7 B9 W8 e; k& Y8 v8 t" _ preTime = array[currIndex].time;
' Q0 P& X& ^! i: k/ E! d! I } 4 W# v# a. I& i- s4 w8 C" p
nextTime = array[currIndex+1].time;
4 w5 G! J8 i* t( N
1 k5 Z3 H. Z8 {( E6 D1 x6 { if(s>=preTime&&s<nextTime){
" F3 n" o+ \# o9 k" Q v4 ? }
, f% N, |) c& G% _- K else if(s>=nextTime)
' z: X0 ^! Y+ o {, l- F3 M+ F7 F6 Q! N% u
document.getElementById("lrc"+currIndex).style.color=colorPasted;
* Q1 A% {. F! s, U! e currIndex++;
% l9 r5 B, N2 x: T n/ x7 L$ \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 Z+ i9 Y" H0 i1 A1 J3 c4 Q6 h document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# i; B% T9 X1 f8 S2 d+ P" p lrcList();
0 w/ K" d [2 K3 o. v }
& v2 ^, e: G' ?$ m( h: k else{! p4 [$ ]% |6 w" h6 M: w) o
document.getElementById("lrc"+currIndex).style.color=colorNormal;
6 ~% G: v% N) C9 v/ R5 V: \4 K currIndex--;
& n5 b- P6 m0 n- t/ A $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- R) P2 T2 ^% ?4 V! U% Q
document.getElementById("lrc"+currIndex).style.color=colorPlaying;" v" d; \/ M$ P
lrcList();
) g) Y4 P E; k* n8 D( X } ) E) D3 n: ?: g
}( y, o& L$ K4 Z6 g5 f# c& B
else
! P6 O. m+ f9 X D4 r {
0 i0 O, W* j8 I) u/ g3 Z: I9 O. w if(s<array[array.length-1].time){' G* f2 ^4 B; T4 t) H
currIndex = 0;
* V5 W! ?" f6 D" \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 D) g( A4 i7 A! K, [ for(var i=0;i<array.length;i++){3 ~2 P) j+ j. C: j% g% o" u0 L
document.getElementById("lrc"+i).style.color=colorNormal;, |+ r/ M, G+ c9 z; |8 }. d
}
. Q1 R0 `$ Q4 Y: p6 B. o7 `9 @ lrcList();$ e4 M7 l+ _% w+ x
}# f9 @4 C; \2 W) x
}( D! R6 {0 K8 i! F
}
" ~5 a5 V9 X$ `% a) y% i2 C</SCRIPT>7 J3 X$ Y* l8 x# n
</DIV></DIV>; g5 N# G7 i, g7 v. ? j
4 Q% [! B. L5 z2 w8 J0 W9 _8 C) y
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|