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