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