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