|
<DIV id=list>9 w" n5 r+ [# {
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
8 D) R d& U _4 l2 z$ i<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>0 l" ~) i/ q7 f5 ]6 ^ \" a0 r$ O+ D
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
2 g3 L3 c, b" M8 W: r$ x1 x( Z<DIV id=lrc3 style="COLOR: #666666"></DIV>1 [, m$ [" ?5 X) F
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>; C( C- F5 W3 u# T* _5 R7 O
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
* w7 Z8 ~- }& o1 y9 i<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>9 ?" m4 |2 p1 Z. C* I- Q; S# c
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>$ d! _# C* |7 l2 B2 y9 j5 _
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
/ j0 i% v3 {1 P5 `, `<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>" b) h+ P! j( G0 I! p6 W9 ~; g, ~1 G
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
) y1 w4 D( F1 @0 ]3 x. T<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
' O0 Y! L' L# g6 Q1 B<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>0 D! B. {( q6 [' A) T
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# m" l9 P: K8 }* R" K( ^; [& {$ @5 y<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
/ L) {5 q% G8 a9 u<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
( Q* L; ^/ u1 P1 m1 L<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>$ p; v0 r7 z5 }0 K1 O3 L' K
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>$ w$ t" X! i ~3 E9 T+ _
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
8 T1 z* A) t( o4 H1 J3 t<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>5 h& f/ Q! ]7 G1 m f
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>1 g: C. C, r8 v2 s' @2 A8 |
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
/ {2 K7 B: e, g5 p<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>2 y3 c( Y, c* ?- s; J
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
7 o8 p* f! q+ s" R1 D7 u<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>' b6 ~; Q5 k2 e0 p
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
; t( \: m& T" e% w2 S% N5 U: j6 J<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
( i6 i" [" Y$ ^5 i! y1 Y<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
( f, S: o6 Z: ?) J' p<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>- ?4 |) F/ e( @( q! _/ |
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
, L/ w) a* u8 z. i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
8 I/ J( U1 ^) }* C- A9 T4 o% ^<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>- z" h/ s* S( g4 D {' M u2 C4 A1 r9 y
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>& e7 U$ [' C, H6 t$ M& r
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>5 S7 f/ u2 H3 Q. T0 i* T
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
: m5 A, M8 w: _<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>* f- v# b* v i2 @/ |1 |
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
- j( |5 f8 p( K<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
7 `* |- |: }" C) k<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
; P7 N0 E& D. J4 M2 I6 }& N" I5 `<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>3 J. A) n6 |" i m; y( w @2 S" ~$ O& W
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>" I# E' G$ U2 Q
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV># Q/ n; ~) j0 I8 x! f& H( H( k
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>% h* _# _3 t: s
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>9 u* V. w' w2 s; d& ^# V$ T
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
4 k8 D0 p# n: `' X' A4 p<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 W8 k$ j) d$ D<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
% Q, ~0 ^1 E/ l" }<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
0 D! P- }5 O6 P6 \% X( N<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
, P# s, a5 {9 ]" o+ d. P<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
5 S \' O' y! j/ x5 G8 |( `7 S<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
! _. Q# @: G; G# V<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
0 L3 m Z7 m- x* L. w0 v<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
% e& K" L3 x& H) I3 b2 ]8 D<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 " E! P$ @) \$ J( e3 ^, l
<DIV id=lrc style="DISPLAY: none"></DIV>
, C9 t- \ ]; E6 I0 ~<SCRIPT type=text/javascript>
6 c2 x5 {4 T, K: M0 ]document.domain="1ting.com";
) C& O/ u, v" S& Q! l9 I/ vvar colorPasted="#666666";
# R3 S9 D3 m" I% Z' E3 W/ H3 avar colorPlaying="#ff3300";
. ?+ j ~" K$ ?+ P+ L/ vvar colorNormal="#000000";
" A+ `& i( K7 v8 M' e) }* }3 v$ = function (a,g){$ G) b( O$ G; C
var o = new Array(); ) d7 I- Y; R1 g9 f/ r( Q' f
var c = new Array(); 1 [! P% P/ M7 B5 X' P9 E; J
var r;
5 s, ]$ i! k" a var u;
5 A8 l0 o. V/ Z% I; T var a = a.split(';');
( Q1 b+ {. R9 H c' D: Y8 _. \5 l* \1 @5 {+ K( W- l
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");7 q$ ~8 V: _# ?7 g
for(var i=0;i<e.length;i++){
# C W+ u6 z+ \: G eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")% h* g4 y0 h! _( P0 l. I) V2 f) L
}
$ o1 t4 A4 K# n5 z% K$ M9 k+ r( B1 z
after = function (t,d,s){! ]- F4 k0 \! N( G a [& z: H& L
$after = function (){
+ {' F. ^+ f7 t8 ^3 L4 F# A var $n=document.createElement(t);
+ @# t* |# Z0 w& I+ ? if(d!=null){
4 N4 K6 }" j+ ^( }& T* ~! ] v1 b $n.id=d;
1 L- b9 f% r3 @8 ]# ~- l6 z; g* q- b }
1 |3 I" Q* o9 N9 R( U # q7 v) G% C, ~9 ]+ d. T
u.insertBefore($n,null)
* e0 A0 w4 h* F& { r = $n;
7 `) X, K7 l' @7 k u = $n;
! V. T3 u- k( i }
5 R0 S% j% v8 h6 P4 ~ $for(s,"$after")! R; e8 o( e9 |
}
) P- d2 f8 u$ p5 w# P' u) P8 }( }* w0 H! c
show = function (s){
+ I. G6 @$ _5 K $show = function (){. I8 f7 P8 a$ a3 Q j) _$ [; t
u.style.display!="none" ? style("display:none") : style("display:block") ;
5 X1 |, L3 ?3 N9 M* S' A* v X& n }
# \, p {+ H0 S$ x. G+ g$ t $for(s,"$show"): i) f" ?2 ^5 N1 T& r, o: @
}5 D& D; Q' D" e8 ], t
( R4 L+ u: s& e7 {, f
check = function (t,s){
( j9 F8 F. X5 [3 Y $check = function (){. [; W7 ]0 Q d
if(t=="2"){% y7 P" g7 l$ i& y( } P
if(u.checked){+ Z5 A" f. w' |$ B3 r7 i3 \0 m
u.checked = false;
4 i& f: k" M# f x4 a }else{' U% j. }& H( B8 `1 d4 T9 B3 h
u.checked = true;' p# Q( T8 {" _7 P8 n/ O
}: E: q5 K+ k/ t* \5 D
}else{& x' G( m7 P& Z! @9 [) I4 U8 U
u.checked = t*1 ;
_- @5 }: a3 d5 [, b6 t& `& O9 S- R }
* I* W8 Q% E3 T6 d }
) D. U) x2 K9 [3 r $for(s,"$check"): |* `( z' \. d3 l" ]' @0 \
}3 G3 h( j0 ]. P3 _) Y
9 f, r; c( a3 Z2 r) p D style = function (v,s){) s7 g0 L, o( A1 b
$style = function (){
6 T6 R9 i3 Q, _5 j7 U var $n = v.split(",")
& C& w' C O, Z+ ^0 j% q1 J for (var i=0;i<$n.length;i++ ){! {* ]- T, c. N& Q* Q3 I& |
var $m = $n<i>.split(":")
9 u2 w- L; U9 D0 n) c& W+ [ eval("u.style."+$m[0]+"='"+$m[1]+"'");+ U7 D/ V# _. q+ X
}
7 Y1 Y9 q' e+ N. n" ^3 P+ z7 x }5 a; ^5 O* C6 w5 O
$for(s,"$style")
$ W+ N( B# a% A }% Q' W( B. G9 i
4 z8 R' ]5 @# D% } value = function (v,s){
9 u- M/ B: x2 g% ^ var $n= $this (v);! b8 k+ A! v; E( e0 J- `* ?! t
$value = function (){
! }- Y# _: j& N% W$ p, d4 n u.value = $n
6 d3 n! G* S! } }( l1 x3 P/ v6 \4 l& ?8 a5 t8 V7 U) C
$for(s,"$value")
0 y. k6 U. z5 {3 _+ n$ `$ a% ~ }
8 O/ k2 b# |$ a+ D: ]: n* I1 [7 N- @& p7 D# m( i
text = function (v,s){
& E8 E- x& B+ L( l9 m. p var $n= $this (v);
6 F2 c# G/ }3 {/ \ $text = function (){' o) s3 G2 F) B2 d, M
: b5 n# o2 `: z2 \9 }9 D: w' J) U
u.text = $n! q; m ]: F& \, j0 ^5 H
}
. i0 K& e6 Z& o7 t3 { $for(s,"$text") - @- X( u1 P% o: L0 E: f
}
5 q- A C& \, o. k* \ C8 R
8 {) X! u# N4 Z& m4 c* y innerhtml = function (v,s){9 y- K# m; Z& c _: `# n
var $n= $this (v);% z( _3 R( e5 @$ p- Q- n$ ]3 l
$innerhtml = function (){8 x; f% E, q: e t4 d. E
u.innerHTML = $n& H0 U& s6 u$ i
}
8 t% m# \1 o. I$ Q $for(s,"$innerhtml")
3 [$ o; ?5 h4 I+ C: b7 } }( z; ]/ G9 n9 b, t9 Q
) s% j' t; c/ L. E) I
removechild = function (s){
/ J1 V) s2 n; C8 w $removechild = function (){( R0 y6 D% C4 o: T' ]
u.parentNode.removeChild(u)$ S" Y `* R+ d: f1 a
}, Q" b r9 ]+ Y5 Z
$for(s,"$removechild")& S& h. C& m) R6 U
}
! I( O- w0 n) |6 ]1 X% @4 W% z6 t% j9 x! h7 [, U% |0 e8 i
$this =function(v){( l6 G' O" X) ^" Z
if(v.indexOf("this") == 0){7 P5 R9 H0 v: e7 \# a- K+ a% o$ O
return eval(v.replace("this","u"))1 i2 p' B) B m0 W/ Z4 c% j
}6 J8 @' G. f& ?) `$ X% ]7 E, c
return v;: E, u( O' }/ E, N2 Y; u! Z
}
) @$ {" R) L2 w; X! i, L1 m8 V( V2 A Y* C( Q, H- i% r7 A4 J* a
$event = function (s){$ O& f3 W/ k2 B; ^* g" n# q9 R
var $n ="u."+s+" = function(){$work(this,s);}"
* B1 x4 z3 `& I \, U return $n;
3 Q7 f: u, u, ^8 q }# `) R9 x [3 Q9 e
' @ l! b. d5 Y5 }$ G/ I Z( m $replace = function (s){. B! y3 K# R2 J* U) {5 r/ v
5 ? j$ p4 \4 h6 j7 f' O) P, ~
}
/ w* ~0 ?0 o! a
; ]& N9 J3 r+ F1 P( U- t $for = function (s,c){
! l; m+ Z4 c5 [ var $n="this."+c+"()" ;
1 ^" Q5 i) M5 h- C3 e# X if(s!=null){1 Y/ O( I$ T9 F) s8 N
var $m =$test(s); G" ]4 X b* a" J; w0 Q4 W
for (var i=0;i<$m.length ;i++ ){; k8 k" U! s& h/ h6 a7 J
u = $m<i>;
$ t( R; O% x. X eval($n);: C+ h; [; j2 k
}
. i$ a% d8 i7 `& W$ ?8 q& ? }
* i0 v6 m% z1 p/ o1 h else{( r5 D$ {+ v2 E3 Q/ U$ q- S# E
eval($n);
8 ~6 u5 ^+ q: D6 C }" I" R1 M. F! s, i! u: W* T
}6 ^. f& M3 B- q, E! s6 u
# I5 ?( W- B; G' I: r$ Q $test = function (a){
9 C0 n' b) g- {; S! P. t var o = new Array();$o(a.split(';'),o);: i. M2 m8 S4 ]. i1 p
return o;, T7 V0 ?8 h" i* l1 G4 Y
}. n: Y3 p$ l2 k. P
5 V$ R; Q* S0 g
$format = function(s){ p6 j4 X; ~; E
while (s.indexOf("'")>0){# g" Y& g) v7 n- e7 ~, s
s=s.replace("'","\"");+ v* Z3 y. f$ l, x* f1 T% C3 q8 B
}
) F! j5 g5 ~9 ?* A while (s.indexOf("][")>0){* b& X- u1 W6 ]/ V, A. l
s=s.replace("][","','")* Q1 I1 A% p# ~. E- Z% M; V3 U
}4 O; d! y6 u0 `( R7 I3 b: v/ |
while (s.indexOf("[")>0){4 c# s. {8 N. h" T
s=s.replace("[","'").replace("]","'")
2 X9 L$ i, @* X# G: ^1 h }
( U: ?3 j# U0 `1 u' z) H) Z6 r* { return s;( n7 x# K' ~5 l Y5 g" w0 m j
}4 @% B. E8 }5 @' m* J
4 ^$ j% C# F" f& F
$work = function(w,s){
# A' O. O* C$ T+ k u=w;eval(s)) z7 r- ]/ ^7 ~
}$ E8 O$ _" @, D3 J
: z7 L/ a8 e* n6 N: q2 X N. v: S $id = function (s){% f& ^" a% W- t5 H
return document.getElementById(s); x( e* n" O+ h+ ^) z
}# L# T$ F" L& _1 t; N, r: D2 z
" ^# s; e6 c; {5 e: U$ u1 W
$name = function (s){1 A# F. H! J" l
return document.getElementsByName(s); j* k/ r' r7 {% u
}* \+ K% E' Q. \
$ \: k1 V t$ } $tagname = function (s){' V/ Q9 Q$ w: `5 t8 `4 p: M! O
return document.getElementsByTagName(s);% m* f1 B7 X7 F+ q/ F6 O
}" ]! i; a) u+ A# E$ y6 T
3 Q n# }8 Q' N6 j$ S \ $o = function (a,o,c){
5 i. c2 Q. n* S4 w0 t $push = function (n) {
, G) ~# W' g" d$ [! K7 z* S for (var i=0;i< n.length;i++ ){6 G# L3 J8 t5 U' h' P/ F' t5 |, D# T* z$ J
o.push(n<i>);2 V# I- T8 {/ x
} + y1 F5 Y3 T9 ?! f t
}" K o& v5 {* y0 s G/ u
for(var i=0;i<a.length;i++){
) c9 d. E; l) f1 O; H% q if(a<i>.indexOf("(") >= 0){
0 ^8 u! o4 _3 V c.push(a<i>);
+ ^( U9 S7 |8 w }1 D! X* \. ?& H8 u+ l1 ]" f
if(a<i>.indexOf("~") > 0){
2 j2 d( q% W9 s0 q( n0 P' f try {
8 [: g0 B7 ^# a $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));4 O- M- e O+ \- r' C
}catch(e)
: X" M/ i8 I h) o {}
( q, U$ c& I6 A( O t) F; H U }9 T r5 Q5 Y0 [, n* \' r
else{
/ P3 M6 K0 L- `/ @& r8 S2 @3 d7 L if(a<i>.indexOf("#")==0){
8 _- ~; K r( l' Q J) Z o.push($id(a<i>.replace("#","")));
5 g. c- `' ~# x0 [ }! o# F) X ], F, f9 k
if(a<i>.indexOf(".")==0){) c) B2 p0 l, G, o H8 L F G
$push($name(a<i>.replace(".","")));' b' b/ `9 _, l$ U# K% f: O
}& b0 I* Z% T( I: X2 N' l" Z
if(a<i>.indexOf("@")==0 ){" y; a: Z$ ^: j$ P$ w* t
$push($tagname(a<i>.replace("@","")));
" q9 ?1 P0 l" J' C2 o }
, |, i% A% u: k6 [( S, ^ if(a<i>.indexOf("*")==0){
1 Z A6 g3 @% X+ [% O $p= a<i>;2 n5 G3 h+ I/ g) J; l; G
if($p.indexOf(".")< 0){+ R1 ?' y+ [% U% C) c
$p = $p.replace("parent","parentNode"), k& w x) J& _$ c) v9 @
}
' H% o' b" L) Q' }9 K var $p ="u."+$p.replace("*","");
$ l8 Y/ r& d ^3 I$ C/ C+ K while ($p.indexOf("parent.")> 0){; i6 [7 r& k" ^, D$ r3 K7 F& N
$p = $p.replace("parent.","parentNode.")3 h- U! `6 P9 \; u% Q6 p
}: b, C& c+ I$ Y1 t/ U3 v! e
while ($p.indexOf("child{")> 0){
) i( ]5 p$ `1 i $p = $p.replace("child{","childNodes[").replace("}","]")
8 R* l3 V/ H8 ?+ ]: O( v% ]7 L: k( a# |* e }
! A% e" A' R+ b8 b' m o.push(eval($p));: ~. v9 b7 w- y" _
}$ C# l2 ]1 s% Z$ K& }( K1 P4 [
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){* J5 E, s) a* V# w0 T- o# W
o.push(eval(a<i>));
3 w! m) D7 n8 C& b: t }
. v6 Q6 X: [; K m4 g9 W }( x$ X! ?# y" K% M
if(g!=null){
; h! i0 c1 r' y% f9 Y( h( `/ V o.push(g);g=null2 o3 H/ d1 G, x: a! n
}
$ T% |: u7 v% L8 L1 V# P" S+ _' V }% p5 \: u5 P/ u6 c$ ^7 y( v0 S
}
* u5 [9 y. N4 w/ V3 J) X' V+ s4 T. R: `5 Q/ X
$o(a,o,c);
1 a) m) A: q8 b' |9 @, s( z+ x
) @" c( y, l W for(var i = 0;i<o.length;i++){
0 s" a# a( S5 y/ \ for(var j=0;j<c.length;j++){
) v1 ~; X3 d& X9 w; ` u = o<i>;eval($format(c[j]));" E3 H9 w: K& K- X6 G9 Z, @
}
. t# @3 F: R6 l$ w6 _$ Y& w2 | }
8 D* ~/ Q/ ?. `5 r+ e/ j8 p. Z4 B
if(o.length == 0){0 ~1 [, S9 B' R4 ^' M" ]0 M
for(var i=0;i<c.length;i++){
; v2 s) C9 V" ]2 I eval($format(c<i>));( a- x* n: o& \2 p- G. m
}1 b% E& v- g& V) Y+ j5 \) ~% {5 B
}
. V$ Z0 B& k. M) Q7 v$ i9 D ' o# C, X2 |( ^; p3 o' C" V- x
if(r!=null){
" _! } n' u, C3 \ return r;/ k' O" q6 A: g' g4 ^
}: G- E' V, X* W2 k4 Z& c
; a' m. T9 E u* l' j
if(o.length==1){; G2 y+ a0 b& ^( K5 p
return o[0];8 I% ^% ^& h9 d) T2 S
}
( ^7 e/ S7 h: P7 p else{
5 k8 x- {9 C* u2 T5 u' l return o
1 Q3 N) \- y2 J$ | } ( Y, b- B3 G- N
' j3 }: I5 f6 g7 e7 G }
$ J$ a/ U/ ~' p% H& Qvar lrc =$("#lrc;show()").innerHTML.split("[");5 u5 |6 s! Q0 K' s+ l; h/ Q
if(lrc.length>5){
% `& N6 Y; B. s ivar array = new Array();
; _; _9 a9 `# m5 Y$ u; r) _for (var i=0;i<lrc.length ;i++ ); [9 j1 p! g" ~
{
' |2 ^2 O' ? k: W8 G var g = new Object();
1 ?, Z; B( U/ L2 h$ P t= lrc<i>.split("]");) O/ H6 s6 Z% s
g.time = getTime(t[0]);
' h$ c: Y: `+ }+ g) J9 m if(isNaN(g.time)) h9 |' G. T V' j1 q- y
continue;" D( s% r- y M% J3 E" ?' G7 J
g.c = t[1];
$ u/ t) Z7 b4 Y7 l( @' X c if(g.c == "")
) S0 b4 ]1 f8 j, j- i0 e g.c = getNext(i);7 P: H' d. P( d; ~. J: s' T
array.push(g);
* @) b3 ~& Z& u4 Y( n( @}1 x/ p" M! x7 E$ c
array.sort(function(x, y) {- W% \9 D5 E% [4 \
if (x.time>y.time) 9 @8 F; v( |' g/ W' g) R
return 1;
1 U* u8 U6 S& {. R9 C4 [7 ?7 w else if(x.time<y.time)( ]/ `- b6 Q6 F% _9 J6 _+ T
return -1;" ~3 v7 W0 E0 i4 W! r
else
* u$ Z2 K! B7 ?" y( G. v8 W return 0;
- U$ l5 x" j6 `* ]9 ?8 j. e } - A) a7 R. w6 \- @3 x, o% e
);
+ T$ N V( ^" \5 yfor(var i = 0;i<array.length;i++)$ W$ k+ z2 X: ~
{3 _3 n4 f) m8 W
var g = array<i>;( v! J5 @, b/ `1 U' v
if(!g.c){- `$ L s3 O- |7 d; C* d( |
g.c="";& E: L4 T$ S& w( E9 |6 R, g
}0 ~' ^8 A5 f8 g' ?# O( E8 e
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";; ]. A4 F- `) i9 C k6 ]0 h2 e
}9 A) g1 m* E/ a- O* _3 m
var time = setInterval("lrcList()",500);
: f9 s* q4 T+ ^8 [4 L2 g* q {}else{
& t6 `8 T9 q8 p, r $("#list").innerHTML=$("#lrc").innerHTML;+ x# d+ P) d- Q7 j
}
9 h8 b' O! g8 D8 f5 ^function getNext(i): A4 t2 r- u5 f) E2 g$ B. \
{/ C' }$ y, o% u* L4 ?; S: L
var result = "";
4 _; a2 w0 W4 C& O F( H var i = i+1;" n1 |9 P$ ~" i+ r- t6 F
t = lrc<i>.split("]");
2 b7 D7 W7 O7 {1 X8 h if(t[1]=="")
0 R1 d/ o. K1 r& y/ y6 s; ^ result = getNext(i);9 t7 C$ p' ]) l; l6 w: V* l" d
else
9 f+ V2 d7 V5 `6 J. I& t) h result = t[1]
& O: \/ Z8 X% n9 v: X return result;
1 A9 s' ~( b9 y}6 T4 c2 a6 ~- s4 c! i! e1 X1 Y
S; S5 m" H; D, Lfunction getTime(str)
: e& H( _7 K+ |8 g4 A3 S# z{: l4 B1 o" _" ]- R6 ?5 \' n( P
var time =0;7 Z) }+ o, w# A6 X% D9 y
var ta = str.split(":");0 J% G8 o4 U) P1 t
if(ta.length<2)) X) p8 T* B' {* v `8 P3 s" w
return time;
# M X6 q; I% ~) M9 i' x; M4 A; L* n6 H: d
if(ta[1].indexOf(".")>0){
3 U" @' g2 {/ k var tb = ta[1].split(".");
, v# b3 ~/ Q# w) M9 g k7 ~4 ` time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! v7 {% u% s: m \) W( E
}+ q }) S K1 D- `8 P9 L* Y
else: n, [1 p6 W0 b' t6 ]; t9 Z( \
time =ta[0]*60*1000+ta[1]*1000;" q# H" o0 Q2 U) L1 A- M9 K1 ], u
return time;
% A, H; S: z5 D( I: s}
! V; F* S$ J9 ~2 qvar preTime = 0;8 P% }9 e& s( S: {9 u
var nextTime = 0;
* v5 ?1 T J& e" `" ]6 W- |/ x, mvar currIndex =0;
, O7 j* j+ i- Lfunction lrcList(){8 _% C0 E$ g7 t) q& B
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
3 ^' \% L& ~6 O9 i s = s*1000;( O2 ?/ e0 Z+ g, B7 D
if(s==0){ s" m8 @& e" C/ B3 ?, r
currIndex =0;: X2 K: [5 c0 n; N: j- `. u2 f
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 ?7 ^' e, N3 r, J' l
for(var i=0;i<array.length;i++){- Z8 X9 T3 Q% T4 _
document.getElementById("lrc"+i).style.color=colorNormal;
- U1 V- o3 | |5 V5 b( r }( d1 P2 X$ H" A2 M6 @
return;
* E S2 R% n' _5 B8 g2 n* n: t }
7 Z- e9 J; o% h$ B& [6 D4 H" A if(s>0&&currIndex<array.length-1), @1 D1 \' @7 k% J) r6 h+ Z
{
$ ^% E( o: P6 E! C( l: |5 q preTime = array[currIndex].time;
, \1 a: [, c. h: _' Q+ l
9 G+ r' ~& l' I% P nextTime = array[currIndex+1].time;. A" W3 t* s- b/ Z% b3 a2 _
1 U- y0 {1 O+ m: @0 L7 R if(s>=preTime&&s<nextTime){
8 K) @' z1 Y! m. x) X }
" D* G6 m v% B- S+ k else if(s>=nextTime)+ `/ _' s) E& ^8 d! d' u
{
" T7 {" N! h4 W document.getElementById("lrc"+currIndex).style.color=colorPasted;/ {8 _: F3 X9 [; d! v8 }9 T7 L8 U- O
currIndex++;
2 T4 I! D( H' b' H $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' F. B4 E" q+ G$ z% f
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
# y, Y" r9 c. r8 ? lrcList();
) |4 K6 M& m' Y$ |7 { }# P+ K; N# P4 }7 c
else{* v* [, [% ?" L4 C/ a
document.getElementById("lrc"+currIndex).style.color=colorNormal;0 K& v# ~0 b0 L5 C
currIndex--;
( F% g- \8 O, M+ \, V $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;$ k" J1 q3 b8 ?9 n, M0 P1 c% f# \
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
3 _. j3 R7 H0 ~7 k9 ^$ @. n lrcList();: r6 ~! N' T2 h" d: Y
}
7 ?7 N: t: W7 C }
. m0 e- }' \4 K9 O else
9 g1 `; G- c5 l3 k8 d {
: u. Q0 ?& W' I+ Q! O if(s<array[array.length-1].time){/ A& E& y {- e! C$ ^2 `
currIndex = 0;
1 z; F+ b& V# b. {- Q( L $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 k/ [* e$ P% L8 X& E: m
for(var i=0;i<array.length;i++){
5 k) a% U3 [, f6 V& _) y document.getElementById("lrc"+i).style.color=colorNormal;
* l2 T% H/ H: g. { }
: x! C' c- h- k/ _* P* ` lrcList();* b7 D3 x. e* N. {/ W0 N
}8 Z0 b7 p( U) X$ V4 \6 r6 s7 U6 g
}, P- c1 t4 A" u' m8 H- N
}
; }; ~1 a) U' N8 O</SCRIPT>/ x. q. C0 {% d! n0 |
</DIV></DIV>/ N( @" f3 u$ H% L' H$ B+ u$ ~) y9 Q
$ y3 l8 T$ e$ b3 o S
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|