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