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