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