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