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