|
|
<DIV id=list>5 ^$ T6 d7 Q' v5 i; Q/ g! o
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>* x7 ]( r8 R% {) | @
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
2 T; f; J. U4 C9 q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>; u2 w' E3 _4 A! O
<DIV id=lrc3 style="COLOR: #666666"></DIV>
4 K8 e" w6 ]" J: D6 A<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>0 G0 z& ~" y# R- v& l! ~
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>- H6 Q: B5 K. v! ~( ]$ }% G6 h
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
9 y) _% j9 y1 Y# |) t<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
. x$ J* B" i+ u8 U- \: M; s, y<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
7 X# z6 z, ~5 o R5 K0 b<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>3 n( J- A8 z T( F. x
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
! M- p0 _. E$ W& {$ `+ z2 O<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
0 _! Q7 d6 P, q<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>$ z% }3 N1 D+ x1 s
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
8 X, P) P! O* ]0 X, r$ f<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
. [8 H6 m8 s& I; q: z" e" S<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
( o- i5 ?7 Y7 d* h/ h<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
( M2 B5 U x3 r8 i( Y<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>0 A& n* Y' ]; P8 x! w8 ?2 ?& C
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>' R4 [0 y+ d1 T: @
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
% q" A, _- ^4 P5 ^% q" _<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>+ N$ g4 o5 n/ |$ f9 u2 |% j
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>) ^9 L, ~: Q( w* C# K
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>2 B/ z) m9 l% O! t
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>4 _7 U; @ w( V+ S; T4 O2 k! |8 l
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>" _- a7 w4 @" @( ?" v
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
$ E Z- E, t2 x' Q& m/ a3 u<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>4 r" h+ z1 X8 N/ c! Q) F3 F6 D! ~
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>5 N8 v/ u8 Y$ K- u4 S
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 [- D# u0 v4 }# Z
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
+ s/ ?# h; C3 w<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>7 r" z% j) k0 d# z- e/ r0 O( c1 z& G
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
# |9 \. s, F3 E r5 K! B<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
: n8 E8 @/ J( X1 m+ q% x& I% d<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>, r8 o8 `% u1 B' G
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>+ O; X1 O+ j: D: M4 \, h: a
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>8 Y7 u; w8 l: L' m |9 g/ T
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>: t/ c W4 X& |7 ]
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>, t: r0 O/ s" v- J2 b- p
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
7 V, D: ^- }9 O9 D2 T3 ]<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
, X) G4 J6 @- O3 ^<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
1 S$ W8 b0 _. e* H<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>3 y7 A" G' l7 ?5 o
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>* p; F$ W9 y0 P' M* I4 Z/ J
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
, B1 I9 j8 Z8 @<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>1 w! X% {% W7 Z
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>% Y( a! t4 O6 t# p/ A: x5 j$ s
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
& Q, a4 r* k) ?0 e5 w2 X<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
' i, ~7 a: a0 i' g<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
# Q8 ?; s0 o/ P( q. v<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
. f% E! M9 b4 M( a<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
8 _4 j/ ~# W2 p9 q1 n5 R! c+ w<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
9 ?) t+ C$ l4 R4 D* e, _<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV># V. L% c+ S) D5 r/ F6 `# x7 ~- e
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
" c% g6 ^9 Z8 B, B B<DIV id=lrc style="DISPLAY: none"></DIV>
; K( |% b9 ?( N4 u8 R& q- g9 r<SCRIPT type=text/javascript>- |: @* |2 P2 k
document.domain="1ting.com";
' n9 {5 @* |' X9 L6 h2 _3 Y/ kvar colorPasted="#666666";# u7 ^2 e; B, S- M
var colorPlaying="#ff3300";
5 V6 u& P9 Q. w: b5 b7 bvar colorNormal="#000000";3 J, S7 y& l! [) }& u
$ = function (a,g){
' U, }/ z- ^- p0 S: g var o = new Array();
' |" A' B% z( l- \+ ~+ H var c = new Array();
* N: B1 a& t8 m var r; ) \4 L3 u+ ` |
var u;
0 ~$ r9 _* n; I& E- b var a = a.split(';'); : s3 s3 G: G: b. M: |* W
& X1 o, G- W+ W/ g" ^- V var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
/ a: Y; Y) l! m& W" b2 Y: h% w for(var i=0;i<e.length;i++){
6 K7 _/ Z$ ?) m6 {8 p eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
9 ~, f. A: E! ^2 ~' a( h }
- j% I& n( k2 p- | u+ S( i" Z- B) P+ c& X& W$ S$ ?, T
after = function (t,d,s){. j9 }# `) o; q/ Q; a! h
$after = function (){$ ~8 y$ T4 t3 i) i
var $n=document.createElement(t);
3 [: F/ d9 A0 M. L if(d!=null){
+ s5 M7 X. H4 @ h- r8 F, `8 C $n.id=d; ' Y2 L3 b& [$ f! L7 ]) F2 q7 |
}
t a0 e: ^/ M0 q7 Y 5 f4 _- n0 B6 A! R* W
u.insertBefore($n,null)
- q' E' b6 w7 g9 B+ d r = $n; $ j. `8 _6 u* e! O8 r! b
u = $n;
8 y) ?4 Y$ q) G/ d: T }3 n4 j1 U: _' [0 {- ^
$for(s,"$after"); ] k/ e2 X/ P& t( S6 N
}
- i& g, k7 x* h* q. ~2 C% _+ T0 \, r
$ Y: Q k; g2 ? show = function (s){
" m" A( W$ k$ \0 S0 Y" s* } f1 ? $show = function (){
[9 m% U: Y) z9 j. \ u.style.display!="none" ? style("display:none") : style("display:block") ;/ F! A/ e% d. m( k r* e% _
}- `3 a( ?1 ]3 a4 x
$for(s,"$show")0 H8 s- f$ [: m2 ^! ^/ ~" E
} h6 _2 L% g* {: q
% q! t5 M& W% o. V$ `- {
check = function (t,s){# K1 u9 c% [& Z$ W5 w. z% c5 e$ ]
$check = function (){
5 g3 \: r- {$ r1 j$ N) ^0 A3 m if(t=="2"){
( B* L7 Y' M. o. V$ e) u if(u.checked){
- d6 [9 v7 j2 f4 b. S1 u3 O' \ u.checked = false;
- i+ Y( [6 y9 j' a }else{6 {' y- M: c! Y) b) z
u.checked = true;
" L" x; F7 H8 S4 }, Q! z0 h }/ Q) `3 `! x4 E! w
}else{
! J* L& t; R" K! k/ I1 P+ R u.checked = t*1 ;# ] n+ X! E5 x4 [0 U3 ~4 w2 U
}/ L4 M! e9 r+ ~3 \+ a
}3 J0 G3 Y" y& @5 ] f
$for(s,"$check")
M6 C/ |' r& Z+ ^. Z& H }7 [7 @+ d8 W. V5 M
# C6 C7 g# K7 k6 T' l9 z1 \7 \
style = function (v,s){$ \3 H5 u) d: f% E( ~! R
$style = function (){3 @5 M: i4 \$ V4 T S
var $n = v.split(",") - a- F9 A8 n2 R
for (var i=0;i<$n.length;i++ ){0 w2 ]# K% v: l+ u$ e: t0 x5 }4 x
var $m = $n<i>.split(":")
' i) y& k) j" E1 X eval("u.style."+$m[0]+"='"+$m[1]+"'");. l- ^8 z! y1 x! x$ X, g7 ?
}
4 |, o9 `( s0 r4 V% m }
- {0 ~+ b& f3 y, G. [& q $for(s,"$style")/ u- t# h3 G. M+ l6 \: q8 q
}2 k3 D; e& X" s
; @' b* @* K4 X6 m9 e/ o7 c, x0 x9 ?) c
value = function (v,s){8 T: {2 X" m8 J, w
var $n= $this (v);
5 f/ P# {5 {; T9 @" I5 R8 U $value = function (){/ e) O7 a" A6 `
u.value = $n
8 F( i' U! ]6 ]7 I/ Z }
" \# L3 T( J3 q( p4 b+ N* W $for(s,"$value")
8 a! q1 E1 |/ i8 u }! Q7 H3 ^$ C" y
. b, p! M b* J" o1 N' ~ }8 E& c b
text = function (v,s){, M! U, F, Z1 W& t4 G- M
var $n= $this (v);; J0 L2 ^& ~# k: K) M2 \5 h
$text = function (){2 q W& R5 @7 n
8 ~0 B: i' q$ a2 ]9 q) Q6 L7 r
u.text = $n
7 k6 K& v& k. {( l. @( |' a }6 A# d4 `7 X( G! G1 r& y- I" V6 o
$for(s,"$text") * R' @( _8 G+ |. p7 S4 _/ H0 v8 _* R; B+ o
}
( E1 Y0 \) q1 K' p* G$ Z& ]* [* D! O `; U3 a
innerhtml = function (v,s){& j, `2 t& Q! c0 v3 h
var $n= $this (v);
% x* c2 F- R9 o. s9 @ $innerhtml = function (){
( X( g1 G" P5 H: i u.innerHTML = $n' m7 d& N" N: {' n: l. b
}
5 Y* a' q! ^ g2 I- P $for(s,"$innerhtml")/ N3 J/ g2 S: L+ p4 B/ r/ s) W3 w
}: e# q# F$ d+ S- u, c+ S
$ }5 N0 T4 a9 r3 r* |
removechild = function (s){
( g/ s/ W4 m/ C1 V $removechild = function (){
$ d' Y( S( \; ^" N) a# _2 j) j u.parentNode.removeChild(u)
5 ]" P7 d& a- q) C5 F+ r }0 E* k4 k+ A$ f" W
$for(s,"$removechild")
; M5 s9 W3 s2 @6 K# ] }
) l5 ^, ]# G* u) O8 v
% f+ `2 G/ d5 l0 Q. k9 m' }4 _ $this =function(v){$ e) C; X8 p9 R5 u; `; W
if(v.indexOf("this") == 0){1 d1 }% G+ O4 y, U
return eval(v.replace("this","u"))
% Z B; K0 Y5 Q! ^ }
* l- P, i. b! y6 S' P" W) E9 M& K return v;
7 v- A* z5 G( J' i7 }: O5 Z; { }
3 A, t( c( ^- \+ p! x k9 @; d* R) l( e( w6 S& w/ }& M' ^+ d
$event = function (s){
; ]/ ^% q" c" B* n var $n ="u."+s+" = function(){$work(this,s);}"
: W' H! Q8 b* Q' B! Q" k return $n;
+ ?7 W: a/ T1 Q( T6 x2 b }4 A4 ]% U& R; C n2 C- y# C
' r: ~/ U) b$ y: |2 b $replace = function (s){
% O' p: ^2 r" O" V$ b5 `) @1 [- s# F( g; K* D8 Z0 `* D
}- L0 l& ~! g( E: o7 F- k( l
9 y: R8 Y5 t: w3 Y% {* A5 I
$for = function (s,c){! Y" G9 s, u; j) t( R# G6 X, e& L
var $n="this."+c+"()" ;
, R6 V0 O$ S% l& j6 f/ ^" C, m if(s!=null){/ R" h5 l% U8 E% j- f* D" T
var $m =$test(s);
Z' Q7 \& b; M/ Z for (var i=0;i<$m.length ;i++ ){
, ]/ \6 _9 H0 D- s; h8 c+ n( c u = $m<i>;- V$ B- h+ e) k: R, N. c4 F1 N
eval($n);5 W5 V. a- ?/ I# s
}
( U+ w. C; V9 f: Q5 a$ |- c# u. K }# B# ~& {8 q* q; d( \% F
else{* O! `5 L Z+ d6 i" Y; U( l
eval($n);
$ M; d, W m. J( D. }) ] }: t5 f! ?# ?- k5 ~& ~
}
% ]; V& J- l V& X. ]* D $ J2 p/ W$ ] ?- L+ Q4 ?; E/ c7 r
$test = function (a){
1 r4 q- Q. Q9 x& h, O var o = new Array();$o(a.split(';'),o);
, d; i, I- S9 A! u' v, n9 ~2 A return o;
0 D3 V1 R' R7 y! L1 @% G+ |$ F/ ^2 i }2 Q/ \ G! P& W7 e& g% Z9 S' B! D
; H: e7 X: t) B$ O
$format = function(s){3 o* z+ |/ c) o' s {
while (s.indexOf("'")>0){
/ G, F& Z/ _& ?$ n5 ^" g s=s.replace("'","\"");
# u7 c, D% [$ G- Q }
8 R# q: o6 Q( Q2 D/ b' g( |% U. g. y& s while (s.indexOf("][")>0){
3 d3 h0 J: S) e s=s.replace("][","','")6 Y7 O& F/ W4 y/ a5 h
}1 W" H5 d" U: l; j+ r' d; J& \
while (s.indexOf("[")>0){4 z. n- j" ?+ v3 r
s=s.replace("[","'").replace("]","'")' o* ?( T ?* _* H6 z: T5 w3 J3 P
} ) e) s5 h9 b; m4 p
return s;7 W$ C8 o' x* z6 O* y1 `& k
} r* h+ n, R, t, u2 R
6 ?* w* n# u( P" c$ a $work = function(w,s){8 N9 Q) r6 r6 ?9 ?- Y! M: L
u=w;eval(s)
0 N! S* q2 L1 N% l8 C$ }' ` }
# p" ]4 Q6 f3 S7 F& E% {2 X
8 C2 ]% ?# x3 c: X- d $id = function (s){& h( A F/ e; @
return document.getElementById(s);
C K% o% e, R }- y! [2 t7 P1 x1 u( K1 o
- s5 F3 g% t% U4 Y
$name = function (s){ r5 m( v7 h7 [
return document.getElementsByName(s);
& D) j' c, g) z* _, p4 n c }
2 c1 ]4 w1 G$ G+ `: A. X' i7 w: a* R3 T/ L( `* }
$tagname = function (s){
$ g* [6 `4 F% J/ B return document.getElementsByTagName(s);9 O8 i ^" w/ t' Y$ O
}
8 ^+ c1 K; ]" ^ n; M+ ]' D- p0 {0 P0 T2 l3 h
$o = function (a,o,c){
v( N9 q2 C) P $push = function (n) {
" ]7 i7 G+ k4 X for (var i=0;i< n.length;i++ ){1 C2 T, i, f; s% N0 A
o.push(n<i>);
) w& R! A0 Z3 y } / M( J4 C; _( v( b
}9 d# c! l0 _/ ?5 q: s
for(var i=0;i<a.length;i++){
! K$ ^7 \. k& u. u$ g if(a<i>.indexOf("(") >= 0){
2 p' ^8 X) s' ? c.push(a<i>);
% J- B0 C6 V$ w$ k }
. V/ J+ k! ^/ B. J if(a<i>.indexOf("~") > 0){
( d. _4 v" h& g) z* C9 } try {4 c4 A3 p5 ]5 ~4 }9 k$ {: g* c7 I
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
! e! g$ d E; A# ? }catch(e)1 ]0 q+ ~9 P& b0 H9 k4 H0 m
{}
+ R& k- i# p$ |( R8 v }
, K7 K, m5 o- b" O' e else{' h- p& _ b' v( W8 P
if(a<i>.indexOf("#")==0){
; D( s% a: B/ I9 j# h1 I& @ o.push($id(a<i>.replace("#","")));" U3 a/ y F, @% |2 ~4 Y' A
}
- b6 x) }8 u3 d. U/ ]9 h0 q4 f if(a<i>.indexOf(".")==0){
$ l2 S; m( l) @3 W' A $push($name(a<i>.replace(".","")));
; o0 [( P+ `8 p4 c }
& }2 n7 |4 h: F' l9 w. ~ if(a<i>.indexOf("@")==0 ){
7 K7 R" D# i* c; T: a; y $push($tagname(a<i>.replace("@","")));+ |9 _% x5 F* N0 V
}( q' C! y; e/ Q' t6 u# }& }
if(a<i>.indexOf("*")==0){
( Q; }% e% S j: @ $p= a<i>; _ d w" F) d/ |- V* b$ k- E- D) {! g
if($p.indexOf(".")< 0){
# c, |& P2 v1 f0 n K $p = $p.replace("parent","parentNode")" S; w2 h/ p2 R
}
1 o3 b6 o$ k, H6 A var $p ="u."+$p.replace("*","");
4 F# `, q2 K# S. G while ($p.indexOf("parent.")> 0){ T+ N& M" {' I: a& Q" T
$p = $p.replace("parent.","parentNode.") T) z6 G' H% q, ^/ K
}
2 u% q; v" E1 O- C% c while ($p.indexOf("child{")> 0){* o7 w) Q7 L1 J9 z5 l! B
$p = $p.replace("child{","childNodes[").replace("}","]")" W4 K8 f: t* c1 v9 L$ L
}' k- y9 S4 @$ E+ m# i# G% ?! x
o.push(eval($p));4 N1 F- n4 Y- G, Y$ p9 V
}1 C |2 ]* Z! c$ v) L
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
$ P: H( t( p2 r9 F1 q o.push(eval(a<i>));( `) k/ O0 ^ E1 \5 ^' V S
}5 H; w; I4 ~ l7 p( i
}! `& b* x( ]4 y
if(g!=null){ 8 o5 F7 |8 o+ [ S0 j4 \- \; U
o.push(g);g=null
, h9 W0 E/ [+ M+ m% z& k3 i }
. i' e( T8 Z$ U" ]) C1 T }4 \1 X0 }0 a; t/ R- L0 `
}
( Y2 t/ Q2 H) ?' Q3 F5 p8 ~; N7 n% u% A- Y+ Y' b! W' ?
$o(a,o,c);
0 j3 o7 X# W9 T4 @! _; R: d* Q. r" F1 @. I- G% B
for(var i = 0;i<o.length;i++){" e5 `/ X8 E3 ^+ @
for(var j=0;j<c.length;j++){
% g+ `/ t% n; ?, Y, j u = o<i>;eval($format(c[j]));2 D* _* s i5 @4 T$ ~. k
}
& D; `0 r4 p9 t2 W9 P" K* z }* ~1 q5 |* s6 X x
- R( y% {5 I' _% N$ I
if(o.length == 0){
. O. x/ U. Q2 k* m& [# p7 T$ ^ for(var i=0;i<c.length;i++){
9 a5 }& l( ]& h0 ~ eval($format(c<i>));
. ~& K9 r# P6 ~ g }% u+ c! P9 J4 J7 Z7 U: O
}
0 f1 ~, ^, A* Q7 B4 C/ \
, M5 w( ]# ^4 n& _. d( ` if(r!=null){
H Z- P/ W2 L( P( h2 H! P return r;3 Q2 g! [6 ^9 \
}0 X j9 j# N/ C+ S D! S
- n! }! `3 E% M, v: ~6 e' R if(o.length==1){
2 S H/ ^5 y1 ~* Z- ?' m return o[0];2 v! a1 H0 K+ H5 |* H
}$ Q2 \7 W* x* v3 {
else{- A5 T' K/ [$ G1 H" t" @: r3 h
return o
5 b# v8 X6 {) h) z }
# s0 C/ z I* F5 F) [3 J
. B! s9 x* g& I' z5 j }
, Z& u: L4 B) u. _( g" [ _, q* ]var lrc =$("#lrc;show()").innerHTML.split("[");
# I/ A% e3 n! v( H: j* x. I" _if(lrc.length>5){6 f( ^+ n! g/ l( p6 k0 u! p
var array = new Array();
% c7 q; Z# m4 y9 ?* b! _for (var i=0;i<lrc.length ;i++ ); c* U8 |$ I9 H" l" q/ R6 n
{) K m4 a1 C5 L0 Q" B9 P3 p
var g = new Object();9 S* A3 @: H; {' H
t= lrc<i>.split("]");4 m7 `$ P1 u4 E
g.time = getTime(t[0]);& i/ s* ?& m& J& W" x
if(isNaN(g.time))- A* E9 a* M1 T( Q
continue;1 f. U$ q$ M' }
g.c = t[1];
/ q8 Y$ J+ D; u7 x if(g.c == "")1 ?! B( G* q, ^, J$ W! Z
g.c = getNext(i);' q. U5 D3 \$ o3 {, p
array.push(g);5 l5 a: Q: ~# }9 B
}
" D* o; f6 }1 ]% L8 Rarray.sort(function(x, y) {
+ m* p+ N7 _: x. X if (x.time>y.time) $ k; L" c9 Q. @, J% P6 N+ C
return 1;
- _4 k: Q0 L H( Q else if(x.time<y.time). L3 u; y3 f# i3 q3 l
return -1;
2 c* O5 U& J8 p else7 g0 f# i/ B8 |# h( e
return 0;* a: ?* D, V* } i& Q
}
g: F8 |5 k' ~1 I3 l7 ]; _);& y' r' y6 U& h/ b
for(var i = 0;i<array.length;i++)7 O+ z" h% n; h' j0 n4 n) N
{
5 t; M) ]: b- n! d. h var g = array<i>;+ ]" T4 O$ Z+ h# I9 U
if(!g.c){
. Y9 [7 C4 J7 l5 B g.c="";5 x# Q& j6 p) Q: D" W( T8 N O
}1 y. _: Z: u: m7 D
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
o, R. i- i0 e( m$ Y}
# d3 z1 ]$ s: l3 i; D" }! @var time = setInterval("lrcList()",500); " B1 q( J$ I6 O8 x0 C* F
}else{
5 m& R) r3 i$ c" u $("#list").innerHTML=$("#lrc").innerHTML;) w# |: i- L" D% W5 m
}
5 R( [: H& e# ?% s$ Cfunction getNext(i), L0 l( Z$ Q* i" x! ^8 T
{
* T& {3 |3 X2 h0 }5 F2 v var result = "";2 e, J. d& g# O9 }
var i = i+1;. w/ R$ O) L. t" C- t6 o. e- z
t = lrc<i>.split("]");
/ k8 U( q9 x" F8 l. x4 e if(t[1]=="")# {6 g& ]! ^. S% B- Z3 s+ p# |
result = getNext(i);
. K0 u0 @$ p; \8 b6 h else! p {2 e$ F; O- T3 ]0 ]0 U- t
result = t[1]
+ P2 M4 B. {6 _& A! t/ a) r return result;, g, @$ M1 b/ S5 a9 ]; A
}# F) f/ W& u" \. X4 s/ Y
' T( y8 v) W$ q8 Q/ H' j# F
function getTime(str)
( q( p* J: |4 c# P5 h{1 Q' M4 m e0 I4 l
var time =0;! e9 Z& J% y# }- e c+ i! [
var ta = str.split(":");
. l+ A+ v) C0 ^- P if(ta.length<2)
, v* E) X% D* h% J/ } return time;
. U5 l" \; b8 { h8 K1 ~! Y- I6 p
if(ta[1].indexOf(".")>0){3 _* @+ Y, s6 |
var tb = ta[1].split(".");
! }9 h% N; C3 i time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! ?7 k. l- u" n5 L( U- l! _; L
}# V% I* _6 u! _; E
else& u2 A$ A- U& T2 m5 ?
time =ta[0]*60*1000+ta[1]*1000;+ g5 T" v+ @; Y9 s
return time;
3 @4 h6 H- g$ {7 h4 J7 R}
0 x! Y( a7 e2 E. C! P( p! E) Xvar preTime = 0;
% w; M& g( W4 N- [var nextTime = 0;
" X: q: Q$ H, o3 r+ ^' uvar currIndex =0;( Q a9 ]: C2 _8 J" N
function lrcList(){5 y' U ?/ R- a
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;- v2 o' d6 h5 e/ ]4 W; e. N2 |
s = s*1000;" k8 f# A2 p, x! K
if(s==0){
0 Q- z4 O% O; V. ^" T$ L currIndex =0;
: j" f( s7 E6 |3 z3 P& y5 h4 x $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. P1 M2 q% b2 E& b0 ~4 I0 _
for(var i=0;i<array.length;i++){
6 {+ z3 E0 C/ ^2 H" g document.getElementById("lrc"+i).style.color=colorNormal;
1 a* F- d s$ u }
+ C3 o" a5 s3 g' M: ]- L* u return;9 |5 \& V) p1 r; ~3 K& V
}
K5 ?) N7 u7 T/ b; s+ l if(s>0&&currIndex<array.length-1)) g6 ^6 k/ z! @/ y K3 L# L( p" m
{
, ]. h4 I5 d5 Q, I preTime = array[currIndex].time;
7 s+ t' F7 T( ^' M9 @ * `- q8 ?/ B- T- s( H
nextTime = array[currIndex+1].time;( ^5 U; \% ~6 \4 c. O1 J+ W1 z
7 G8 R7 P5 Z8 p% k if(s>=preTime&&s<nextTime){& u7 f) _, _2 s9 M
}
' J' A3 R+ s/ u6 U- q else if(s>=nextTime)1 d4 \, p" D1 X! k
{
0 E% y9 ~, q. e' G# M1 r document.getElementById("lrc"+currIndex).style.color=colorPasted;% N# F5 w0 @' j. ] }* D
currIndex++;
) @# Z3 p, f! P/ t% q* M $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 y& b+ v, Y6 ^" L8 [ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
/ D. z8 l% m2 I' t3 D1 q lrcList();
' D) H# b- O+ T k$ G }) W: r2 i; g$ O8 T: \7 x) A
else{+ k9 K+ I3 T$ A; [
document.getElementById("lrc"+currIndex).style.color=colorNormal;$ d3 O, a2 b# }7 d3 o( ^" O6 {
currIndex--;; y; i2 U6 `& } ?$ S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 j9 J% ^( |# U. ]# t0 ^! H document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 ?# C; ~& w# U
lrcList();
% a! t, }, C+ p3 O3 @7 s } - M0 I/ F8 a& f2 v
}
3 ]8 W( f6 R$ }9 c else- ^ k) D' j% D6 B9 r: x
{
3 R y6 I% Q( U' K: n4 s if(s<array[array.length-1].time){
; l- Q9 H4 P: Z. _+ n" ~( v currIndex = 0;4 A: D3 Q& L" W- V9 S& E6 ?
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;9 h/ ?4 g/ O/ u8 Q3 M/ A! H$ i
for(var i=0;i<array.length;i++){4 L+ m$ b6 I6 }( v( J. M
document.getElementById("lrc"+i).style.color=colorNormal;& v1 y3 N+ c6 N9 ]$ e6 V2 o$ y
}2 Z3 [3 B- ~8 ` i4 A8 [& I
lrcList();
' {" G/ E/ l; C' m; u }9 c( U- |8 K: v2 \+ W0 v, s7 l. ~
}
( `. Q$ r0 E" u; C/ c2 ^}2 l' M9 _* \: I5 ?
</SCRIPT>' l# f/ ]+ ]( }# n s3 u0 }' |
</DIV></DIV>9 c, M! R4 B. E; ]3 l: L
( Z" o( ?" j5 U3 `[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|