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