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