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