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