|
<DIV id=list>: }/ |- i" }; }' y2 O9 _
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" W+ y4 l. {) C4 [
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
( u( `- U( _0 M- I# K' [8 a* y<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
& {8 D6 @ |# v! ^! V/ ?<DIV id=lrc3 style="COLOR: #666666"></DIV>
8 F6 S; O5 z, I Y( r<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
% J3 g3 D6 Z4 X<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
3 b$ ?2 n3 `( u' h% k<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>, u9 ?1 U c$ e8 p" d; o
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
, ~* }) _5 z! X: x7 H$ }<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>6 f: w& j' b Q% m/ R. }/ T7 h1 a
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
( B1 |2 d6 m1 ]) ^6 X, S<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
" S3 f$ t. b- i( d3 v7 j<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>) H; g# A1 P5 `/ x3 b
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
3 b+ N3 w% R4 o/ S<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
( f$ u1 ~* ?3 I<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
' z- F8 L: {1 m; R% q<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
; y. `! `. e0 s<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>- F% H/ A4 g) L7 [1 u6 v* k+ h- q0 _, A
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>% @1 k9 a" Z \1 {' q! U! B
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>" Q- l& C% T! Z2 W) k
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- m4 E. [" B) N2 P<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>' L# e0 a, [! \' F: F
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
$ E2 G" Q" T+ X2 I' Q<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
) G! R. |3 f( G+ f' h; S<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
6 ^5 }1 Z" u1 t9 A<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>' {2 i! ]) L q) D) m$ k5 y- U
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
1 t" \8 K/ g2 K% v" D' v* I3 a<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
8 ^8 T& o9 I; }% U$ V; \<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>' M' R9 T! h1 C ?- h1 S5 q
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 D1 Y, {: t* p2 @5 V _% L<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>7 n! s- p) f+ E( M
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>& p6 l) k& | \% y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>* ^! Z) d \1 W+ O# |* Q" m5 R
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
+ H( T7 y/ f3 `/ e& s% ^<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>7 Q5 ?5 F8 O" B% y
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV># O2 Q) L: i O# A. m
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
# x* ^& I" I( t" I" U<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
; J5 E6 _4 d% l0 O1 g4 K<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>; y5 ~) ^8 e' C: }2 T4 y
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
9 n4 q7 x; F8 `& H ? o8 D<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
( k% W2 M# e; N9 g<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
$ t3 [3 {/ Z8 [" p2 j<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
O. Q3 U7 Z& ~ {<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>. m4 o" \$ z! a( R
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>; W, V- `* r1 C
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>* s5 g6 @, M H
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
8 H& \' e: y1 P& r<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
: U! X; K$ k: ?<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
: {. K E5 _$ s<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>! a" n5 p( `4 C5 Q' h
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV> t8 A+ u9 \; B- T
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
* Y$ b6 C. E4 X3 J" t8 a9 D( p6 P<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>+ B0 C9 g2 B. A! z
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>4 _; F! b1 t) \1 Q
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
5 _2 Z0 g+ S' j/ ^<DIV id=lrc style="DISPLAY: none"></DIV>
8 r" ?. G. S( `' A$ s; Z" K<SCRIPT type=text/javascript>
$ X1 ^" k5 g$ F ^document.domain="1ting.com";
* e0 |2 P F0 }8 _var colorPasted="#666666";6 `7 p4 O6 a1 K' W8 C
var colorPlaying="#ff3300";
& {/ S6 k- y5 C7 i9 U% c; F& Ivar colorNormal="#000000";
9 Q7 i- h# {0 ^5 C/ u& p$ = function (a,g){$ H. s, _8 ^; b' ?
var o = new Array();
$ V/ _& K( C; ~ var c = new Array(); * I) I% A* B0 J' p1 l' f9 Z
var r;
) @* g+ T Q2 G+ s; J' E" I' j' S/ d var u;
) j- T8 S- Y# ~4 G8 I var a = a.split(';');
8 O- k( n Z3 L. Z* Y# _
, p, F! g3 g) }9 `* o7 } N* c' |/ P var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");' z* {! d. n7 [" C
for(var i=0;i<e.length;i++){
0 `4 k! L" i2 X& K eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")* u; Y' X5 D. K3 q) _% m4 a* G
}. K& W0 T: }' U) J
: K7 v/ t( Q4 D/ v
after = function (t,d,s){+ m9 k# f. A9 @9 b9 b( _
$after = function (){6 M" ~+ Z6 n5 o
var $n=document.createElement(t);
8 ^' K" ^ C* s/ ]) K! a+ X1 T7 k if(d!=null){
7 d& k: [/ t/ u7 p0 g. m- q $n.id=d; * j0 y+ e3 }- i ]+ a
}# o$ n' o/ A7 {. f2 Y! F( l" h& ~! B: {
9 ^4 `" f/ I$ T" G) A u.insertBefore($n,null)
( h+ W% x% b5 l2 p r = $n; . @: d0 Y* f B s# f1 I1 L
u = $n;
( @. V- A, @ ]1 B% A }
) l9 M: Q- _0 Z( d $for(s,"$after")% }- h8 J; Q' D: D3 Q
}
0 Z2 E% {, F+ u, c; s! @4 }$ }, y: ]7 I1 P' ?! M- X# n
show = function (s){" g V" H; V% Y; G# O, d
$show = function (){3 M* {* x) B+ b1 z: O' F
u.style.display!="none" ? style("display:none") : style("display:block") ;/ f0 n/ w! |9 |3 M
}
) q% Q+ k3 ~# F: I. q- M $for(s,"$show")2 p( ^. k1 t; o5 h% u5 n9 _
}
8 C, a! \* P6 h/ n! C) L# {. A5 ]7 i7 U- M! w7 I- \
check = function (t,s){& I3 p. N8 C- c y+ n7 d' U
$check = function (){" I. a2 C7 X; ^+ g g
if(t=="2"){/ ?6 @0 L+ Q$ K& x: A- K
if(u.checked){/ k5 [2 ^ u, H
u.checked = false;
$ Y4 `+ z0 p1 ~7 o4 m6 _ }else{
3 s* B5 l0 f& F- K1 M/ ]0 o" ~; r0 p u.checked = true;
; u( j) @$ m6 |8 h- e }5 s# R& h* B2 I) K
}else{
* ]# c8 Y8 \+ `3 R8 a u.checked = t*1 ;
$ }# w" k' t7 C2 \0 M }! b' N# e0 U f1 i
}; N. I; \. F" B* f8 C: e9 R
$for(s,"$check")) r, ]& `# z0 I6 P7 N
}
( i0 d5 U/ Z' ?0 r
' A- c+ L3 d1 p1 ` style = function (v,s){. F7 L7 z6 f5 k3 q! X8 E+ J
$style = function (){6 i" r9 Z6 g' l/ S; D( r, H
var $n = v.split(",") " g) N- x+ p: U( e% R/ _# ~
for (var i=0;i<$n.length;i++ ){8 ]" K% u9 `: P' `! b
var $m = $n<i>.split(":")
3 n% Y9 M/ f5 A2 I6 h eval("u.style."+$m[0]+"='"+$m[1]+"'");
1 K6 p6 m" S1 c$ d8 z* v/ {# ?) _ }' Y% d# l9 q$ X
}
7 {+ e( i* q5 O# w' |2 i $for(s,"$style")" p+ @1 Z; ?: s8 W! ~! x$ ]+ o2 H2 j
}
7 v, W& T; `' L9 B, A2 `& y" O: z* k1 V; ]0 A
value = function (v,s){7 j6 k! Z0 u% f3 F* t3 w
var $n= $this (v);
8 q' J# N" T/ M2 {& ?% T4 u $value = function (){/ T8 j9 r2 ]% Q' L/ R) ~& B
u.value = $n/ j) \' r# ?* E! d; ~0 ^- e# n! u
}
. X ~0 _ U1 N- [2 J3 { $for(s,"$value")
0 x0 t& ]8 r: t' {- n# Z$ ^0 ?5 V) U }& l6 B" ]- p3 M+ S3 h$ d# }6 O
$ o5 L4 P; j2 \5 z) _, T- ?
text = function (v,s){
" x; ? l/ F8 @6 R% F) Y var $n= $this (v);: O5 C; U" Y( R) S
$text = function (){
! v# V8 }2 v! G, K' i0 F- u3 k
' z' k; z0 f# u, } u.text = $n/ r5 w0 M, f, A+ I
}3 W3 Q' R& T( S1 A [
$for(s,"$text") 9 S4 _! H' H0 G+ G7 K4 v! T
}4 W" i0 [; r" ]: n7 h2 F+ f* ~. D
7 e/ d" ?0 L$ t) G& _# z innerhtml = function (v,s){
* l/ ~* _% l* A. f. P- |, o var $n= $this (v);. t X9 |9 d$ ] `0 a3 s3 o
$innerhtml = function (){
$ b& g8 h) g; l& ]: M2 l u.innerHTML = $n
- N7 T. d" E( R& X+ e: @' ]( l; _ }
2 J3 x& m9 X7 L# Q $for(s,"$innerhtml"), M7 i5 C% e! J/ X- x
}6 T$ f9 N/ P7 O7 L. c
6 `) ], k: y3 ~% r [* U
removechild = function (s){
$ Y- K8 S3 p8 d1 { $removechild = function (){
0 a9 t# X2 c U/ t$ Y. e0 B( r9 d u.parentNode.removeChild(u)8 f, t# [: i: n$ `0 z9 v. [
}. e5 B' j5 C3 M+ _3 [
$for(s,"$removechild")
4 i o0 h/ g% ?0 k }
1 ^/ F0 @# @( `* W) f$ m4 e( k# ]0 |8 A8 K
$this =function(v){
M5 W) x" O1 O9 V if(v.indexOf("this") == 0){
) g+ r, g \1 `( o9 B- v return eval(v.replace("this","u"))
& z/ M* F3 k: L& G* E* H- O }
+ j0 Q2 q6 C% a2 | return v;# }6 F- t" o: t* m" T* b, N, [
}
4 w' m% Q& b1 h
* b% y3 }% @- w $event = function (s){
; `# g* [1 {; w! V6 d } var $n ="u."+s+" = function(){$work(this,s);}"
9 ^& l+ }+ m: Z0 o) K# d a return $n;9 [$ Z3 j" c$ _: ~& o, G
}% i# x1 N- O' ^+ c( W+ `/ B% E
- |, A+ y3 e* G- U3 s' B/ K $replace = function (s){% i$ W) _3 `3 J% |6 W) [* A. Y
# c: ~0 W; i" B, ] k
}" ?9 C% @, z- r! E. F2 e A' }
! X' v# t b$ A9 d2 v $for = function (s,c){1 i7 j" q$ D8 _4 @' O' e3 T$ i
var $n="this."+c+"()" ;) i. c* N7 T6 t) X: r0 c; I
if(s!=null){
, H; M4 S4 C2 B var $m =$test(s);
0 f, \5 S' c2 ]1 g% }$ v for (var i=0;i<$m.length ;i++ ){; U _" A. l# Y/ U1 L
u = $m<i>; y9 c* i# N2 B- T9 E
eval($n);
/ Q0 W/ U5 @+ ~% i( _0 u& U7 R }
* @9 L& H, S2 K: L$ O- x0 H0 w- V }$ I4 B, D8 \% @3 y- g( R2 R
else{
: Z% e7 y% }% y8 u1 [$ L eval($n);
/ _/ L5 A2 \7 b8 ]3 \5 _ }3 s G( H1 E; d% _3 ^2 r; N+ A
}$ n/ A4 T) P/ U, a; L0 Z. O: Z
8 l# K) f5 P- }" z6 b
$test = function (a){$ l9 p" V8 a, Q8 a
var o = new Array();$o(a.split(';'),o);7 l: Q/ O1 q3 f9 |+ e
return o;1 e* A o& A. l& P
}
- |! T. g6 x( u2 A% u
- C: |2 ^9 W# y) p+ w2 M7 d $format = function(s){- M) G& M6 F+ e: u% F- ^# b
while (s.indexOf("'")>0){/ X) @8 a3 q9 i& r6 }9 g
s=s.replace("'","\"");
2 I3 A* N# u2 _9 P9 {7 I& P }3 h! j8 Y4 e" F" l3 L7 X
while (s.indexOf("][")>0){
; G6 P2 j9 g& s; i1 F, v s=s.replace("][","','")
7 E/ v2 B) ]: n. W# i/ Q }5 _/ B- B$ U# q9 w- T* _
while (s.indexOf("[")>0){$ S7 I$ _" i1 H$ p* _ }
s=s.replace("[","'").replace("]","'")
, [: S; q3 X* Q }
8 b+ v! A/ ^ j/ F return s;
" Y" M* G; B7 V& t }
% s/ a% Q8 f3 d/ L
- w7 U; r/ \2 [7 W7 Y `9 m $work = function(w,s){
3 R4 y% `8 ]5 R; c0 E3 ]3 { u=w;eval(s); y w/ b Q7 n8 w3 }6 e+ P
}2 X; V7 K/ J1 q) u T7 y1 \+ l- ~
0 v$ w0 {8 s8 n# ]6 o $id = function (s){6 l4 Z. }% r6 b1 d: y
return document.getElementById(s);- _& A' f( }: J& V2 Z- o
}. z r4 ]/ A R' b7 m( q. ~! E
; O* B. p, v7 f6 {/ _0 d1 L+ F) x
$name = function (s){) G0 J3 G- f/ Y* g+ w4 w5 b& H- Z
return document.getElementsByName(s);/ D$ w' A8 L+ v$ x1 {1 X9 r1 |0 Q$ e* o
}. e& Y' n/ ^6 e, Z: Z
- d8 ]6 [6 V S' Q
$tagname = function (s){" [, Z$ H0 S6 _. h Y& r
return document.getElementsByTagName(s);6 }! w- g: b0 i7 P1 e% Z% V
} V6 ~ c& W2 P1 D
0 Z8 A) \$ P6 @! O; r+ K
$o = function (a,o,c){
0 ]7 n+ d( k' J) T" [/ ]( `# x& ] B $push = function (n) {
) L4 m2 t& B' y2 m1 [ for (var i=0;i< n.length;i++ ){
. E* [8 m2 x- C( F! P( A7 v) n& _ o.push(n<i>);
' G* j8 z m1 }9 Y1 L }
( s6 W1 o2 U9 ^! ] }
: H3 @, r$ L, B; t for(var i=0;i<a.length;i++){+ j$ f0 C9 @, G5 X- ~! h! c! s/ r( g4 T( m
if(a<i>.indexOf("(") >= 0){
, }6 j% \/ M }% ?$ H4 u c.push(a<i>);* r3 w& g1 ^+ B6 R& b% _
}- f! {8 q8 ] f& c% d
if(a<i>.indexOf("~") > 0){# `1 T \) c; K ^3 k. Y5 |
try {5 E1 P' j- T0 j+ J$ o
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
& a& f+ J; ^8 c O$ O7 O }catch(e)+ x5 ?% N/ j8 B( q# q
{}
- A# [# I, L: W2 m' M- X/ ]* d }8 U- u: W4 G. B( Q+ x& I
else{
% P% w; }" Q% g2 B+ e; ? if(a<i>.indexOf("#")==0){, S" J3 {$ H4 b
o.push($id(a<i>.replace("#","")));
# s$ \% d6 j2 Q' [( n }& C) X5 s8 N$ w& T1 ]. {4 }
if(a<i>.indexOf(".")==0){
! A1 C; _7 w7 }" W/ g $push($name(a<i>.replace(".","")));: D, k" z2 \# R% E2 @9 [$ \
}- c6 B$ P( [! m( h; e( r
if(a<i>.indexOf("@")==0 ){1 H( Q3 p' n% q: W2 Z g
$push($tagname(a<i>.replace("@","")));
3 x$ g A' S5 s+ r3 j" T: T } e; ?5 ?" O7 Y0 g/ [
if(a<i>.indexOf("*")==0){1 T$ h6 n% _1 X* t# E1 c, k& b
$p= a<i>;
F1 z. M7 T. R( X if($p.indexOf(".")< 0){. a# }& N# S' u7 i) B
$p = $p.replace("parent","parentNode")7 r( F, M% P2 m5 X2 a" @
}
% Q. H5 s c& ]+ z# g4 e+ e var $p ="u."+$p.replace("*","");
: g b+ N E+ i! i) n while ($p.indexOf("parent.")> 0){( X2 v) B7 A4 J$ \' |
$p = $p.replace("parent.","parentNode.")
; \1 _- [' t$ I* U }6 j! S0 R: n0 d" O2 n
while ($p.indexOf("child{")> 0){1 y0 ~" \; F6 H! ^
$p = $p.replace("child{","childNodes[").replace("}","]"). O/ L, k( `) R* M' l& Z6 {
}
* ~( y% x: q$ W$ | o.push(eval($p));
% I* D" e9 E/ k4 z }. K% ]2 a, L4 n `4 m# U. r
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){1 y* B8 v Z, f8 D# z
o.push(eval(a<i>));. |* v- D, Y/ y3 f: B
}
D( V9 g9 y4 h) H }
- ?! x0 c- e5 |- ]3 m. a2 [& B if(g!=null){
) b" B; I3 u4 p0 R3 }" A2 u o.push(g);g=null
6 E2 F$ B6 M. ?( S } 7 A }' P! `" F# ]
}$ s) v9 @: Z$ W) \4 L
}8 F1 V0 s2 R s3 r; [
# @+ [2 a! b, O3 i$ U5 O+ d. e& [ $o(a,o,c);
3 K l: j* ]9 R# n$ I/ ]' s, d3 j8 N! j. S. S9 c
for(var i = 0;i<o.length;i++){+ ]7 ]9 y( |& S5 f7 `3 [
for(var j=0;j<c.length;j++){! ~- T% S1 j4 Q% U
u = o<i>;eval($format(c[j]));
7 g+ ]: k S9 C/ r }
# D; F4 M. x0 X/ g7 H, J }# P' b* W5 E, G& u* C# @
. }3 R& A) X7 V0 N6 ]7 B7 Y
if(o.length == 0){
, C, k* r7 O- ?9 q- x3 Z' ]- [2 y for(var i=0;i<c.length;i++){& U9 r6 d4 {( I+ M n+ Z
eval($format(c<i>));( O6 o$ F7 d! C0 W' f% T
}2 |( q% h1 s2 L3 I
}
% j) Y% Z; x/ }3 B& j, f: {/ S7 d9 r' P
1 J- s* r7 z) u& z; ~. r) P* @ if(r!=null){, U. p6 k1 {3 i* p
return r;
6 r5 h7 j7 T' H$ H# Q6 ~6 V* _- D7 ] }
. \. @3 F8 a& b. `- J, T
+ u# h1 @2 [7 @* `8 K2 y if(o.length==1){4 i8 P: `% W/ }4 B& i4 U" Q
return o[0];- ^" N6 F9 l# p6 c( x, t9 l
}" R' ~' R9 c& J7 g
else{( t1 r, w T' r$ k
return o
7 t2 ?! _- t5 y7 o } ( D# B$ N7 W2 D- a$ D1 `
5 X1 u5 {5 w J% ^6 X' x$ ~4 o- p }
* R3 ~ z9 a9 [1 H! w0 J3 vvar lrc =$("#lrc;show()").innerHTML.split("[");
4 g& O# t& w& j4 _ bif(lrc.length>5){
+ m! n2 ~# j: f) Y) k5 l. M1 mvar array = new Array();
2 C8 ^8 t. X( r# T! ifor (var i=0;i<lrc.length ;i++ )
. K" j4 A5 _4 _7 n. ]1 I* Q# L{9 S1 D: j8 S( B$ `+ w8 ]
var g = new Object();
" \! v& W9 d7 z7 r- r- G; ^" I t= lrc<i>.split("]");
) M7 _9 D* p, C# O) q g.time = getTime(t[0]);+ p" p# B6 L; J& D- v+ `% g: B! J
if(isNaN(g.time))4 m) Z0 u" V) S h9 l
continue;
4 C _1 e: r, U; z4 v g.c = t[1];
2 \9 ^2 O. B% C* r: ` if(g.c == "")
0 [, D$ q" Z7 d g.c = getNext(i);, \* W+ |# h2 {$ y) d$ Z
array.push(g);
" i0 x5 @4 U! z1 X}0 y" M" p! E4 x' o0 n+ N3 b+ u
array.sort(function(x, y) {% n \9 u2 |% }7 k, x; s) i
if (x.time>y.time) ( D* Z$ R( E( s8 J; i# N# I& e3 a
return 1;$ {% L4 I" A8 I& X$ d
else if(x.time<y.time)) a% _/ c3 g7 P" V! @7 [ [! c# I
return -1;- ~3 F8 p& d7 f' z
else# Y6 z9 b! ^/ W
return 0;
9 E- ]1 u8 L8 L/ w1 d( m }
8 e D& J9 b. q& W);0 y- t/ { z- Z9 j- J
for(var i = 0;i<array.length;i++)
6 H5 I8 t' a$ j: g! W{
$ U" K- G& s p, C' e" E4 E+ ` var g = array<i>;3 h6 ]0 ^( c8 G. M, z- I& j- i
if(!g.c){
8 X, e, _. t" P g.c="";
8 G9 n7 V0 S- ^( W% K* o) D }
! Y. S9 ^' k- q0 B- x $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
" @* i$ U# e |8 L% b- q# c}2 }; {9 |/ H! k! Q6 Q4 ]( d
var time = setInterval("lrcList()",500);
& t Y( x" H4 S! q# V}else{
0 p4 L; v" r% U2 ] j- w$ t+ M $("#list").innerHTML=$("#lrc").innerHTML;
8 y, x& C" [, M}
/ N( k8 _! `' Q5 U, ufunction getNext(i)% Y6 y( q4 z9 E% L9 p/ C; K
{3 M' {( f0 b- t8 u( g
var result = "";0 k: |% d. a' O, b$ b6 t
var i = i+1;
# b0 s+ H8 d) e1 C t = lrc<i>.split("]");
3 D+ |7 l+ T% b/ | if(t[1]=="")9 m, d5 g3 @( Z* d/ `
result = getNext(i);
% G1 _1 x0 S* Y0 v. g. C else! L9 r% L8 U- I- H# a3 G
result = t[1]
( b3 q. l" r, q8 o5 L return result;
( X. I0 B/ {# |$ H4 J) F* }3 b}7 C' I+ C( @" \3 k7 F2 v, D# ]5 j
: ]! c& r0 y& A4 M+ ^/ T/ z: ifunction getTime(str)
# T# `8 a; c/ F. k{/ L8 g9 V4 N; b. y7 v
var time =0;
1 a, L2 @$ m$ u4 Z. t& Q+ W var ta = str.split(":");1 H: P( `! s( [- z7 F) Z: _
if(ta.length<2)
1 |) H# W! b' L3 S8 f/ q- a, @ return time;7 ], D) v' V" U N7 W
) B6 v# r9 k$ }' O. j( X if(ta[1].indexOf(".")>0){" L% J/ `5 Z9 n N. o
var tb = ta[1].split(".");& w* X' l/ V3 V: b! {
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
s' N6 j0 T7 Q/ Z }
2 F4 K' W ^, a! t" w else
# n( C- \. f6 U* s" B time =ta[0]*60*1000+ta[1]*1000;
5 v& w3 B: P s9 Q) X return time;5 t- j0 O/ u/ \' d- l% c! H. n3 Z
} A9 T* H. p/ v5 N9 J$ ?4 z7 D
var preTime = 0;
- F5 D6 M0 A7 s! p. |! c# m- [" Avar nextTime = 0;( b1 p& q% ^& U2 w
var currIndex =0;
0 m5 t7 s1 R& Pfunction lrcList(){
* P2 h2 T4 X% x- G* r* Q$ J, @ var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;! v+ {0 D% \) M* O/ H& d
s = s*1000;
$ Z& f4 `. u; S8 X1 O7 ] if(s==0){. k# c3 x) C1 C7 {% E* @
currIndex =0;
# i- c+ L- w+ r) A1 v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
0 ^* K' [$ v" p+ n; Q) \ for(var i=0;i<array.length;i++){
8 d/ L) k1 q3 f5 \; j+ }5 L document.getElementById("lrc"+i).style.color=colorNormal;2 X8 S9 K3 x5 d. D8 g! j% N
}* r+ d1 ~% h2 W9 y) A b' p
return;- i% W" }& p2 U" K! H. F s5 n
}
" B. h+ L4 M! I4 O0 K% w if(s>0&&currIndex<array.length-1)3 n7 t5 Z$ N0 f9 x% o5 G
{
6 m( j. E$ ^, u6 `9 ]) ^ preTime = array[currIndex].time;
9 X2 l2 G: `9 C: T+ e
# g# W4 b% b+ C+ S) [( a4 D nextTime = array[currIndex+1].time;
4 {5 R0 p0 m* y& K$ c U z, z
2 k, C$ y/ o+ n+ F V if(s>=preTime&&s<nextTime){& j$ {" w+ a4 E
}
# s# c5 [- _: s2 @* ]( d else if(s>=nextTime)' ]6 v2 e0 }3 \2 U; y8 p& T# `
{
. n; c6 x- C; t3 f9 n6 c/ i document.getElementById("lrc"+currIndex).style.color=colorPasted;
1 A% |* L7 G$ n" i& x currIndex++;! A% {+ _( ^. v$ b
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 y! n; |; Q2 o/ [) C+ Z* g3 Y6 S
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
$ K$ k* q3 `8 l- i, o& L lrcList();
& t% z3 z' _6 b' |; P' n4 K }
! k/ ^! F; T J else{
; H2 e( b, m5 u* y% t0 V+ H, D document.getElementById("lrc"+currIndex).style.color=colorNormal;
! ?3 R- ^5 S; W8 ]9 ` currIndex--;9 ?+ x; }1 I F3 X0 f* K
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 R* F& y4 G. t3 v document.getElementById("lrc"+currIndex).style.color=colorPlaying;
7 F8 T& v$ K% E8 Z" B lrcList();! B5 S$ ]! M5 i, C5 ^
}
6 P0 e1 c6 S0 @3 K }, E* R, n' H9 l
else
+ l1 D- i* D, \2 n! P9 m* C {
% p2 v2 l" b( S" E2 k2 u if(s<array[array.length-1].time){
* r1 H% S1 I# d K, ~ currIndex = 0;
. S2 E0 _$ Z0 u/ m. n $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;/ U4 i) q, @; Z) g5 u, A
for(var i=0;i<array.length;i++){
. z! {, @$ |7 q" e( t5 ? document.getElementById("lrc"+i).style.color=colorNormal;* N& U M$ T/ X) R
}- y: n; |' V$ ^
lrcList();
/ A# e' X* V. S }# g+ y! k- A4 c
}
1 n. a% ^% n- V. @/ R- |" }' B}
) X }) E9 A3 b5 {4 d: X0 z</SCRIPT>
7 d2 u+ K' v/ f# r, z% ]# U# j4 O</DIV></DIV>
+ B5 `1 E% r. h/ s# H/ J+ F) e, U# c
) E7 B- w( f' r! O% S% Z, h[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|