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