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