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