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