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