|
<DIV id=list>" {+ Y" ]1 b! n: i+ G% V
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>% S/ E1 z, E$ }2 y/ j' ^
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>) E" G9 r# @, F' s `0 |
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
K/ x& h! Y) k5 l" F<DIV id=lrc3 style="COLOR: #666666"></DIV>. K7 J, R9 e2 Q: U
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>- D! w9 ?4 s+ y! J/ l# K! I p
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
8 d Q+ K }: D; h% R<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
4 i" Y+ d% \" k7 R+ k9 n<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
; ^/ E: ]7 F; K9 p& E ?7 K<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
' \, m- C) K! c A$ m5 q6 u<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
- F H+ L+ u4 p. ]; X' \/ ^: U% _<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
% B; L$ u+ ]% Q& o<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>& _1 F$ }3 s( g; X5 B6 V2 _" y1 U
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
3 d+ v ?5 p, q3 X: ^2 k9 ~! ^: V<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# P1 T+ ]3 z9 i8 b& v2 t; {- O, [4 r<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>5 d0 R6 h2 S6 l' X8 h$ j
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
9 D( n( Y# k4 v' q<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
7 t6 o' d' _) {0 U( ^, F+ }<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
0 ^* O c3 R3 Q5 b0 K! O<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
% e: F7 S8 h5 ^( D1 d<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>9 g* Y: J/ |' O E% L
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>2 m1 i8 I/ V- D( p+ n2 }/ n
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 q! v+ {2 A1 w7 C
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
1 @# P: Y' z5 y" l7 }<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>* s) x4 h: v- J" N+ K
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
6 w9 \2 w& f; c; b7 J<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>8 q6 _( `- x! M5 [+ f; J
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% n7 ^% k& |4 m<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
0 F/ R" r! l; k* r<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>6 A; b5 h* u5 F2 q2 ]' |( X& r5 j
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>- R9 P! g5 U8 B" T
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
+ i, w6 t, G" m/ Z! q# g; q<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV># y& Y: ?$ \/ `8 h2 c2 v' f
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
# |# D; ]2 Q7 | g<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>6 x p2 s3 U- [5 H
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
- ~7 P4 |: U) T9 J$ u2 f/ @8 D<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
8 o' o/ ~; l% o& A% f<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
. E3 s( ^3 M8 @<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>* F' X$ O3 w* n6 B; r4 ?' i9 K
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>' d5 Z4 Q2 V4 F. g% ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>, k" Q. E' }3 h8 s$ E
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>! I9 j! M# I/ A' D2 k: D5 J) n" J0 ~
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
- R7 }) m( R. C' x* k<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 x! v- K4 X) z' i3 I<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>% _/ o3 Z+ H; w# I
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 X! _' E- N; ]; C! }6 p7 l' u6 w
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 C' N5 V( C+ y0 h! R<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
) ]$ j; b8 x7 s+ A1 q: l; `<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>: H1 L1 v. z1 I
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>% x! B4 |9 [+ z' t! Z8 {
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
$ m( v2 J" p, M1 I# f<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>' U6 n1 v+ I6 [% J1 }
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>) E* T9 V. _+ o9 A
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
. W! ]. n/ i. G$ I7 A% A" h2 [<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 $ O4 c& X# A! @
<DIV id=lrc style="DISPLAY: none"></DIV>0 i S/ ?; {7 q" N/ @5 O" a; w
<SCRIPT type=text/javascript>
$ [8 n" W+ o+ a+ pdocument.domain="1ting.com";
2 M. Y8 R/ s7 R, u: Lvar colorPasted="#666666";9 L W/ M7 X0 X4 S
var colorPlaying="#ff3300";
7 n% R8 `, S$ pvar colorNormal="#000000";4 W" Q& u* i8 Z0 u1 P
$ = function (a,g){
1 r0 S3 x4 d8 q: v; t var o = new Array(); y3 _. R3 F: \- s
var c = new Array();
( Y1 @8 b; |; t& u# m. Q; s3 o: ^ var r;
1 a5 z B1 @( e2 {; _2 G" x; h var u; ; g6 s$ Y$ U. _; a% {2 q9 D
var a = a.split(';');
2 n0 K H, x B4 w! A" X* `+ ]( R) @8 f; `: M H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
) Q1 n# k" F* f) Q3 A# o6 G1 m for(var i=0;i<e.length;i++){1 H; J; h! D' p; L2 F5 g& a5 Z s1 {
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"). e6 N. M$ L1 e5 C
}
1 B+ N/ o% E1 ]: F& f8 t) h8 m" g- s* k2 {% g! y2 ~* I% y$ i
after = function (t,d,s){
& ]2 U }. k, @( D& _" Q$ k/ e& z: C $after = function (){7 E4 x( ?( e- I/ B
var $n=document.createElement(t);
2 o: l0 _1 y9 i9 v if(d!=null){' c) {# F4 n: w' r$ p
$n.id=d; ) ]* k8 i: K$ ]. G
}) @ ^, c6 u$ p/ X8 n. u/ W% J
( w# D) I+ f# e) I! j
u.insertBefore($n,null)
% s; v7 X. O; N& [ r = $n;
; `2 b$ b4 G$ d6 J u = $n; $ `" \7 U& \# N
}7 G8 ~) U+ x/ j+ l3 k8 h3 Z
$for(s,"$after")
3 L$ ?7 ?% D: U2 t }
8 |+ f1 M1 d5 B/ a- O' v, Y$ w0 L2 w$ r+ e% B4 S1 p* p
show = function (s){
" c+ `) s2 G8 g+ E3 D- H% y $show = function (){
1 N: C: W: R! E u0 M' L u.style.display!="none" ? style("display:none") : style("display:block") ;
; l, R G6 Y+ J' |1 e2 S& m }
% B5 L1 V+ D$ ^+ { $for(s,"$show")
, m4 q( t! g9 H" b; K2 W* X }' D5 A: C7 V! M0 X6 {
, R* q' u* r+ O( A6 r$ a* e
check = function (t,s){7 w) {: ]# C! ^+ \
$check = function (){+ Z9 N2 q* w; y: ?( z! }
if(t=="2"){/ K* S! G# j9 g J9 w" T9 g* q
if(u.checked){
g6 C& n2 r2 V8 A" b9 ~+ ~! o u.checked = false;+ D. ~7 N' _7 e
}else{4 \/ K# k; t5 ~
u.checked = true;/ U' _. o" o$ r
} L" z+ a! S2 ?9 F$ u. `2 {
}else{
8 P8 ]% `3 L+ @9 p5 ` u.checked = t*1 ;# v8 P- C, _. R+ D) t
}0 M4 p0 R2 n% E
}8 V) g4 q5 G7 {% Q( G
$for(s,"$check")# j8 d2 c9 J% H# W- Q) Z5 b
}
5 `: }9 w$ b/ z, |' {3 i0 u9 F5 J* f4 T" o: j9 m
style = function (v,s){" m* F) `3 w+ {% }! o# x3 E
$style = function (){
- K7 Z/ p6 p' X$ j, t/ X var $n = v.split(",") $ P: C) F: x+ V# v& X. I! p. w
for (var i=0;i<$n.length;i++ ){7 x5 {5 e% y+ a( x r+ x" [1 E: [
var $m = $n<i>.split(":")
7 T9 t7 r- j* N8 Q8 K" D9 a eval("u.style."+$m[0]+"='"+$m[1]+"'");
, |( P4 v4 m+ Y! K) E6 p+ O& r }
# g6 x6 a2 }0 X6 p) Q8 p" t- h }
: h- U+ _' G8 {' A) h# p! C$ W1 E $for(s,"$style")7 W0 a5 {9 t1 u* F
}
; H+ V' `' M, }, e$ k, P
& u+ |- Z+ I* }+ Y) {& E value = function (v,s){
! T8 U3 D2 \! p/ L1 a1 T# g var $n= $this (v);
2 c1 y: H- e7 k& Q( Y $value = function (){& V2 x h& l$ y& A
u.value = $n
n/ E- R6 a$ F/ [3 p3 y" b% t9 L1 K" h r }
. F. D, j& A# x3 r- X5 T( K& r$ M $for(s,"$value")
, {! Y5 I+ \ q+ d; q# M }
# [7 L6 o6 ~: v2 n. d5 s7 v: J" G( V( v; L
text = function (v,s){
' R5 ?/ q: N3 b var $n= $this (v);8 w9 Y# Z* T+ [# F0 d) U
$text = function (){( C% C9 T, @% t) {5 Y& a# a6 G9 H
, M. }$ m( o( w" Z. K: H
u.text = $n3 G% {- y& V$ W8 F- Q
}
x) s" c7 H$ c/ } $for(s,"$text") + [ h- K4 u" n) D: Y
}/ d! Y- g0 V6 \1 q3 G4 j
1 X( r) q. M9 c3 l- c, ~3 Q7 \5 W3 _$ X
innerhtml = function (v,s){2 e3 U, y- g5 E
var $n= $this (v);
! r; K" M3 _1 @! i9 T& s $innerhtml = function (){2 C8 s+ C [% u% _% P7 l
u.innerHTML = $n
: {" u" p6 \1 q3 {. b }: s1 R2 K7 ]9 |; X# a
$for(s,"$innerhtml")
8 \5 I+ N. X6 Z }
0 }$ D) U0 Y: g* s0 Y/ Q) R3 [ ) ?& ^0 O% d7 s( U: l! y
removechild = function (s){6 K/ H& w+ T# X9 ?% U- r- ?9 e
$removechild = function (){5 S$ [. i U9 M! |) U
u.parentNode.removeChild(u); K: m q+ l% p1 r$ m2 A
}
! X. N+ |4 u% z4 g5 v $for(s,"$removechild")
2 @9 X! F7 ~; U }
9 ?; g$ G( g% n# O+ ]3 q I4 U- I: W
$this =function(v){
1 b6 F2 S& _/ ~% Q% d p6 m, ? if(v.indexOf("this") == 0){
5 d% V% u% V1 s2 ~# @1 E( }, \* k; | return eval(v.replace("this","u"))
' I$ |2 W0 Z" t& n }/ N }4 x! g) f& T# V
return v;
8 l. ^, B8 o$ i6 e+ G }
4 e; ^+ Y' a8 F( S& ?- j! Q6 S3 ~% e) p; A* |4 w
$event = function (s){
) \, U/ e s; Y7 L0 O# R4 r var $n ="u."+s+" = function(){$work(this,s);}", W5 ~! \/ S% O3 O
return $n;/ i9 b+ D. J6 f
}: T1 M' \% _" A5 l) z
3 O# h5 P, ]/ \2 ^3 C1 h0 g- D $replace = function (s){6 q& K4 ^6 b) w+ s! |
- S( m4 C4 U- ~0 _ }
1 Z6 Z+ s, E1 y2 D
$ K( d( V& z- b $for = function (s,c){
( K1 u! K) Y# h# ^+ e; B var $n="this."+c+"()" ;7 s1 S4 w4 a2 L7 ~
if(s!=null){
/ b7 B6 T9 z7 V: r% t6 d var $m =$test(s);
2 [ G. _/ ]) s5 n, q8 u- p for (var i=0;i<$m.length ;i++ ){
X1 z8 `$ }8 x' _# r% O- d$ r u = $m<i>;( q7 g8 G/ [. X0 |3 {) N1 t
eval($n);! m2 e6 O! A; V$ w* q* b5 I7 I
}
6 U1 C$ a/ s# ]. }: N5 j( [! [) A }
: c9 d1 q. U, B$ @ else{2 y! ~4 n l: S& U0 Q; j6 L& N
eval($n);$ `1 Z" v) U% C
}6 x# T) f% b! x- p0 R
}
$ |) ^. T- B4 k- ^
( a+ }# A8 @$ P: { $test = function (a){
( s& S$ c+ _9 g0 s var o = new Array();$o(a.split(';'),o);
% y) C8 R% T0 ]6 U, ^ return o;
8 E7 p2 I2 M1 m. ] } N5 J7 e2 u! K
, a! l2 @9 l2 ?2 T' u& E) |% \
$format = function(s){3 O# T& w' C. f" s
while (s.indexOf("'")>0){
! v q' y2 H5 N" s2 m# S s=s.replace("'","\"");8 U2 j2 ]/ m5 A
}
# u# u" g% @" C2 C# D: K while (s.indexOf("][")>0){' A; J$ t2 _4 M& w3 a
s=s.replace("][","','")
3 t* l- v% A$ [ }8 T8 z$ A$ f% d0 ^# j9 R7 c
while (s.indexOf("[")>0){( [7 P: B6 d6 e& V5 A, R. W& u
s=s.replace("[","'").replace("]","'")6 I$ G! F8 l6 q* x- A4 w0 ~3 a/ g
} ; ^, s$ [8 \$ `
return s;* O/ P ?$ v$ ?6 i- @
}
; H* @6 L X0 v- S6 o* g
! T. R0 K) ]" Z5 a- |3 n $work = function(w,s){3 F( N5 i: m/ x4 a; E# H
u=w;eval(s)! i) F; j0 |2 B# x" [- [
}! N" I3 j0 k7 M$ b
4 c5 h' g( v; K& O1 S8 U $id = function (s){
9 z- Y' k/ F" e+ S: v return document.getElementById(s);1 d c3 u/ J& o* H2 P2 s' E; U
}7 ~ U% P8 L/ Y5 m& v$ B
+ t- h3 q: c( D @; J- `) { $name = function (s){" {( R4 n5 }- p
return document.getElementsByName(s);
$ G1 P& O+ [+ W# `5 e# r" Z } o! m# |# O: }+ j& d
# t6 I7 C) Q6 r) V+ k
$tagname = function (s){5 b H5 o7 B# `+ |0 O5 X0 g
return document.getElementsByTagName(s);9 }& I6 }* }' \
}7 L$ s5 w; n+ f" E
1 @# W7 C- {8 r% D+ m$ m
$o = function (a,o,c){
, r$ V3 a: a2 v: o$ f) u: H $push = function (n) {: f3 `8 Z1 D% [5 m
for (var i=0;i< n.length;i++ ){1 B( [% w3 `/ ?
o.push(n<i>);
- P( _8 U2 L; Y3 g/ _ } : k- ^- j$ h0 t; @8 f
}
4 t* P/ |3 R5 B) w for(var i=0;i<a.length;i++){
! W# J7 X* g& K6 F9 z if(a<i>.indexOf("(") >= 0){$ T h2 F c* t2 }# o( i" D
c.push(a<i>);
{* S: r! O! V8 v# ?% S8 B% C }
2 Y( A1 o3 `; W$ @ S! T u, I if(a<i>.indexOf("~") > 0){
5 [4 t) a9 Z1 j8 g3 z. q try {
6 J$ W v! L J3 Y $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
1 _% x& V: Y3 _! ?2 E3 {5 r }catch(e)% P7 A5 V. l% F
{} 8 R1 Z3 q: p: S' G
}
8 L% }0 ?% a. a. o0 v* x else{; _3 i* i: v6 v1 V; \- J$ L
if(a<i>.indexOf("#")==0){
$ n$ _$ U/ ?. z: h4 _0 U0 h' t4 Y o.push($id(a<i>.replace("#","")));& N/ O9 [' w( K$ d
}
1 J3 J+ {1 i( W* L if(a<i>.indexOf(".")==0){7 k8 z& _; @$ @
$push($name(a<i>.replace(".","")));
' c% n F- ]5 Z6 ]) ^4 ~9 p- K }1 `8 T. g1 E% V
if(a<i>.indexOf("@")==0 ){
{) E r3 }: o+ A) _" C9 Y $push($tagname(a<i>.replace("@","")));
' c! C. S5 E% K2 R3 v C& J }( U2 W/ A+ |1 s% l
if(a<i>.indexOf("*")==0){
9 g+ Y! R: G# {, E $p= a<i>;
$ @" E2 G( F/ M, u- O! f9 x if($p.indexOf(".")< 0){
3 ^! J" o/ [/ j& S$ Z/ S q $p = $p.replace("parent","parentNode")4 }, t0 ^* q+ W! |* m) e" W* Z `
}
5 b7 _" _/ N7 P var $p ="u."+$p.replace("*","");
1 c' l' l! h, H9 u% e9 k while ($p.indexOf("parent.")> 0){
% P8 q7 Y: x: Q0 X $p = $p.replace("parent.","parentNode.")
& W5 ~8 W% s- |8 j1 h) ^ }
* N5 [. h/ F( q) N2 p/ j6 b0 y while ($p.indexOf("child{")> 0){
1 D: B3 U# w/ B2 Y, C$ U- T $p = $p.replace("child{","childNodes[").replace("}","]")! l, F) v6 y. x- X" a( o
} ` ]0 v$ d0 b, ~
o.push(eval($p));! S" h# I- u" ?; {5 s0 i4 o
}
1 s, e! r4 X% _6 A if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){' S0 c e& P& ^5 J I
o.push(eval(a<i>));
( J" O1 D# h1 T4 M# K5 C, d" x }
4 e m9 [, }) [* `: }% m- P2 }) H }
" I/ O, y W/ i" a/ P if(g!=null){
; Q( a% e% n) b: L5 d% s o.push(g);g=null
& C2 u8 e4 o8 o* y8 G, P }
( {: c7 X G- U0 p2 A }' o/ h6 j5 q6 l
}
/ D# O, L+ Q+ u* z/ V) W" m) v: j$ f
$o(a,o,c);
. @6 n$ {4 `2 x' W
; H3 r4 e7 N5 T6 t2 F! e4 v for(var i = 0;i<o.length;i++){
v9 ?4 F2 `& ]8 C6 Q1 ] for(var j=0;j<c.length;j++){( l0 }, i' m [8 i6 l- ^8 b* A
u = o<i>;eval($format(c[j]));4 M+ o! p% |/ w, y9 K
}" i. v; \: {8 s% ]& c( y0 P, V
} v1 ]5 b: U! J; U
, j2 W' l3 Z+ [3 ~ L7 [6 M
if(o.length == 0){& C! N, P( s( { [- O* l" Q' a
for(var i=0;i<c.length;i++){
; x: j, v2 w9 U i/ b eval($format(c<i>));; M- `, n. x' H& O% P
}+ W5 c7 U0 b$ X& M2 [/ E8 O
}
4 ?) Q1 M! `# j* B3 t
4 }+ [9 _+ _7 z6 k! s if(r!=null){
" s8 e9 _& h5 W* q return r;
7 C' r; W. O5 {1 [# N }
* t6 m8 o4 ]& I& r1 z5 S* l
" P1 W4 k: }/ B& e" `+ m/ { if(o.length==1){$ S, _" k* K$ ^6 T! c2 U( x. [
return o[0];
- T1 f" T4 q) c. e3 k3 O8 h3 a }
* }3 o; X* p7 t9 o5 ?! E else{3 ]8 g% s8 H8 P5 u
return o
9 C+ _( q3 ]5 z6 W3 C; {& { u }
0 c& f `( n. |# M* d
. V9 u4 {+ k7 S6 K- y6 @7 J }9 \1 D4 p4 }9 j! v: K! @
var lrc =$("#lrc;show()").innerHTML.split("[");
$ t! L! ?/ a l3 U. C q/ eif(lrc.length>5){
3 j# u! W8 F r3 ~& V: F! nvar array = new Array();
9 `. C; ^/ V+ Y9 x# T- y p: U( tfor (var i=0;i<lrc.length ;i++ )7 Z. F7 o3 |9 l3 R
{
, v4 B5 E. g0 o0 G9 H, h var g = new Object();/ ]& v/ a& W8 v N6 F6 e0 ^
t= lrc<i>.split("]");8 x9 {9 U& k( i" ^% @
g.time = getTime(t[0]);
4 C7 b1 c% A& {! n" n if(isNaN(g.time))! j9 @, Q: d9 Q0 w( C! S
continue;# q4 v z3 C5 }4 T$ F2 e' {4 W
g.c = t[1];9 D9 _8 B N( h+ c/ _% m8 ]( P( O T
if(g.c == "")
8 w0 ~/ F+ G: N: ], p! h B& S! C8 m g.c = getNext(i);. }5 }, s% I5 `; G0 ^
array.push(g);! c* g( y7 B: Z3 _) u$ Q) e
}
( x# m% K1 x4 {2 E" Zarray.sort(function(x, y) {1 J$ p6 h* u4 c: G
if (x.time>y.time) ; d$ o& N6 \0 B& p' S1 C1 l+ @5 A
return 1;
! B/ M! I6 x( | else if(x.time<y.time)
5 H2 f$ V k* ?" n- J0 }- q return -1;2 [6 l! }$ x1 e! z3 C, }9 \7 v6 p
else
, [9 I% O+ U7 o" Q& w& W: z return 0;
% U4 g2 A( r6 _7 h) U }
* Z1 i+ a/ R2 J; C; j% R" d3 G);
1 n! \. [+ U) Ofor(var i = 0;i<array.length;i++)' {" t) m- y' E( s# a
{
, R' A' {1 a s6 q( Z; ~! W% ]* Y+ q var g = array<i>;% y% V- _% v+ e2 Y
if(!g.c){
* q" H/ q5 A+ Q0 Y g.c="";7 s5 J: y' A% m0 z
}
( I7 J. X s0 F+ x $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";! Y8 j, S- L2 `+ o/ C- F
}
, V1 t* A0 T. @: g5 ^var time = setInterval("lrcList()",500);
% A4 G# y+ Q6 J6 g, K% \2 K}else{
4 P( W* e4 h- V) w5 Z $("#list").innerHTML=$("#lrc").innerHTML;4 t* W# c) W! L! @) P ?% H3 }# `- T* r
}
. W- I7 { H1 E+ g5 Hfunction getNext(i)
2 o8 l6 z9 Q9 }) p& `7 I{# |$ O+ C7 s- C- Z6 @3 z8 b
var result = ""; ?( ^$ |: f j4 m, v* i
var i = i+1;3 y; Q2 s* `2 t! X8 u; ~; X$ S9 Z
t = lrc<i>.split("]");( b( y, i' y5 V1 \$ o
if(t[1]=="")
: Q% Z" T6 e" l result = getNext(i);, C1 I3 d2 C# l; D& I! e+ @& I
else
4 }/ G3 H( {" s) a6 f* h- i- F) C result = t[1]
1 o; J w4 P$ o8 R5 Y return result;
; I6 S. k7 g( i& A3 T( w# t) h}
* j/ T$ F6 Q7 ?5 ~
& a/ M0 ^5 V5 `0 u7 }8 @7 D6 ffunction getTime(str)1 O7 p, v: @/ O5 C' R+ S
{
6 t+ \) L9 g& V& I# E* F% S var time =0;
7 g% S, I( m5 E1 _ var ta = str.split(":");
7 H, P* h, n/ r* g- v I if(ta.length<2)
0 K9 W2 r. H' K3 E return time;7 l2 u" o( L" F
8 U9 z9 s5 E5 {' m" ]$ O1 E" ]7 ]0 F
if(ta[1].indexOf(".")>0){+ S D7 n; Q8 N& ^) H Q
var tb = ta[1].split(".");
3 Q/ r* Q% F: l' D% G) t time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;$ e& U, s$ u: m( t; r' i( k
} i$ t5 ^# s& d; q
else$ o! |5 c+ P+ H7 I( y
time =ta[0]*60*1000+ta[1]*1000;9 ]* j% N f- Y1 N& o/ o
return time;+ b3 r- w4 v$ A8 k, ~) s* N4 Q
}
5 N- p& I+ z: D8 t4 q! evar preTime = 0;
1 m$ H: f+ l7 M8 A% _var nextTime = 0;
8 u( X4 m, q7 y6 q# ^# ~# Kvar currIndex =0;
( _2 ]+ e+ m7 _6 Nfunction lrcList(){
+ o4 n" W! M7 N4 w% d7 A var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
# b/ B& [) @& A0 H! H3 Q s = s*1000;
' h8 R9 j7 |5 Z. v% A9 p2 X6 l$ e$ T' A if(s==0){
! q# g3 \; }) z9 E5 O. H! a currIndex =0;8 I$ o) D2 E0 a6 r* M
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 J h6 z$ {3 Y) Q. W6 m for(var i=0;i<array.length;i++){
+ k0 c1 \, q6 B$ T; T+ t document.getElementById("lrc"+i).style.color=colorNormal;
9 U, g9 v' w, r, f7 H2 | }2 ]2 ]7 J. O% i) |# z$ P
return;
) q5 O2 S. ~/ n6 R- Z }6 E( Y" ]# {: T: H o. I$ ?0 E
if(s>0&&currIndex<array.length-1)$ h8 z( U6 }. `' F! ?9 f
{ 2 \6 N( t) O1 j; ?5 M# V, E
preTime = array[currIndex].time;
1 N3 f- d% f9 z3 y5 K0 H/ ^! l2 ]
. n% B" h( ?) n6 U4 V' }* _; a" y nextTime = array[currIndex+1].time;
5 B! h8 Q# Z5 j1 {3 T% _ 2 }: ^ B4 J! Q W4 K% z
if(s>=preTime&&s<nextTime){
: Z6 X, B( f* Y: o }
# I, z3 G7 [& g* K2 Q else if(s>=nextTime)
* w6 P. Y }: {; ]) f3 L: F {
* ~- n; V& c# j" t document.getElementById("lrc"+currIndex).style.color=colorPasted;
; |9 o6 {7 r& A currIndex++;
5 o+ q; y* b5 K) \2 d0 G7 _4 c $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* [( l8 V; w+ t# l- T- ~
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
% J3 {3 A" {& k lrcList();% p1 B0 j* {, h' E- Y1 d, }& w
}
4 y+ W/ Q5 L% | S" d else{
4 Y+ Z& C- ~5 Z% X9 O7 n0 w- U( `3 Z document.getElementById("lrc"+currIndex).style.color=colorNormal;
- k* h% q* v: } currIndex--;
/ Z- p: u7 R0 o! I' V $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) ]5 J) l1 \) ^) `/ }* l document.getElementById("lrc"+currIndex).style.color=colorPlaying;% ?8 o l, S3 D: Q( {
lrcList();7 l1 a8 B( ?1 B- o
} Z7 ]5 Q& L4 u Z( r; m8 C. \
}
* y6 ]2 B- r. m6 h else% L6 g4 t# C/ _9 a! S% N1 k3 L; Q! @
{
. c6 Y0 ?/ D) j, @6 G if(s<array[array.length-1].time){6 I8 X' Z8 S5 w2 T) r+ @ l
currIndex = 0;
3 a! f' C4 Q' d9 `( w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' J( f9 M8 k9 `; Q- z$ d9 Z
for(var i=0;i<array.length;i++){
+ p& J0 E: f) D9 T document.getElementById("lrc"+i).style.color=colorNormal;
+ j! H3 \% c9 ~# i# X }4 `+ y& p; K7 a$ v! k
lrcList();
( ~9 S4 \1 B( ?9 m }3 S6 |% v) T1 {, k" _
}
5 N3 H% o. j4 u2 F}
6 N; ?+ O& L! G+ D</SCRIPT>5 a; V7 ?/ p7 N6 u. j" @+ [# r+ R
</DIV></DIV>- L$ H6 w1 p9 n2 R3 ?- N! z" J
1 P$ P+ I( f$ r M
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|