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