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