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