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