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