|
<DIV id=list>- a$ F3 l2 s7 @4 M
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
, h! H4 b& U) C6 @<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>- S) e& e: P+ i2 y+ ~+ U) A! m* E
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
0 S6 t+ p4 k( V) J) n V<DIV id=lrc3 style="COLOR: #666666"></DIV>
4 V" O7 `" \6 C( ]9 a<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
/ _. N6 T/ ~3 g9 O<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
}3 z, S5 z; c/ B5 Z- w<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>0 V1 F! y5 E- C
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
% V* c: c8 b# z) R3 i) s% W<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>! {! [- g; g' {/ e7 u: t
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>3 p) K8 Y, [' F" w" m. Z2 q0 W
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
2 i6 V5 L3 j, ?9 E% i<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
, ?# t* |6 p X; n9 z<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
' | A \, y; d' Z U<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
& M& G* H0 d0 ?0 A e1 z( x' N<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
6 ~& Y9 X1 \, L1 E8 M, U# K<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>! P$ k5 C6 r- _; }
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>6 r: m8 L) W+ [- b; K
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
' E! ~8 D9 E- X& Z9 c3 l$ S" L d p<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
) D0 X. n+ j6 Q, h& d+ J4 Y<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
* }. b9 G S4 u6 i<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
( d, p/ W# g9 V<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>" E- P$ \6 \0 B5 t# G5 k1 T
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
2 V/ T1 W. o0 f* h9 v<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>9 X5 X x6 x$ ^+ J" M
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
7 ~' q B+ b- |5 q<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>$ K3 f6 |+ q; X3 j7 X- [
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>1 z/ J/ E. K# ~+ H: V q6 s3 Q
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>; H: ~* R' j7 R/ g0 t8 f
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
`: S4 m, _5 Y- B* j" M% _<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
+ T, _. q% Y9 A' e S5 o1 `# p. k9 w( }<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
) p: j6 r, q0 `2 t; f<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
5 r9 C9 ~3 g2 g& B9 Z' j& D<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>7 O. P" R8 J8 o( ]8 g' r2 W
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
~+ r9 S( a. s8 {1 E' l, i<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
0 Y5 g! a5 h7 I5 m4 H' I+ k<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>5 k% p. X5 c( H3 [4 n
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>( A& u+ v8 L( S6 A) T
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
( W8 B6 }6 D: p: A/ A<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV> v/ n7 N2 @5 J; X7 H- ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
3 f5 R3 e5 {5 q0 U; S% X) c5 Q<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV># S7 ? W7 {0 m- P- n6 c$ u9 H# v
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>; b$ l' |3 F/ W6 i
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>2 d+ A, q x5 I1 W- S7 F% Y
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
9 S( T/ U) y6 ?! {6 q<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>+ U' C$ ^8 F% `# l! y" g) Q- r
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 ] b1 j) P2 [8 r C<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
: ^! t& Z% g, C- l. F- h<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
! Q& ]1 R" N* x. D! g, e) P1 P% W<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
6 B/ ^$ w; A" x/ \' d" z0 [& r<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>. \& B& M8 Y" s2 z5 W
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV># |& C+ Z+ [' H. Y
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
& \+ ]2 n' t! n4 l9 [+ Z/ s<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>. b$ [5 C7 m5 H+ J4 `
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 X0 c' B3 J: l# Z; x! w
<DIV id=lrc style="DISPLAY: none"></DIV>
7 _5 S% U* n: r2 s) a% |! y$ m<SCRIPT type=text/javascript>
; i7 m( m* Y2 ^document.domain="1ting.com";) V# X Y$ N9 y
var colorPasted="#666666";7 c/ l4 O% o5 V( L
var colorPlaying="#ff3300";
: H" Q2 _3 d5 p M5 @% T4 Qvar colorNormal="#000000";
/ K8 o; w, J2 I7 h3 w @$ = function (a,g){& J) h' S9 v9 f" M
var o = new Array();
5 {+ J* q2 Q1 T6 L; U+ m var c = new Array(); 2 A8 d4 a1 J- ^" [ b9 R
var r;
R+ ?. Q1 a# i7 N$ q var u; , W' T7 e( R! d% w& d, B1 i
var a = a.split(';');
7 c7 P+ R5 u. P) k+ C) ~2 x# Z. k' O0 F8 W# X5 M2 X
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
: A" B5 \1 D1 N. Y for(var i=0;i<e.length;i++){/ u7 t* t* L! t* q0 ?. B5 i, o/ j
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
- p) e0 Q. @" M7 J, C }
2 p- Y2 n) i& W2 p6 ~: U
e/ Z7 J5 x( y. @/ C after = function (t,d,s){
+ b. R& v& b6 M $after = function (){
# i: |. G! o0 p! d( o var $n=document.createElement(t);0 G2 v; J- ]- y3 g3 m# f. `
if(d!=null){) ?! {+ ]( a1 ~ i, H( n1 v
$n.id=d; : z& i5 j7 z: `( i. [ o& O2 {& J
}! h) h4 c" Z$ n! V, A
! K1 K# v( s1 h! Q
u.insertBefore($n,null) 0 v1 n; ?* v. s2 G* K/ }& v
r = $n; 7 N, A" L5 l+ D5 @" F
u = $n; 8 e5 ]6 E- }. l. u5 b
}5 M9 a9 J) V+ i) U7 X1 b
$for(s,"$after")' l( t3 U" f* l
}
: X. z0 n# O) ]% N- s2 o0 |3 L! T u; z% ^
show = function (s){3 m7 U H! U; W
$show = function (){/ _5 s& s) o% T- K+ b: C
u.style.display!="none" ? style("display:none") : style("display:block") ;
! _" \! D, l) x# {( M }
4 q& V( q* A9 I" F1 X$ B $for(s,"$show"); c- ], w B* ~( B9 {( m& D) ?/ N
}
' f/ O. b& f( F
1 \' C; X5 t2 B1 v check = function (t,s){' S m8 y; A& G7 V
$check = function (){3 u/ _/ A! |- {- T7 g
if(t=="2"){3 z6 B, g4 M+ }% {1 h' Y
if(u.checked){
, G# n, N, D" I: {2 O7 Q u.checked = false;' b; R' Z+ g/ |2 X2 S! N
}else{# P7 ~+ O2 c1 l2 m& d# Y
u.checked = true;
, _, p5 W! j2 @* K7 w q- e }
( S; C& h5 b& Q c% R% } }else{/ F* y+ F6 Q0 E+ _( D
u.checked = t*1 ;) Q7 \+ m- A( h7 z
}
) e1 [9 V/ e- r3 z6 H }
3 V, C* P6 ~% _7 n. ~! R. L $for(s,"$check")
9 E* W U/ J v, ] }
8 F9 `! `* J- @7 P- K
+ u$ i+ e g) t9 h style = function (v,s){
1 W! `' u- y5 y $style = function (){
* k/ t* ?5 t- t: p9 p var $n = v.split(",") & n' g; x: Y" _9 x' g0 z& X
for (var i=0;i<$n.length;i++ ){1 o1 J% B- W2 e' C
var $m = $n<i>.split(":") ; h% p* Z2 Y6 i' O: P5 Q3 j
eval("u.style."+$m[0]+"='"+$m[1]+"'");
$ [# z- r% }; y2 \3 Y: w }# O/ x' ?* [2 p& w4 j; d: z
}7 c, W" d0 V) A9 S* j9 e6 `
$for(s,"$style")' B4 g# K0 c$ \) S0 v2 G J* b
}0 H x5 R% H9 z$ j5 M& \
9 G J4 f0 Z3 O7 ]0 f
value = function (v,s){7 D6 n: H% P7 Y8 q9 Q8 I% k6 G
var $n= $this (v);: g, m* H ?2 V
$value = function (){" u, u7 r8 ]: O0 v( s% O2 s
u.value = $n
. \2 w& Z; K" ^) {) w; r# i }5 a; e( D5 W3 l" f" i( G6 k
$for(s,"$value") ( c% t8 [0 `$ H; ?$ T7 h$ B+ ^
}5 B% D) W( t% |" o$ h6 T7 y- b
! |+ z& `" v3 }1 e text = function (v,s){
$ |9 G( D0 x. W8 G; F8 m var $n= $this (v);+ R9 ^& u2 i4 N# y9 y+ b2 Q: i, A
$text = function (){
' ?6 X. e! ~9 ~2 `
6 }) h6 B" b( B* U8 K u.text = $n
- W% H* }; A- v }
- i: G) T/ {$ a) D8 J& ?. `4 J $for(s,"$text") 5 h4 T8 g0 t4 M8 h% C
}1 m& N `6 a2 T8 n+ e
/ |( [# o; a, F2 e( p) H% p6 X+ t
innerhtml = function (v,s){
% Q4 a; V3 |% K, e% n9 z var $n= $this (v);
4 t+ E9 v* Z5 E $innerhtml = function (){
& [2 k% \3 }, W% i u.innerHTML = $n
, { M$ ~/ ~8 [4 m. _ }" p1 p M7 f/ z+ f4 K
$for(s,"$innerhtml")3 h6 q: H/ D9 ~9 }9 i' D
}+ s- M2 ]; [1 T8 C3 K' ?
: D- ^! x/ P' f6 V+ W8 \ removechild = function (s){
8 N& d( y, r) ?3 f) r3 m& f2 p $removechild = function (){
2 C* ^3 l# x' R, {+ X u.parentNode.removeChild(u)
- r& j, W2 c1 }) C }8 k2 P( f2 N; }# g
$for(s,"$removechild"), p" R0 Q! x8 N8 {$ m0 Q+ O! U
}
7 h( ~/ Z% A* J9 L% U3 Q
0 s$ U/ b% `" M X) |; _, J $this =function(v){9 {1 O1 `* k- o9 l! `
if(v.indexOf("this") == 0){* b, @6 C6 k$ N/ X5 ~
return eval(v.replace("this","u"))
3 p/ M/ q& W/ R }0 t, Y+ w$ e6 f5 s+ T
return v;9 m$ Z$ q2 L1 b& q
}
+ | f) p3 Z! N( \1 O3 h% e1 E( r9 T h' ?: Y
$event = function (s){
$ Q) x1 ~9 h' D; n. \ var $n ="u."+s+" = function(){$work(this,s);}"
4 K7 Q; h9 v3 p return $n;
. e) e3 p8 @( c7 c* T }* U% |8 N) J% F$ x+ V
$ n1 a5 T0 i/ D* u" s $replace = function (s){
P8 z- i# ]: K% H' @+ \8 v1 ]% {4 Y
}
2 } V5 t2 i( \- x H( Z( |
5 N. t' L+ M: F1 z $for = function (s,c){( j! T2 g4 g7 t8 V5 B# D
var $n="this."+c+"()" ;+ }# j( c1 r, D3 G6 h; f
if(s!=null){/ c6 l5 q) q% F) X# G
var $m =$test(s);0 G+ P* w1 S5 H' u. H* {
for (var i=0;i<$m.length ;i++ ){& o/ F0 U& u& o% ~( S" s
u = $m<i>;! |$ c1 X, f& o) \) U
eval($n);8 `- P- E; N5 L9 m( y z; G+ y
}
$ E, J3 F% ]7 k" T }1 a1 R, t. L& X0 V2 A
else{& Z9 W5 y& L' V9 i
eval($n);. H: o V- t' g9 j# s6 ]: G6 P
}0 q" a( `& H7 `6 k1 P
}
& p- ?/ Z4 Y! Q9 M 6 S8 ?4 ?0 g5 p/ y3 `# f. C+ t. G+ d- Y& F
$test = function (a){1 {0 ]7 m& w. `$ O; f
var o = new Array();$o(a.split(';'),o);
4 v0 `9 F7 }0 o' c return o;
3 G' [1 ~7 ], _* T, D: s: _ }
8 c/ N9 q* w3 `1 L- z4 J, S, K/ U+ {- ^. k) Y6 ?
$format = function(s){
& t% @( [0 F# L% w3 \: ? while (s.indexOf("'")>0){1 C( S( x2 o n
s=s.replace("'","\"");) i1 L( n; \( h) r' k% Z
}7 T' L2 M0 V, {1 ^5 h" [
while (s.indexOf("][")>0){7 f0 Z, K% Q3 J
s=s.replace("][","','")* V6 z/ U: n0 J+ K* o! H
}$ B' ]* V8 o( F. t
while (s.indexOf("[")>0){+ l: n# Z0 e4 [ |- w8 t" T+ g& W. K
s=s.replace("[","'").replace("]","'")
, S# n7 U$ B# C5 q } 3 j5 b, b4 K2 |9 ~7 @. { A6 ]
return s;
+ v7 s, p% Q, u+ C" r% a }5 i6 J: m% B' ?8 k6 N5 v2 u! Y
8 Y) ]# S4 q! Y* s
$work = function(w,s){
: C! z" l- E7 l G% ]" V u=w;eval(s)
' S, O% N/ ~6 y# F* t5 Y+ K }
3 p4 G& w% h# }
8 [5 `! v" E3 E $id = function (s){( N1 w+ p( { G
return document.getElementById(s);
) _, q3 X* k' _/ b }5 W0 c' [. K/ R- z
& s1 w' H4 P) G
$name = function (s){+ p3 ?2 A1 _1 u. X( ~9 O
return document.getElementsByName(s);
; m$ q' J& z8 {$ u; j& | }: k7 `' ?5 }# a9 M
4 ]! _5 D" N$ W! ^8 l/ P$ }9 Q- g
$tagname = function (s){ |- |) L8 t! h7 O
return document.getElementsByTagName(s);
( \5 i9 q6 G! p }
, a' w: [( T8 A h: f$ b+ G
9 B8 H1 h, B: x% }) } $o = function (a,o,c){
" U: d U) o3 y# P) F: \ $push = function (n) {' S2 T4 a( c& X5 Z/ A
for (var i=0;i< n.length;i++ ){2 @: S0 e O- a7 [( J: @
o.push(n<i>);
, P! s0 G; k+ [8 b' } }
6 y% ^* g! K7 }3 o# K }
2 q# g% O6 j. ~+ t3 I7 _" g2 {1 m5 w for(var i=0;i<a.length;i++){# T1 _' w1 f; |8 h8 k0 X
if(a<i>.indexOf("(") >= 0){; P% Y& Q) B" B' k! f9 m
c.push(a<i>);, f' c B b3 U& x
}3 Y1 q0 R# R* S/ }" s! p3 ?5 d. s! }
if(a<i>.indexOf("~") > 0){
- ]( E3 j* `3 a: C0 |# _ try {3 N8 Z. A7 e7 M) c, [3 n
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
, K; A/ i3 s7 ~% i }catch(e)
4 p6 i a9 q0 `# F9 Y5 e; o7 | {} 8 c& N2 a# Z$ c" e7 Y, x, o7 H
}
$ ~& q! p) J6 }- Y6 D% { else{% P) u* R( x* m/ `
if(a<i>.indexOf("#")==0){
, V! b5 U0 Q' R) X- k" s) T o.push($id(a<i>.replace("#","")));5 c7 t/ Q' s6 u7 k
}. G: @9 j* t u2 Z! l( g# G
if(a<i>.indexOf(".")==0){0 l) L" H( Z. L) b# _
$push($name(a<i>.replace(".","")));
2 I. I7 H2 J1 Y/ q }: x8 W6 f! S! V
if(a<i>.indexOf("@")==0 ){
; ?" y9 x' C5 E. D $push($tagname(a<i>.replace("@","")));
2 m% |" }9 V/ @* d/ O( [9 t }3 T( \: c3 X; i6 G0 I
if(a<i>.indexOf("*")==0){& H0 w/ ^! F: d, P& ^7 Q4 H! {
$p= a<i>;
: o g% q1 X8 h! w if($p.indexOf(".")< 0){- I: M4 e) n% m i
$p = $p.replace("parent","parentNode")0 m$ Q7 Q. E* {2 d
}
3 [( W$ j! `# | var $p ="u."+$p.replace("*","");
& w* \8 P% z& I$ Z while ($p.indexOf("parent.")> 0){4 C4 b! _$ R& b
$p = $p.replace("parent.","parentNode.")
6 A; i. }6 I$ a e0 p T- ~ }
8 T4 b% c4 X2 X9 M" v while ($p.indexOf("child{")> 0){
3 \: w# E/ `! _- h$ h" Z $p = $p.replace("child{","childNodes[").replace("}","]")
- h3 l& v2 E7 F5 s; z$ ?; z! g }6 @" G7 I. }7 C1 Q# V2 S+ I. ]: {
o.push(eval($p));
7 m% I; S6 M( F0 t }5 s: v" |; W n+ @ N& E
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){% j5 z% F% w& }" M
o.push(eval(a<i>));* `) N9 l7 W x0 g7 o3 v/ f0 r
}
! h( v l+ x7 P3 t6 A$ s2 w- h% ^1 | }( ~7 z+ X1 P+ p v% {2 T3 M: b i
if(g!=null){
6 X0 X! c% g) {; J3 E: f9 [ o.push(g);g=null( k' n; G# ^0 Q# U( g
} ! b, @4 g! D( |3 X
}
" \ x7 S0 ?0 Y. |% s3 E, e# p/ I }
7 A1 }% f% V& r& g
' W; H8 p% f/ s; h% Z; j $o(a,o,c);
+ r w. [3 X, h/ _; T3 z* V
g& ^' {8 G7 g* b0 I for(var i = 0;i<o.length;i++){
. ~% I# S/ |7 c/ h/ z for(var j=0;j<c.length;j++){
. p' ?: N3 K0 `. d" F. V u = o<i>;eval($format(c[j]));' v0 j, E$ g! _: q, ]$ Q3 g
}
; g, e. T" V) e/ J1 H }3 V) j5 g& F' a8 O
* x' b3 n. Y; t' P- D5 ?2 Y! Z- ~ if(o.length == 0){. p3 y3 T% B# S8 I
for(var i=0;i<c.length;i++){5 E* I! l! ^3 @# A+ d* q' `' A9 ^! G
eval($format(c<i>));8 q- E3 E! b! K/ O. H8 r
}8 F6 S- t6 p1 R2 f
}
# b( L* b' C! R5 _
+ T( j! |4 q: @6 R if(r!=null){. m, j' F5 F5 R8 O, U3 ?4 a
return r;# X- ~; ]7 I: W2 h4 x7 o2 c
}
- G8 N8 ~* D' S$ y; }+ H/ i, ` & U4 [+ c* w- a H! V2 k
if(o.length==1){
! M e% |9 K0 X9 S9 Y, g return o[0];
+ K' c* r' h2 g }0 q- z6 D) [0 W2 J' l [
else{
' Z( g" C) o6 M& ^- {* J w% { return o
' O T) }9 X) g h* w* T9 g* M } & d) x* W& q) k8 w# T
& u* w% i( d. e3 c, y* R3 x2 R0 f' q7 T2 H
}
1 V/ S. Z: ~) ^0 V- ]0 T* ?var lrc =$("#lrc;show()").innerHTML.split("[");
5 R A4 {7 N2 D% {3 I1 X! Q7 Kif(lrc.length>5){% b8 Z0 z( r/ T; t
var array = new Array();" L& T1 Z1 q! Y* Y; W: }# s$ Y6 {
for (var i=0;i<lrc.length ;i++ ): T$ u3 p+ x8 v* d( L, o
{' G" r. n) Q( P) X D
var g = new Object();
9 q2 ~" B5 F3 F/ B t= lrc<i>.split("]");
5 J: L( d: a s8 @/ w g.time = getTime(t[0]);
- _, y, F0 [3 s2 l* V if(isNaN(g.time))% J0 r0 d9 l9 F2 W3 o6 C
continue;
& U* i: K+ o" d$ I3 k: s g.c = t[1];
& m4 g! f0 |: j" O; W N) Q" I if(g.c == "")
. a! h, H* B$ \ n6 h2 W Z) {, ? g.c = getNext(i);, y; A! q4 J" X; v
array.push(g);9 O/ L8 P" u% k6 V2 C! Z+ L
}
7 v3 C$ p# g& O. K% m. Xarray.sort(function(x, y) {
2 d/ l) z! w& Z9 T% ~ if (x.time>y.time) 7 D+ w: n& l7 `" G: D- l
return 1;
0 M) R$ M( X" Q+ x7 Y, h3 m( j5 f else if(x.time<y.time)- o! y4 N1 H1 q" w1 q9 g* M/ [
return -1;
; G5 s% q$ O2 m else/ w7 L2 u" [- |# k/ E& d
return 0;# k& K2 l2 C. s+ [- O
} . @( N3 K0 [/ T0 g! A) Z
);
2 K+ J6 Q/ G0 Ifor(var i = 0;i<array.length;i++)1 }% ~, b t. \) b+ \( \7 v& V
{
0 Y( J" u' g5 I# T( N! Y var g = array<i>;
3 K+ L& _& m& y0 j9 K' Q- C2 ~! e- u if(!g.c){
0 J3 P. c& M) w, k `. ?) C3 X g.c="";
) `; R7 N* H) q& e }- Q4 l0 s- Y; D' g2 z' I+ }7 @" `# }
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";3 k; c2 m( u- U
}
3 b$ |6 b0 d7 ] }7 S' Bvar time = setInterval("lrcList()",500);
0 y& |4 ^! x+ }( z. A% {, o; Z: f2 l8 Q}else{) q' G6 n) t$ ~# `
$("#list").innerHTML=$("#lrc").innerHTML;
. [5 P( k: }$ K. }6 X}
% ?7 k# q3 u b7 \* H/ M2 L! ^function getNext(i)
" V6 V: \3 d- V{
7 V& x2 C: m- i" F3 G; `- i1 U6 Z var result = "";% I* x. e* S, ?
var i = i+1;* M$ L" r4 J, b1 P. Z8 M; Y
t = lrc<i>.split("]");
) H4 X( ?5 i- M7 c if(t[1]=="")
# t l2 X9 z, \ result = getNext(i);+ k9 l2 J. a% R; i: s2 X
else. a. j7 a. t$ h3 f
result = t[1]' |4 J" {9 Z# c! R! V! s
return result;8 O! J. z7 I6 a
}
" P" g3 O; m! B% z6 J" t8 R. q1 V, Q) }$ a0 j3 _$ u- ?' g6 r! c9 _! T
function getTime(str)* E. n' R9 M% o, R5 N2 |$ k
{# L' n& ?; z* Y; `4 Q
var time =0;7 v% D. T% [+ r" x! {7 o
var ta = str.split(":");
- ]* b% @4 I t if(ta.length<2)
, A% V$ K" e% ?6 E; }( h return time;
& E' R, C" ^* ~+ n* r3 Z) N. w$ `$ z& s- @, g
if(ta[1].indexOf(".")>0){" y2 j- R0 |# y% n8 y8 d7 C6 J+ T
var tb = ta[1].split(".");
( O( W8 {$ b' D8 [( s time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;9 q3 ^2 q! S0 U
}1 u5 \: w/ ?+ r- I
else
4 t/ \( g9 U/ a7 ^0 `3 y( |+ h time =ta[0]*60*1000+ta[1]*1000;
7 o8 A1 e( O4 x4 o+ d return time;& m9 y+ N' Z y
}
4 V) J8 V4 x. Q1 ?8 k6 wvar preTime = 0;
+ f7 S$ c( T) X/ R, hvar nextTime = 0;
o) B! O4 {" g' Z: a2 T5 Bvar currIndex =0;
( S1 m& R+ J: O0 }: w$ g; U( Mfunction lrcList(){; f2 X0 _+ F( R h8 [
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
. P, N, g4 C1 j& R* V8 V s = s*1000;0 e* Y; R+ v4 y
if(s==0){3 Z/ H S- K3 }' |
currIndex =0;/ j+ C# L4 p+ ~1 b7 H4 n' t* f
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 J( v5 C: ?9 d0 ~/ e$ |& @
for(var i=0;i<array.length;i++){. M* N) {6 _4 T) q
document.getElementById("lrc"+i).style.color=colorNormal;
, s) h6 U ~" \0 F3 l, {9 J }% B" a; L; R8 i) }4 o0 Q
return;! _5 `4 v' w& H( Y' s) F1 v8 ]
}& Z) v. X2 f$ _$ S3 K
if(s>0&&currIndex<array.length-1): Z1 n" m) X: {) B5 B4 H
{ s& E! P. T0 X, @' ?
preTime = array[currIndex].time;$ [! S! j7 y4 U0 w% r: W1 H9 I
}6 V* h& q0 x- ~ r" Y2 f' w nextTime = array[currIndex+1].time;
9 y: ?; O/ \6 ^( `, |" c3 k$ A; a
# ^, C4 p- \7 \8 ^ W4 n- \' b& d if(s>=preTime&&s<nextTime){
2 l4 U4 v1 m4 ?3 t1 ~7 o; W }
0 b3 Q z( l* t/ d7 h/ H else if(s>=nextTime) o( A1 d9 X4 S! G" G+ q- m
{
6 m( w/ V) i1 c1 ^9 ]/ _ document.getElementById("lrc"+currIndex).style.color=colorPasted; j& z. s/ |5 c
currIndex++;$ k* _1 F' |8 S; P' x7 Q
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* J( {$ h/ K/ g
document.getElementById("lrc"+currIndex).style.color=colorPlaying;6 i* b" I h) }9 B+ A
lrcList();4 k- }. }7 s2 G/ h5 s
}
; Y t* x; ^& f. m" a5 W6 V else{
( Z1 n! I2 O" @+ A6 g6 R. C1 e document.getElementById("lrc"+currIndex).style.color=colorNormal;- z) p7 {) J4 |! V T# X9 P
currIndex--;) @+ I5 F9 @# ^9 Q5 I n% O0 g
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* o y- H8 ], b& |1 Z
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
n; u7 Q2 f; N lrcList();
' A# f8 Y- C3 B( @8 L5 j }
E# j: @6 Y4 K }
3 N0 G" Y ]/ D2 U& E0 ?. O& L else
- \ o i0 C% l {6 \3 x% a" E+ T7 p6 m, r- \! r
if(s<array[array.length-1].time){, z' l% Q" n0 m; S6 ~+ @, Y+ c/ h0 b
currIndex = 0;9 ]# H! n5 f* ]8 [" c$ f" O& l4 d$ d
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
# _2 t9 d/ R* r2 [ for(var i=0;i<array.length;i++){1 T) f) _& |# N. R
document.getElementById("lrc"+i).style.color=colorNormal;+ ^! B8 N6 |3 J& h: j, n/ T. t
}
: q# E3 Q: U y' z' y: M8 R lrcList();" d3 B3 G3 Q& j+ M2 I$ j0 |1 i
}
; E+ ^ g/ v3 ~' h/ Z }
l( u6 B4 Z* p5 p$ @# z5 F}
. v! f& x6 r' w1 J, N6 Y/ k4 L7 m</SCRIPT>
8 Q0 L2 J2 W0 Q0 b2 B; N; Y</DIV></DIV>
( Y; j0 l% R5 [3 E8 q7 s% a& C% c, d3 k7 j b* d$ Z9 e
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|