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