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