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