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