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