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