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