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