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