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