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