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