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