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