|
|
<DIV id=list>
' S% C+ k1 R t* `<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>1 d X d! D" |' i; z# l
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
5 e: u( w) d& o! [5 |<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
. S5 c/ J0 a5 K' f8 C) }3 d7 @<DIV id=lrc3 style="COLOR: #666666"></DIV>
7 T. T1 W4 A2 C: S7 E/ S0 @) r<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>+ O& u1 A$ M# w' D' }* K( i3 L' D
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
+ h$ E! N8 F6 A+ {) I<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
; l- I3 r `/ s1 @<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>2 _$ A" p, O' [4 R
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
Q. ]- k* u: m$ z: { g- U<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>! l: t! R2 x) B+ }6 x8 U
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>0 R7 Z( M8 e- A v
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>8 |# A: R% L2 M
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>0 B% {' \' \& z- [. p
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
! Q" P3 C' _ U% G3 v! f# `<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV># t9 O6 Z7 }4 Z( D
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
" t ]" }. s5 K( I/ P6 V; A9 n) H<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV># _; M# j" n5 K9 v! w. Z
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
& D9 x5 Z. d- |- T3 |2 {5 r<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
) A6 M; l4 T: u2 x! }<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>; D) u$ h1 }4 ?
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
7 K- n( S/ p7 k$ Z: W<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
; s) z1 K' p0 ] K) [" o<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>+ d" ]- f$ l% I1 F
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>' }- _! l: K/ f% P
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
, e# w* ?' I* c+ N<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>* M0 K+ D" R# h
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>3 M7 Z( P9 y$ m% s5 ]' ], \* X: h
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>5 ]+ G6 M" t* ^' b
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
2 S8 @ I; j" B2 {+ `' O0 m( A* k<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>1 ~ O! J( J' B. L( @9 l0 Y5 c
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
' X8 P1 A' ]1 f5 r<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>: ^# K% ~. G% P+ X2 Y7 A
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- A) O9 G8 V) B
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
n7 ]2 O6 \ M* @$ `3 w<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>- @. V, B# D5 u, R1 M
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>; ~% K& ?2 x( E& J( x
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>' r3 o' y/ t, z9 l+ a x
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
& }( ]0 z. n( a8 k5 C* f) h<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
8 e5 Q+ m# y9 T) I" Q/ ?; ~<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>% y8 H+ b; A r. x! w( c' e! K
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>* s: q! u5 u1 t0 [
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
) E) ~% ~# q! b6 R2 ?<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
9 N) S5 w' @1 G" Q. G! V<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
/ I; ?4 j t9 X( {4 v, y) S<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV># r/ q- y. d4 b# F7 T' a
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
7 a' R$ Y3 c% O! Y; t<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>. u: C. J4 p1 k) J
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
! o# a; @9 C) N<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
/ _3 O3 t2 c# M9 ]1 H. \<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>$ I# _9 v, K0 {
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
0 n$ }9 D- Z8 o5 H<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>! ^' o) b! W$ \- V' t& O- f
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
# D1 {3 N* {. N& @& Z# d k<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: s0 c& Q. t' Q+ o4 c<DIV id=lrc style="DISPLAY: none"></DIV>6 c5 a9 V8 X D9 e: G5 A: j
<SCRIPT type=text/javascript>0 E( `( w6 s2 V& W& H
document.domain="1ting.com";
W- j0 G m" f2 k8 Gvar colorPasted="#666666";
X% A$ w8 m2 X6 Y- T/ Tvar colorPlaying="#ff3300";( X0 j8 k# ?) ?9 w7 \$ k" q
var colorNormal="#000000";
' d$ @5 k1 F4 J$ = function (a,g){
6 g: D4 }# j5 I, T var o = new Array(); ! A/ |+ U$ V8 i( @) _" R! t) H
var c = new Array();
: ]6 z. Y. p3 C1 ^4 m' Y2 e& U var r;
0 H# A) B7 W; U8 ~, U; _ var u; " t# P' h f$ N0 g2 T4 n2 c
var a = a.split(';'); ; d1 I- M0 w$ ^7 S2 D
# g$ T/ a m. }# z8 p( ~6 K; ? var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");% q' M: Z( T+ l2 ?7 u
for(var i=0;i<e.length;i++){
# [3 O4 P/ c, h6 V2 t8 h! B0 o9 N eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")1 C% a5 a! K' k
}
6 p) Q3 h8 K8 k S3 L0 ]4 H& _; P3 _0 p' g
after = function (t,d,s){
5 [ K! T1 d9 T4 P I' D $after = function (){. x2 N' u3 }7 k; S; |) I9 F: F
var $n=document.createElement(t);' y |! E ~! `: I* o+ j7 y1 C0 P! o
if(d!=null){4 v: G. s3 N' @
$n.id=d; 0 V* T4 ^ z( P* w0 v$ x
}" ]+ W. X. a1 Y1 B- i
: \8 c$ I7 w, S7 x; | u.insertBefore($n,null)
0 f8 w6 G4 T7 W- u/ ]& L r = $n; ! p0 l( v$ P, f$ {# V
u = $n;
5 |2 q3 _* g3 w8 g' w9 F8 [ }
$ h1 M" c9 X' r: {/ j0 `2 m6 Z $for(s,"$after")0 \4 [2 g1 v7 Z
}
! z: J: F9 M) \" }: J" r; s' V7 o( {8 j6 F2 a! u9 x- j+ O
show = function (s){7 ~7 F0 m ]* d7 q/ P9 g: _
$show = function (){
" ?% T/ M( V! N6 C& U0 q% L- v u.style.display!="none" ? style("display:none") : style("display:block") ;5 N! A! ]' x' c
}
+ `5 z: }) C5 c; z7 d) ~3 f8 w $for(s,"$show")
+ C- ]- r3 _9 g' u3 } }) e9 q4 V+ J: q/ I
& @& a1 s6 b% U$ m3 r check = function (t,s){
4 }, j$ v, Y; P& W) o$ d6 k $check = function (){8 `; H) w8 m) A: M" T! |( E
if(t=="2"){2 e4 u, S1 L3 s3 }- j2 h8 p7 [( F
if(u.checked){0 L' |1 K+ d* v. E% X
u.checked = false;, \& Q9 N0 r4 B# H. Q
}else{
1 e4 A0 l1 q2 B% l0 Q5 e u.checked = true;
5 B) } E: X. x }
/ s( ]0 h0 ?: n; H; O }else{6 ?5 m, p$ T, X E! d' e% y) g$ @7 N8 J
u.checked = t*1 ;
. D8 E: n$ V% i" X5 j }
' s+ V$ S2 g/ P }
% z5 I# g7 a2 g2 i' i7 w $for(s,"$check")- [- |- W$ Z x7 J9 I
}/ c6 H) |& G: a
* \8 ^. n+ B/ Z% k( |; ^
style = function (v,s){
! H H2 ]' T/ W, T/ c2 R5 d $style = function (){4 [1 F ?( Y4 ~& U( T3 T
var $n = v.split(",")
' T) f; l% k( d* t# A for (var i=0;i<$n.length;i++ ){4 `% a5 b# \7 F
var $m = $n<i>.split(":")
! ~3 o- P+ E1 v: O$ C eval("u.style."+$m[0]+"='"+$m[1]+"'"); h6 i' x. H7 N g; |: O5 R
}" N1 h3 Z+ o: M6 h t$ [5 U* A4 I& N
}
& A g8 I- p6 h3 `- G& z $for(s,"$style")8 w4 h! N3 U0 n* S% E5 ?: s
}
7 C* d6 Q# R7 ?0 J
V7 r5 a4 C5 l; ~8 Q value = function (v,s){3 n- A+ d; m+ z# ^* x- N, b" }
var $n= $this (v);
8 n/ z4 l, v6 P% O' i $value = function (){3 @" m4 p+ k* l p
u.value = $n1 f1 u, I. |' R5 V9 [/ m9 C8 V7 |
}4 I# y) a+ ~+ {2 ?$ q
$for(s,"$value")
7 Y. z) g* ] P+ E }
# U, J9 X* S6 E; q6 `
; X( }9 g% {5 } text = function (v,s){, ]+ z0 L9 Q1 s7 _% L1 @+ N
var $n= $this (v);. x7 X0 k/ B/ V5 U3 {
$text = function (){
i5 A8 V( A/ |3 [, E # ?* r& i0 k6 \
u.text = $n
4 P1 k/ W r$ m9 i/ @ }4 D4 `* I8 d0 p4 W8 C' E- o
$for(s,"$text")
! _, @3 ^, ?5 C% A }( q2 Z0 Q# M# F) N: g! F/ Z
7 [2 v3 Z6 ?+ r* y9 T# L innerhtml = function (v,s){
1 B5 \5 z! X# o0 z% v var $n= $this (v);$ H. w x3 V1 _7 k- J
$innerhtml = function (){
( ^$ U* e# F4 c u.innerHTML = $n5 B# P3 Z6 d8 z, M7 _! G
}
9 \7 |7 g+ a3 `/ f* ^ h $for(s,"$innerhtml")
9 {4 y* J# z$ i. ?" c }
4 F5 \! {$ D* ^% ^2 l
; w! E* w; ?: ]$ l e removechild = function (s){# s3 g7 W, p! P! R
$removechild = function (){
; c6 W* g! F8 o. j) D- i& l/ b& f u.parentNode.removeChild(u)
+ ^& U+ B+ }& G/ p9 f% K }; }0 U4 g2 `, M6 \- K# A( c \: T8 C
$for(s,"$removechild")
& V; v8 ^6 \( Z' f& E( R" ^ }8 a \7 l' ?" ^( {0 h5 R
8 j6 C. L2 V0 c* j d1 O6 p1 | $this =function(v){# x0 u1 z& N, l9 g5 l
if(v.indexOf("this") == 0){+ I% m6 e% C6 D1 m# u; S# l
return eval(v.replace("this","u")); ^% W" F" b' x( h6 F* n
}
. Q2 v4 f* t9 @+ b return v;' ~) N' ]* N1 b6 I! h
}1 z. P# p# j" H" R$ f% G; G9 N# m
$ _, b7 O% I7 W- _, I $event = function (s){, t2 P) `# g* g" ^! j: ]
var $n ="u."+s+" = function(){$work(this,s);}"( ~4 i+ Z% _$ d- Y* x2 x
return $n;
( ?# W' p4 M) r% n }
- z) z* y7 M& h- H6 y
: u) z' \' |4 \7 u. t! Z: @ $replace = function (s){
# n$ R- T8 x0 ^5 A! J3 ~8 g* m0 v; S' W! ]+ S. Y/ H7 b
}
$ V+ T/ K/ u: L$ w9 K; C$ ?
! b5 g& R! L: A' Y) r2 g $for = function (s,c){' t: d! O& {: ^! T
var $n="this."+c+"()" ;" _, ?% {/ t/ D4 Z7 w n
if(s!=null){
4 R, D: B2 r% \- C ~- m& M/ Q* G var $m =$test(s);
# {* x. }0 n- W! d for (var i=0;i<$m.length ;i++ ){& J! G, q+ Q0 L$ ~8 A0 o: H l
u = $m<i>;
% k P1 _- V, U ^7 I5 A/ V eval($n);
/ q% V0 A+ [9 g6 R }1 R9 ^) N0 u2 i& E b3 p' `. r" {) w8 V
}
& Q1 Y4 y, ~8 F, {5 t$ Q9 E5 }4 X else{
; t& y2 y; {! F) g4 d { eval($n);# a0 K2 f/ k& w( s
}
% B& O2 O9 I1 y+ M& J; N0 v }
9 p6 ^* E$ p: u, r. ? 2 W) Q7 ~/ J/ e3 ~" _( k5 g
$test = function (a){# A, l% g4 m% _6 p9 E
var o = new Array();$o(a.split(';'),o);1 N* b @# `' \- u5 M0 _( U
return o;7 n- Y# m9 p; m5 e j
}
( |( Q' I: M# R4 @
3 x3 {5 n* |1 ^) g* N5 i( C $format = function(s){
/ n' z- T S# l3 d: V while (s.indexOf("'")>0){
9 l$ b0 N! V. [5 R* C q/ Z+ n s=s.replace("'","\"");
* P9 d; N! o* M3 ]- d1 j6 P, y! ^ }
" _; F! Z3 W0 q; o- g while (s.indexOf("][")>0){: V, n# v- v! z3 v% g" K. p1 d
s=s.replace("][","','")& V0 F/ k* n* w' S& h# B7 z8 [
}
0 V% R4 | o! I0 I& ^# R: k7 n while (s.indexOf("[")>0){- D" Q) I% U1 m* X* g' B
s=s.replace("[","'").replace("]","'")7 `8 I' ]& x; q' A4 M' M" ]
} 3 Q" x& J( `* N) e
return s; ^9 V3 ~9 K0 `# ^& S' X, U4 l
}
! \( |! s+ @4 \" k$ w) g) S! G; x
9 o+ w7 I! I4 q3 |2 p8 x $work = function(w,s){. w/ f5 c" B4 D7 Y
u=w;eval(s)
) V9 b! C# `, k5 b, l }
5 V" B2 T: H' c9 z; o% B0 L7 J2 F: ~( O B% T( D6 Z3 d
$id = function (s){8 R5 X- z# f, Q
return document.getElementById(s);
. c2 v( }; i; L+ ? }2 |# D' V% r; H1 W4 q/ `
& y, [& ~& S; \/ @ $name = function (s){
6 r+ x) u4 t& C return document.getElementsByName(s);( \; Q2 ?% ~$ p+ v9 L$ W; |
}
; D5 }0 C( o+ y' d, X$ v! h
* k! C7 k7 O2 q+ r+ I $tagname = function (s){( U8 a! v) H, ~/ S9 v4 m6 s
return document.getElementsByTagName(s);
# L% j( N8 d i! { }+ o3 _% J: H# `- [% {# a! x
5 X* O% f- F% |6 u/ f2 d# b
$o = function (a,o,c){
+ l, _& F" p0 Y3 R- d1 L $push = function (n) {
1 f! `! [0 |, }, R. S for (var i=0;i< n.length;i++ ){( ^. c" c8 X' S4 p* z
o.push(n<i>);
6 b- R, i. r4 X4 g* J9 p } ) W6 ^/ S% h2 o9 J
}( g) ?3 j7 [& y) ^1 z" r- V9 _2 p
for(var i=0;i<a.length;i++){
: J7 ]+ h9 H& l( P7 d: @1 F if(a<i>.indexOf("(") >= 0){1 p. v# h$ t! G% } U j) }& c
c.push(a<i>);
8 H+ A& ~& w. i5 s1 X }! @# j# r* ]6 Y
if(a<i>.indexOf("~") > 0){
* L/ U& U8 v9 Y; `; x' o try {( @5 k2 _$ p( w( e
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));, j) a) T# n$ ]9 F! E( u! h" Q
}catch(e)8 U$ x! w5 D }: S6 Z& x
{} $ ]' T$ B3 d4 d4 f. L
}
- y7 R$ ~) {" f4 s else{3 `* t- T; @) s9 d
if(a<i>.indexOf("#")==0){
' p% I) e+ W: v! G: [5 h o.push($id(a<i>.replace("#","")));
: ~! H( p" ^9 y; h3 O, I* [0 m }1 q' l* h+ s) Z' B' t* `2 q
if(a<i>.indexOf(".")==0){5 h* P( D' L& y7 r2 }, ]
$push($name(a<i>.replace(".","")));: S7 T, F% v- p+ ]1 z* l
}
4 O! A A* q5 z2 M, ]( s if(a<i>.indexOf("@")==0 ){
% y+ A1 k( q3 n3 J$ s- O; V' h/ [ $push($tagname(a<i>.replace("@","")));: l) l- @4 o& F
} F( D: @2 B; C9 m# ^- A6 Y
if(a<i>.indexOf("*")==0){
- X5 n# E; Z; ~( c; R $p= a<i>;
3 t/ a' L' Y; L- L: t' E" x2 ^5 e5 t if($p.indexOf(".")< 0){2 ^1 U) Z, I# x
$p = $p.replace("parent","parentNode")+ p H9 C$ H, l8 n% y1 E
}
& t2 h$ U4 M' W+ Y6 d j* W var $p ="u."+$p.replace("*","");
/ u) ^+ n+ a/ w1 Q% Y) S while ($p.indexOf("parent.")> 0){
3 ]/ Z/ C" e3 q $p = $p.replace("parent.","parentNode.")3 ]: J- b" \" h/ L( G7 `. W# r
}2 ?! J- L0 t5 a, U! t2 O
while ($p.indexOf("child{")> 0){, X# f: F$ d2 w$ i% m7 @
$p = $p.replace("child{","childNodes[").replace("}","]")
5 K: E* ]/ K2 G! [& W }3 r2 I9 ~9 \( a2 i, Z* X
o.push(eval($p));
# d' S* E7 U6 F, S" z0 U; M# }9 k# t6 U }7 n" ?6 d! z) _( u
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
0 f- S) D6 g/ L1 s( E o.push(eval(a<i>));
R) T/ I8 W1 A. k. o3 ^ }
- A+ d, W! X1 H) G1 C Y* M& t }
, F2 e0 {: z* Y, @) K& T3 E if(g!=null){
: i4 Z3 R& B1 [: _, K% `$ A; m6 ?. C o.push(g);g=null% \* K3 O* [. m' h
}
( G, ]1 V7 U: X, w- u2 d }$ ?0 `9 m/ |9 d7 @1 b
}
* t: f! z2 G' Z% I9 s! R" x4 r, b* J( {- V# n
$o(a,o,c);
' ?" R8 c$ p5 U4 r: [, P
! |- V/ p+ `! a0 P for(var i = 0;i<o.length;i++){
4 Y# ]& L a: Y; \; q) z for(var j=0;j<c.length;j++){
& P4 Z I, X' E3 [/ q u = o<i>;eval($format(c[j]));
. _. }4 B2 b3 g }" W/ |8 S7 p: S8 \
}
# B" n- Z' u. `% b% o; O% B- L/ v# v) b' T. M# M1 [2 o
if(o.length == 0){ ?; C! P# \1 s6 F9 B) L( K! ~
for(var i=0;i<c.length;i++){
8 W- \5 C" Z. K2 S/ y eval($format(c<i>));4 z y" J3 s1 X* X( {
}& w1 \2 h* S* u0 g, W0 _0 e
}9 u. C2 R$ q2 w
$ @0 K& H7 U2 c W. ~) C$ g if(r!=null){# }0 u- F6 C/ k- d- x/ _2 e
return r;
- V; o$ W1 Z" P [! ^* h+ \8 ? }
# s n6 X. i0 J" [/ A4 X3 e 0 z! u* i& o- H" k
if(o.length==1){. n: ]; e. w }7 N
return o[0];: \# v. A, a7 t
}
$ _4 K( J- G: l9 f) G/ V( _ else{
. }+ B7 ]# w- }* |. v return o6 w4 d6 d9 k: d
}
3 ~" C+ c- T4 }0 d: V) m" g0 u
9 V: y" D. [3 c) _7 V6 Y4 k1 G }
1 a7 w% I9 D2 }var lrc =$("#lrc;show()").innerHTML.split("[");' P K, |" W* n
if(lrc.length>5){1 W- Z" P- Z; @4 Z* J$ u; ~
var array = new Array(); C6 X m- i0 N; E5 e
for (var i=0;i<lrc.length ;i++ )
! ^7 p$ Q$ a( m1 H" M3 E: F' Q{( g( g) ^' ~, r; y' h: ~/ e
var g = new Object();
$ h9 ~+ [ x. ^3 w+ S) Y# g: H2 z0 e t= lrc<i>.split("]");2 {; ^9 a' G( {1 v0 O/ `
g.time = getTime(t[0]);9 s4 V) K4 Q: B8 ^
if(isNaN(g.time))# g% d+ w% Q* ^+ D p+ Y5 ^
continue;$ _5 t: |) t4 J* n3 ?8 H' ?
g.c = t[1];; V8 x+ W% a5 o7 c4 g! K
if(g.c == ""), ~, k' {/ k. m; J' V. a$ _
g.c = getNext(i);
8 ^/ t" a& E* j# W array.push(g);! z6 @6 ~0 L. L
}
9 b' N: W" S; w- Rarray.sort(function(x, y) {
7 W) D* Y+ N$ X) } O% U s% @ if (x.time>y.time) 9 R) [1 S0 g$ b3 [% C5 [
return 1;7 i+ }: Z A; q4 C" }, |9 c7 \
else if(x.time<y.time)4 Z4 @. Z. D% i7 P9 _
return -1;1 X$ `2 r L# w1 n3 F
else
. }9 P0 A4 {6 X5 X return 0;( x" O( q% S- u
} ' ^1 J3 |9 g0 A, w
);
# j, J( G. F. x5 D1 afor(var i = 0;i<array.length;i++)
/ h% A- B8 ]# T$ ]/ h7 }{
( X" i/ G8 t9 k3 X, M( l9 f var g = array<i>;
+ l1 _3 w6 R/ X) u, e! ^ if(!g.c){' G3 E8 u1 h& R' ?
g.c="";
+ i' Z7 T8 L2 O# ~* U. r }
8 |1 [' q$ \7 P# t+ ^7 a# A( C $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
# q% U2 O k( y}. X' \( c$ C6 ^0 b
var time = setInterval("lrcList()",500);
4 O$ {! c/ \- @' ]$ W}else{6 i$ E3 l' I+ ?/ c" ~8 n$ a
$("#list").innerHTML=$("#lrc").innerHTML;) X) t: j: m0 \+ ^$ O. z3 y3 B1 y
}
" x. E, W! X0 afunction getNext(i)
: w/ W* d0 \" `! @' T{4 w1 z8 l7 K) E7 f/ r& K3 J
var result = "";: D% N) p# V% _$ W9 o
var i = i+1;
5 _* z2 f+ v+ q% `, ? t = lrc<i>.split("]");" L; H" g+ {$ y6 L
if(t[1]=="")8 R- z8 _8 K6 _
result = getNext(i);
4 j! {9 Q' W( f! G3 S. t else% [4 q8 D8 ^! a0 Q( |0 E
result = t[1]
; ~/ G9 V% b7 u( Y* E return result;
( M- c' D$ p l# B5 \9 V1 d' H}. Q, Z( [7 M4 c6 m( u3 _
1 M) T( ?9 X7 \% U$ r1 }function getTime(str)) W( q5 j! E7 S$ ]# W0 g
{; T1 E- j7 A$ X/ Z
var time =0;
+ G6 E2 [! x; c% x* m" s; x var ta = str.split(":");% {6 B$ I" J, W) L
if(ta.length<2)9 ~$ u! @/ E& g5 I, |/ b
return time;* v% `. K( @' ?* S4 v* r$ u0 s
3 P% t1 q& E. S$ b
if(ta[1].indexOf(".")>0){8 _ h" h4 H; _" Q0 _; w8 u
var tb = ta[1].split(".");+ ?# Y1 x, z. H
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
5 R# {+ u& y" u- E1 f" f }
9 T$ L% {' R8 X y! p else, s7 v! W Y: G6 Y: `5 t3 O
time =ta[0]*60*1000+ta[1]*1000;
* S f4 H2 C" C% d6 w; K return time;4 R; ^2 U4 P1 @
}
( ^( N$ G# M, e [8 F2 Ivar preTime = 0;
! V$ E+ g3 L; E dvar nextTime = 0;# H+ d `) E/ o# h: D. I5 B, v% s
var currIndex =0;4 K) |5 I( i# I; ]8 j9 }8 U
function lrcList(){1 J. l+ ^! W6 `; h6 j
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;/ c2 _+ q! [) c$ Z/ |" S; {
s = s*1000;/ F+ Z% n: b/ \8 N4 z$ i# L- M7 k; e
if(s==0){
, Z" q% i x' B: u7 M currIndex =0;7 w% q; F* H5 p. `; A3 G
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ d% e5 f; e2 ]
for(var i=0;i<array.length;i++){
$ Y6 e% s- v& ]$ F& x document.getElementById("lrc"+i).style.color=colorNormal;
% q- Q- @# U3 I B6 U7 u }
. E- x5 g" `/ ~& ^5 J( [ U return;4 Z$ b. [3 M _/ q/ u* A
}
; g8 @) d$ y% e* l# C if(s>0&&currIndex<array.length-1)
/ K$ g# d: _& w' g" |- a8 _ { " j% k* O( ]8 y: R" @, G+ l( {
preTime = array[currIndex].time;
- j2 g' w7 t/ g+ Q7 H8 ]
9 O4 I V _2 `, X& A nextTime = array[currIndex+1].time;0 Y4 o3 r( @1 N* G
4 `! q3 i9 s6 s. G2 y, Z" _ if(s>=preTime&&s<nextTime){" }2 I7 T+ B. N2 B' p9 h" f
}, h5 x, M! C' d2 `' `) W* b
else if(s>=nextTime)
% t# v# [3 }0 s0 x {, ?' d* h d: Y7 H" N- h/ A6 F
document.getElementById("lrc"+currIndex).style.color=colorPasted;
+ h: |- u9 E" H& l* x currIndex++;, ?! L9 H" Y9 p3 u% s I5 J
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; V9 L0 O9 j L! N. U
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
* [6 ]3 l8 q. q" P8 d: b+ A$ H2 K lrcList();" ~. ~0 A' _/ x4 B# Q0 V
}7 R! H' G) h$ l/ K* W# c
else{1 k7 B: S/ y! b+ Y( l0 E
document.getElementById("lrc"+currIndex).style.color=colorNormal;
* e# t u9 j& Q- @7 t4 X/ t' j currIndex--;
: ~$ o- d3 @4 c& [+ A. H% w $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 Q+ `$ a+ A4 R2 M2 [ document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 N5 L& W& Z3 T' [9 L5 [ [ lrcList();3 c9 A- {+ h$ u$ z, o& N
} ! R( D: c4 J5 [: \9 o: r
}
/ _3 P; R7 D! i* ` _. N, M) H5 ~ else# {: |7 j3 E3 Q- Q5 E. ^! \
{' ^0 G1 a+ J, R! ~4 W% W9 z$ W6 Y& h
if(s<array[array.length-1].time){; c2 M7 l9 ?/ v; v9 M
currIndex = 0;5 f4 w4 O. S! Q( H; y$ S# S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 k8 C8 @0 w" @! t1 l w! L- c# q( ?
for(var i=0;i<array.length;i++){
( M8 P1 F7 J% g2 K! J document.getElementById("lrc"+i).style.color=colorNormal;
% d( }* J' s# x$ |0 S4 p4 T }( U! R& l4 U; }! J# R) x( g% s
lrcList();
' p4 r, N! ?+ y8 b8 ~4 ~6 j. } }2 w8 W8 @/ V. m
}% y* [5 y9 H# {9 L
}' X. K6 v d0 J3 @& @' N
</SCRIPT>" \/ S# ^9 |+ N5 u
</DIV></DIV>
( C- N) W% ], |- Y+ K* r4 i/ q' a0 z" V, J# Y- T+ W* m# p
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|