|
|
<DIV id=list>
* I: \7 s, C& }; Y( B<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
, d1 f% q+ S6 i P. V<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
& {' r5 G/ K* ~1 R<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>+ a& W' K" ?1 ~7 S3 {# ]4 M+ V
<DIV id=lrc3 style="COLOR: #666666"></DIV>
, A# Q% ~1 I% Q1 f# }- d<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
# a1 A! |. v3 K+ `( Q1 G<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
# c. K* `, I7 @$ J) l9 g% k<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>2 r L: m' ?- @* U* J) G/ n
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>% y" h1 i: J: L. O$ K
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
0 k0 t8 O5 h: K9 [8 _( f" B<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>2 U7 g" M4 O8 {, k: a
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
! Q( v8 C3 [. p, J<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: h b1 R7 Q# G4 [( T- J6 k8 P; l
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
" o9 X% l- p' M+ f" K<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>5 e+ M: s& y+ X9 h6 v6 s+ ?
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
1 |$ k" y" w% z- Y<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>3 |$ v5 N& |8 F& A* p7 y. y1 f
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV># K4 c, j( E. Y
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>' t; U6 g7 H1 C" c% Z1 Z. c
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
! J2 W. c) W8 P$ y4 a, r2 L<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>( w. `# q* T. ?6 n9 b
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
( P+ n/ m% ]- m4 ? P% `<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>* s; {- W; { K, a1 l. T4 I
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
5 ~! x* @; T$ {<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>; L# y8 A! m( a" N
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
# ?, M' F) }# S8 y8 r* _<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
) {6 @/ @. O v* P u9 }# k% Q<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
6 |$ {6 z5 V, Y8 S2 G<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* l2 q; a$ H) l<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
2 Z) e3 `; _3 t, ?2 h3 `0 u<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
" v- U* H: k; E, p<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>9 Z4 f% K, \4 x! o+ }& O+ k
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>4 e# z" h. A; W
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>$ }4 l. G8 `7 Z" }4 u8 h
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
9 O3 D* C$ F" k9 W2 L# ~0 N<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
; N8 g' O" k2 D* c+ \# d# H' m J<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>6 D3 G) P# e' T" `
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
: o3 x% o' G6 v6 [/ c7 h( \<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>6 f$ W0 J7 G: D% C1 `( @; r) Z
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
, [6 b$ y. H7 K7 g8 u4 M/ |<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>" Z2 K2 X0 {, a. o7 I. F( O# s) a" q( S
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>) Z6 }$ p6 l0 p3 H0 \2 c
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>' {* p+ @( v4 `% H) E6 |& S: w
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>1 O. M* \3 K& c6 o; y- z% H
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
; \# _# P0 o( z<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' [+ r, f ?% @* R1 i<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV> }3 t4 [1 _" h- T9 { a
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
) M9 m" J8 S2 I+ P2 _2 _<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
' g! d" X" W( }- ~6 x<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>( q7 y2 S' b$ D2 O$ E
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
9 g, J1 x, {2 }+ y' M: T, X<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
! p% p' c- D3 n0 b<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>% ?5 ?9 n: D& v, O) Y c v, ^; t# g
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
3 I) h$ P7 W* b2 e<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ! c) Q4 f& }) U. l6 ^
<DIV id=lrc style="DISPLAY: none"></DIV>
( C2 I' a- \% R/ @- e: a' w& H<SCRIPT type=text/javascript>
, F7 {( u6 {; W% Pdocument.domain="1ting.com";
1 d( O; p( D7 J, p! K- ] nvar colorPasted="#666666";
% M. g" Q- \( Y3 V3 fvar colorPlaying="#ff3300";
* G7 N3 ]+ R; Avar colorNormal="#000000";
- ^# ^, H; O8 K4 B: s. z5 r: H$ = function (a,g){
" \2 e& _/ B7 e) m" i var o = new Array(); ! k" j; `5 y& b9 W! U( H: a4 Z
var c = new Array(); ) A$ l& l# V0 B \' O6 N K# @
var r; , U- w3 `$ q0 D2 d: n2 J* b
var u;
v" l; m) M8 B* {5 o9 |/ `2 ^! @ var a = a.split(';'); 1 l$ T' p: j% U7 s! L
9 S& v. S5 u4 A5 J
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
; A C3 H! K/ f for(var i=0;i<e.length;i++){3 x+ P% d+ J4 G( h9 I+ O
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 D B- o& f) a1 V }7 b, A. s/ R+ t# s2 |& e L$ z8 A+ K
/ ]3 O: f7 l* O: H e4 e/ g; s after = function (t,d,s){
Y4 v: Y# {7 x) o) a4 P $after = function (){
+ T W# Z# e* }4 x var $n=document.createElement(t);) [! m' [6 e7 d5 s1 l" e
if(d!=null){3 d' I8 W+ V5 \
$n.id=d; & p5 W0 r. k+ V$ [8 b% w* C
}
' H( G" F8 ]; m; _7 K 5 n1 |7 E3 O$ C) u, b" S6 p' O
u.insertBefore($n,null) , o2 x( e( a6 k/ o
r = $n; % X9 O# ]5 K+ X$ L
u = $n;
" L' M7 x; n/ |+ A- | }* q$ Y" g; ] C+ F: f
$for(s,"$after"). ~% `/ e ^/ i' I" B& L4 c
}, j8 n* a$ Y; T7 l/ D
1 g6 s7 B7 T0 x9 x( n2 J4 t
show = function (s){: n' X, A( L- `- d- v7 N) ^- [1 `
$show = function (){
: I( W/ s. d9 P2 S" |; s4 q u.style.display!="none" ? style("display:none") : style("display:block") ;8 F7 n4 E! X8 {' j
}
% G. _$ g6 J4 p G $for(s,"$show")
0 V3 L" a# V2 G( `) k, c9 ?. y }
( ?: c4 T* B# u% t
0 p) X$ R3 s- B. O- m2 d check = function (t,s){
! d; W% T" T# R- ^* t: C" h $check = function (){
' n# K) z7 J5 u! [* F G if(t=="2"){
, \ l# O7 s" o if(u.checked){* d& |+ \* f# B
u.checked = false;
. V. }0 R7 V( L }else{4 f* X5 R' V6 G* b4 ?" P, n
u.checked = true;1 r, P: u; ^, v/ Z7 ^% r
}
% M- h$ O' Z- |# Q }else{% k2 Z# z& F/ Z) n7 B! @. M8 r
u.checked = t*1 ;% e% C4 X) t" P
}6 ?) q* O+ E9 _( K& b H/ j
}1 O1 k8 p+ h# [. y' [0 |' h
$for(s,"$check")
- X/ C* d) S! J& P1 N2 l1 l: o* P }- _# j6 T9 p4 ^- S: Z
* W! F5 }/ _* P; y5 ?
style = function (v,s){
! ~% S4 \* n6 ?% ^, v, D) @ $style = function (){
0 a; j/ G; v/ \1 M Z var $n = v.split(",") 0 v4 ~1 P1 h5 f1 l
for (var i=0;i<$n.length;i++ ){7 X2 Y( |; o0 Q4 e$ Q
var $m = $n<i>.split(":")
3 ~+ u; C7 C7 w$ \ eval("u.style."+$m[0]+"='"+$m[1]+"'");
7 H* [: o- m$ Z }
/ W2 S1 `+ y- t }
$ _% r: S! J+ R& ? $for(s,"$style")$ f( ?4 m, i( d# h
}- \4 ~ x1 q. X& }' ~4 n0 P4 f$ e$ l
Z. p6 _% p0 {* \ value = function (v,s){
' S' Q/ ?( [; E+ @% q8 e' S var $n= $this (v);
7 j- R* U6 ?) t, A* ? $value = function (){4 N! L t+ Q) ~2 _) d
u.value = $n' G9 |) e2 ?0 k4 p8 O6 f9 y
}+ G1 r, ]1 x, ?1 C0 z. h" }
$for(s,"$value") 1 w I( G8 X8 R: w. H X% \. j
}
6 I# G; m1 A" y9 c# }
( c' |7 c, I8 F text = function (v,s){$ q9 B$ X4 n! l8 p
var $n= $this (v);* b& o2 E( h+ f/ q( D
$text = function (){* r2 x* Q8 b0 X6 n9 X+ X
( ]7 J0 |" W1 E. u/ L2 X
u.text = $n- T1 b% ^3 H; a+ X7 m- o( |2 c
}/ i* D# T% p k4 I' k
$for(s,"$text") 6 d W% ?% H2 O: ^( m; N
}
5 ^/ @+ x1 i; b2 U' o
' D+ m5 M7 d$ b# C innerhtml = function (v,s){
- I2 C% B" A( @( M. @# I var $n= $this (v);
* T+ A3 R; v' {2 ~: J( R $innerhtml = function (){
1 g% f, y) U# J u.innerHTML = $n# `& F! r' C ~. I( T8 v* k. s# Q9 s
}7 b! [. x4 L5 S" h
$for(s,"$innerhtml")
# [" D$ L- l! |1 g/ L+ O& o }
( p" I. r6 C* R+ K
) b' w" x8 Y& Y removechild = function (s){
8 \6 r0 w. O1 h $removechild = function (){: m7 s" H) z/ p; a% g
u.parentNode.removeChild(u)
+ S( P' y5 E, ?9 h8 d( L }
$ U: h# A$ W7 S, m0 I& i $for(s,"$removechild")- E3 b; G' ~0 ?
}+ D4 c( }/ M) n, ^# ?
) `2 _& Q& L$ t9 @, d
$this =function(v){7 s+ [5 @6 I2 d3 b) K5 h* \2 {
if(v.indexOf("this") == 0){3 m3 J5 ~$ b! {6 X# \( `. D
return eval(v.replace("this","u"))! c% i0 ~8 V& @) H( T$ d
}3 b0 @4 w3 F+ C6 K- X
return v;: J+ m; }4 ?( s5 @, Q* p7 V
}6 O7 l0 {+ f% X# e
2 R$ s, }8 \9 P4 h
$event = function (s){( H1 D6 y$ I2 v! P7 S
var $n ="u."+s+" = function(){$work(this,s);}"
8 h% T& y2 L. G, x$ I2 Y return $n;
, U* F+ \! L3 p6 H+ k/ n* M7 ` }
4 A5 _: p) |$ I; b B* V
# Q4 c% W& F$ s; _. y4 T $replace = function (s){
+ S" e6 z7 {+ Y t! C$ E2 O! M% r
}9 l6 O9 h. C" |; s; M- ~) T( ^& W. g+ I
4 h& J( J4 P% t $for = function (s,c){- S3 m, W2 M/ x: o* i$ h
var $n="this."+c+"()" ;% U3 j$ l2 E( D) ]. h& A
if(s!=null){1 c; b: }+ H$ |+ x3 O+ f: p
var $m =$test(s);
0 H- U) B7 a8 t' k$ T. w; U. @. } for (var i=0;i<$m.length ;i++ ){; T6 z/ p/ ~; n! A q; A
u = $m<i>;4 K0 Z# z1 \$ j r0 V, |
eval($n);
% G2 m0 W. d" W& t }
6 J9 h! \% _9 N1 y) _ }
; K8 t C! G6 t9 {4 ]0 _* a else{
& I. E( ?+ {& X$ H6 z8 u1 z( K eval($n);' n6 D# z: P( a& A$ ^2 I9 z
}
/ l+ X6 V% B- _ }
9 p& E2 ?1 F$ o$ W
. R' P5 b! j; o5 h" t; [# D. [ $test = function (a){
2 W I1 F9 E) J0 ?8 F var o = new Array();$o(a.split(';'),o);; d" D) c1 m5 @8 O+ @
return o;
h! _ z. Y4 k0 c5 A }/ r- O- d' b1 ^( }+ t) ^: n% i' u
3 l; P8 O$ i. f4 Z. b& Q, v1 \/ G $format = function(s){/ {' S6 q v% z% e9 d. x
while (s.indexOf("'")>0){$ J! H$ Y$ R: x0 I4 {! a! ~
s=s.replace("'","\"");
/ y4 c3 Y+ b/ D8 E9 S l }
% J/ q, R: Y! T/ L0 h+ a while (s.indexOf("][")>0){
1 Z$ Q$ ` X+ C3 a+ F s=s.replace("][","','")( `, q7 j- s/ ^2 ?* v
}
/ ]- d% V! w1 R0 e/ } while (s.indexOf("[")>0){: X' ^' L( b0 V3 u/ ]$ l! J: P
s=s.replace("[","'").replace("]","'")% ^2 T! a) ^+ r- j, e
}
4 h l, }# b" P* b! U2 g1 g return s;
6 n3 F4 z5 r- O0 z }' B( A$ G- O5 L h
# {9 R" a1 \& \! v! I3 } $work = function(w,s){4 L* g7 O% q) g# B$ T7 ^3 m: S
u=w;eval(s)1 [# y s* A' n L9 t7 f! V2 H
}- K/ Z7 @8 m& f! m' F& C
1 ?/ y/ H" U0 \ |
$id = function (s){
) m' l0 z* R8 e- A) o' J return document.getElementById(s);
% g2 E4 ^ Q% ~' |2 i2 y }
; r& B O; S _( }2 f: F l9 J4 l
M1 u5 C t* N, z5 i( w $name = function (s){5 r, d/ t* {/ s G3 Z. a
return document.getElementsByName(s);, R/ I+ v* p% V. Z9 b
}5 ~* c# j. F9 z
1 R( x" @1 e$ z $tagname = function (s){
. f7 o/ o- p+ D return document.getElementsByTagName(s);# A6 S& O, S, r) }' N, j w
}, z* F. O* ^# Y, b
3 l5 Y$ I- T1 g$ z- R, u5 ] |% b) y $o = function (a,o,c){
4 L8 \1 @) F+ q& F $push = function (n) {! A0 [- U/ ?0 G4 G" J! H
for (var i=0;i< n.length;i++ ){
4 O( n; q, S3 X! u) _3 _ o.push(n<i>);7 S3 u6 U$ k/ P3 M. P6 |
} - H O6 d, M! C- ^5 a
}) f/ p* F! i2 S: Y! C" `
for(var i=0;i<a.length;i++){! b D6 d, l( ^1 E. b
if(a<i>.indexOf("(") >= 0){1 K3 s g4 s& C
c.push(a<i>);
, H4 k- n, K6 r! f: A }: D+ u; B, C# v- s( {2 H& T
if(a<i>.indexOf("~") > 0){, N8 i( F5 g9 h7 q! c( Q+ f) B
try {
! M. j( B2 h! Z6 m! G5 k* t) K $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
3 B& O( H0 g* F) E# E6 } }catch(e)$ u8 v, N/ I% G- H( P0 `
{} 3 e2 E2 w0 g/ o5 K1 P
}
# {/ \; Q6 ?% c3 K! |8 ?' u else{& G5 e/ U9 w. n: U2 `' u
if(a<i>.indexOf("#")==0){# R+ L7 u- n% F
o.push($id(a<i>.replace("#","")));
4 G6 s& V0 A. Z+ Z3 A2 p }
- \' R8 Z1 F$ K' r9 Q6 v& [ if(a<i>.indexOf(".")==0){% A3 p) U3 u7 s9 D7 q# b6 x
$push($name(a<i>.replace(".","")));- R& p( P4 r* m$ V( `8 _4 P
}( b" r% p0 h: l" _
if(a<i>.indexOf("@")==0 ){
! I: `$ X% V4 P, Z Z' H $push($tagname(a<i>.replace("@","")));
. G5 P2 m' k+ S' ~. T# Y+ n }
w, I) b# b* | I if(a<i>.indexOf("*")==0){# O4 ^) l* \0 i. y2 \8 w. U2 u
$p= a<i>;
! M, d( A# b. X, t" N if($p.indexOf(".")< 0){
9 B4 z I* J8 _% ~% t- C7 ? $p = $p.replace("parent","parentNode")( P2 A R0 Q5 U* n8 p
}
; ~& ]# \" u0 n; s7 t var $p ="u."+$p.replace("*","");
" |1 D" y. x, Z [8 R3 C* {3 F while ($p.indexOf("parent.")> 0){
0 u" d! U$ G% ] $p = $p.replace("parent.","parentNode.")
: Q* ?* X) p+ @+ x1 Z" p4 k }
& l1 n2 t% C/ D0 N2 }* z( d5 D( e" e while ($p.indexOf("child{")> 0){- h, m" O& G6 t8 P8 @& @1 a
$p = $p.replace("child{","childNodes[").replace("}","]")
1 a7 L; T8 a( l- F }5 ?/ ^- o5 P3 U; I# C" x& t
o.push(eval($p));4 {4 C7 L# j8 r1 W: a
}
N; C9 q! q( D* c0 J' V if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
# B6 G- e- [4 b( L( f' J o.push(eval(a<i>));
* Y, O5 g2 j c5 ?: o }
$ V: \% J/ A% }& x1 u" K0 q }6 D" e" I% l" T6 i
if(g!=null){ 0 U$ R$ P" _1 Q% K; K$ G- r; @2 Y( _
o.push(g);g=null
* A9 D1 V) A8 }! G2 Q% u }
' n1 ^% g- i4 \$ X& l }9 |5 ]0 G4 J* T: X
}- k# V; v& i+ Y
, K' m' p( J3 K8 s. o $o(a,o,c);
0 d( Y& P. K$ P" ~: W b0 J, h' h q6 _+ J1 `6 a: q, d, v" S# A$ q
for(var i = 0;i<o.length;i++){/ c( E5 O* p) \4 K3 P6 Z. \
for(var j=0;j<c.length;j++){
' r8 m. s0 X( _4 K* { u = o<i>;eval($format(c[j]));
" V8 K6 b; A# ^4 | }- N" _' V9 C1 D! t4 j8 t
}2 p+ `9 m* m& u9 H) \, m
$ ]( H6 f1 L m* i% u+ J7 p! k
if(o.length == 0){
6 Q+ \% G W# A' \9 W* B+ W" Q for(var i=0;i<c.length;i++){
, d, I) g- c. e0 o( a5 G eval($format(c<i>));! Q# s5 h: X5 S$ e# ?
}
. ^( U, e2 f4 L( w$ t; R }
O9 e& @/ y# I' }- X7 x
3 A. ]' L* S Z( @, p# J if(r!=null){
* v) L F4 Y7 x7 H& Y' H return r;
; [2 }1 P$ H: { P }
/ \9 |: e/ q+ a% j" F 9 D1 \2 c3 n, B6 b- v3 u8 F- {+ n
if(o.length==1){2 h L/ ]! p& }5 s$ o: v
return o[0];
! C# k, a/ U; h5 i7 C }# F, z% k0 W. a% z- k# h
else{
: d4 n* b; e! t4 n' |/ w return o
; q4 j2 G, t/ T# Q' C( J } 6 ^! m* d* a+ Q4 u
1 w: w7 H5 {& _5 V; r }' H+ a6 X, [ P7 @1 \) i
var lrc =$("#lrc;show()").innerHTML.split("[");
' ]7 |; `3 U. H0 o( f8 I) i$ Eif(lrc.length>5){
7 w( {- V& |8 u, Vvar array = new Array();
/ r+ k! \* e$ v' Z, vfor (var i=0;i<lrc.length ;i++ )) U, B7 O. {4 d% u& L4 Q' L- E
{3 I( O" o# x' O0 Q8 w
var g = new Object();
3 ^8 s/ g0 D( A+ F7 x) w t= lrc<i>.split("]");
3 B$ N6 P$ `$ d8 O5 E! o% E g.time = getTime(t[0]);
6 \1 a/ i9 H) u* a6 ] if(isNaN(g.time))+ i# x# ]- [9 R+ J
continue;% r h0 ^ z, ]% O! w
g.c = t[1];
) _% h; K% G5 ~# I2 m2 K" E5 a if(g.c == "")
% Q7 X: ~( G/ { g.c = getNext(i);' T+ F7 o! v& S: w: D( B
array.push(g);" |$ Y+ l) ^6 w( x7 S& [* E
}& m8 p& y1 p0 Z0 ^+ Y
array.sort(function(x, y) {
" ]: Y: R5 T8 I7 U if (x.time>y.time)
/ |7 F- c. t+ i) {0 j7 y. k return 1;3 o+ c0 H8 {# |! U! G
else if(x.time<y.time)
- f6 G. N$ S/ D+ F return -1;9 m0 P* w6 g# c- ^8 l2 t0 {7 d' c" _
else6 g% ?' n# {8 X) v
return 0;
9 N$ e3 \+ ^8 {9 V } 9 W2 d ~, I4 m! j/ E; g
);
. J) x; }, T- @$ u2 h- B1 M6 _/ d" `for(var i = 0;i<array.length;i++)/ {8 D. F! L8 c3 D9 \# b
{
- i1 w" u2 ?+ s% E" S1 q var g = array<i>;* q" z9 v4 m1 e
if(!g.c){
5 i$ `! _& B7 d/ @ g.c="";
$ i2 a" }4 M9 r# B+ e$ v }
* ^1 P( W% e z6 D2 v% R' u3 _ $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";* ]5 i- Q% p* _+ I1 K
}8 a) @9 {( W# ?
var time = setInterval("lrcList()",500);
( N! d- p5 H, j. V! Y4 f$ X}else{
* Q5 E. o) |& o2 f* k $("#list").innerHTML=$("#lrc").innerHTML;
1 k8 Z' h; {/ k# @, N, q& w}
2 ?7 j* j9 E2 M7 [/ @# J. `6 bfunction getNext(i)$ f- F, {$ X8 [) w2 u
{5 J7 R2 g: G5 B j6 |# i9 g$ a
var result = "";
3 i- @# X( J5 @6 C, t$ E var i = i+1;3 }6 h( B0 E1 p5 p' z& y" K
t = lrc<i>.split("]");
0 ]- i: D3 a. T% A- N4 J if(t[1]=="")
1 K/ V5 y3 f j `: ] result = getNext(i);
T7 Z, @( `* f! d else
9 O' p! Z1 ?' ?4 j2 l result = t[1]
# o# v5 Z( o; x8 x return result;3 n( N& r0 C: c2 k2 J! U C: o
}/ D) R, N8 `& p( n# q
% l; D: n" X, u1 |+ S" |function getTime(str), L2 {" t3 D/ H3 u2 f4 `
{
8 w% e* D5 P- k# c0 l: U8 T0 i var time =0;* R* s/ l( R! Z9 b( y
var ta = str.split(":");
/ ~5 h9 Y- ^ E) d, H) ]; k' G if(ta.length<2)& l0 B& R; j* p1 k
return time;4 S3 U1 V9 S1 q3 f
4 H$ k/ E" o m: \% r, t
if(ta[1].indexOf(".")>0){* u! D3 b2 {. E7 B" j
var tb = ta[1].split(".");# c: c7 H; j& Z& A
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;- N) n+ ?8 {" {* e, t& G$ c
}
6 G' G# O A) S+ a else. J9 Q1 D# X. `. x
time =ta[0]*60*1000+ta[1]*1000;
, G' Z# C: c# J$ A" g return time;' l. K0 L) A8 O) _: X6 Q
}# z" w0 H+ J% f2 L- Q) g9 z& u
var preTime = 0;
% e# Q1 h) f! _4 v9 S. c8 yvar nextTime = 0;
) f" e& Z4 w& h: _" r+ Dvar currIndex =0;0 g5 E# M# J }: X/ n% J& J* I
function lrcList(){
5 z5 t" \9 f2 G3 y [& }) p var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
- h) m( K. s/ N4 R) i$ Z s = s*1000;6 Y/ e. O! _+ T0 w
if(s==0){3 {2 m) N3 C( H0 E/ A
currIndex =0;! O. W# ]8 v- f6 L+ W9 J2 h8 W+ h
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
+ A. g5 T! e9 a" [7 h- M& m7 Y6 _. x for(var i=0;i<array.length;i++){6 A5 J1 D# S# P) e2 {
document.getElementById("lrc"+i).style.color=colorNormal;7 i7 L6 K$ k- r5 F7 c
}
5 c+ | N3 P3 \* o9 h" r- ] return;
2 L3 @0 l0 f/ X) t }
2 Z m& K* {& V( z if(s>0&&currIndex<array.length-1). A) ?/ _9 r1 l1 J: h# H
{
. b9 l& h* S# |$ j( b, k( t preTime = array[currIndex].time;
3 `8 G' ^3 X+ _. H( c 6 \+ J& A3 }2 r) z3 N% ^0 G
nextTime = array[currIndex+1].time;
. _3 W5 K3 ^5 C) @) Q9 `
b2 P2 f2 x& R5 R) N7 r: r if(s>=preTime&&s<nextTime){" f. F: Z# v+ [8 |1 c5 H2 D
}
% H, g$ e t" X6 j$ a, }6 P, f else if(s>=nextTime)# `2 e$ ~; |% u0 H
{
4 G9 H( X+ H& s# U; y document.getElementById("lrc"+currIndex).style.color=colorPasted;5 l G0 s* s0 d" _" P
currIndex++;
* K) i$ p9 l4 ], T $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; D( f- b( |1 Q& ?0 ` document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 |& r M# v6 M$ R/ s: x lrcList();7 H- o/ D' W) p) m- d6 w
}. G* D/ ^! p, f) A. b
else{
( T5 G8 S: H! f0 r8 e6 P. g document.getElementById("lrc"+currIndex).style.color=colorNormal; z. ], ^ S& V# R1 `0 B. }
currIndex--;
) r9 m8 Q3 T' m1 y7 @ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
5 W: Q/ g+ j! G/ ] y1 [2 o document.getElementById("lrc"+currIndex).style.color=colorPlaying; S: t: ]/ V, b3 Q7 x
lrcList();( [! g! ~# h/ t) U
} + _# q) R# {' D6 I6 d
}. K1 `, Y, z. e2 I! z; o. O7 m* V( ?
else) D5 U8 E) n, P! W* }8 `
{
8 h: x$ G/ N; e: n if(s<array[array.length-1].time){
. o( O( R7 z0 i1 V currIndex = 0;4 b/ R7 M# A1 L! ]" Q5 D, R
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 p0 F! y! P+ M& F7 j5 Y v1 o for(var i=0;i<array.length;i++){# ?6 p+ S2 e8 f# Q+ e/ g: B9 D9 [
document.getElementById("lrc"+i).style.color=colorNormal;
! w7 F3 |1 g0 { }- l. V2 {' W6 Y H2 |! l( B/ H' V
lrcList();& ?4 O+ B" Y* X! B- |
}1 U* `* y1 N: c/ S% s* t: t. u8 }# [
}/ w5 H& _' x/ _# \5 M7 W2 Y. `3 v
}
( Q! J1 ^7 v. v* {# e</SCRIPT># U( Z$ C5 z+ e' E7 ]$ E" y w* i
</DIV></DIV>; B6 y1 t: |: |& R5 B/ I) g2 U
- R% X8 O% P) S. x' P[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|