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