|
<DIV id=list>$ ~$ q! N6 O4 M
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
, B( G- n# k8 J9 F7 L L# x<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
1 O, B, O4 D- n- e4 J<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" e4 T# R: C. ?5 g( T& ^/ F<DIV id=lrc3 style="COLOR: #666666"></DIV>
7 U$ D( I) P0 m0 T5 J8 A<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>( y+ s; \# G7 ~, e, f
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>2 p$ K$ R& j- e5 ?9 l' d2 ?/ g
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>2 Y5 K& z" a9 L* ]" Y9 d& v
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>' O e o) H9 B9 ]9 A6 A5 W
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>, G& ^9 X, E* p9 A2 @
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
4 @- u2 [) o0 j+ L" @0 a<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>4 w0 I) c( @# O0 N
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>+ s& j: z6 E& N( T: c
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV> ^4 u5 B$ F- Z2 H# ^
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>0 \% z; ]- G! Z, n: W
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>6 ?- F* p$ A: A; I" @6 P
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>, C+ U. Y0 m$ I; t
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
5 n0 R8 @, X3 m<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
, n! s4 P3 j) c6 \1 L) M ]# h<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
" F, l' i# D/ D: x! ^8 F2 l2 n<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
n1 ?# ^- P. Z1 L% j6 T<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>6 k' M. \# l6 q' |% o# J
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
) U' k& x$ i+ `- R+ m! L. v<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>( `% q8 ^* J) t+ z' Z7 L M
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>: S' @( ^, s& d8 Y( f% G& w
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
: C- w* O1 _5 `1 Z<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
" ?$ \/ ^7 d$ G. }<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
2 r/ c, ~9 O( h6 k% d% c<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
2 V9 y% _; _8 T0 t<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
# e5 s. i4 L- c/ m& ^<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>- }2 x+ F. \+ X* z0 T3 G3 g
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
1 r) t' T( P; k. R6 @<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>7 E* z8 l- T* O) {8 o" |6 k
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
# I H$ n3 X2 I: S8 Z$ B<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>9 E$ W& U! J; P/ L. M' m K `( g5 t+ g
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>9 M6 |2 ?- r0 \' ?6 m
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>, `; f# S; T j3 F
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>8 t5 c6 m+ U+ M
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
0 d) Z4 j `9 d<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
, h5 W6 G! n5 A7 G<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>9 w6 b5 c* p) B* u
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>4 a6 r/ w- L' g0 e- C4 ~+ m( D
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
, u9 a. I5 x3 l, o<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>1 G8 d ]5 s. g2 [
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>' d- s0 v& `" B+ m6 X C2 y* K' N# i
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV> l' o- q( g( d. u
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>) D7 l" L; V% d0 ^8 I7 P/ j' |
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>4 L4 M7 b- R* }
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>+ P- Q/ Y* E4 Q" N; P6 B* W% b
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
* M# \8 G+ T' p5 A! v' C<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
: [! O# D; f, h5 H P# E6 i7 e6 s<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
- g0 v6 ?/ @0 a<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
" x+ U! Y/ }1 ]$ Y+ Y<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>. f0 V4 }$ A E6 j5 e
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 / g- b* ^( B5 L
<DIV id=lrc style="DISPLAY: none"></DIV>9 H. h: W4 v1 h
<SCRIPT type=text/javascript>0 W2 s0 s- ?' I& M4 W0 G l1 @5 o
document.domain="1ting.com";. G, P7 _; K0 V0 ? r$ r. i: i
var colorPasted="#666666";- E( [! X0 [. c" o0 F1 M
var colorPlaying="#ff3300";
$ B8 {* B( T4 h" d0 c0 svar colorNormal="#000000";
j Q/ a) W5 W8 X5 _0 {$ = function (a,g){/ O; m4 y/ N. g9 t4 s: }
var o = new Array();
4 D Z, @, \5 T" ~ var c = new Array(); 4 X# x$ p% ~& V9 k* l
var r; 8 w( `, [6 _0 o& b G! D2 G
var u; 4 N( ^/ E2 _: w$ @) J+ `4 L
var a = a.split(';'); 3 R0 \& H. @7 T$ E4 _" i1 |
3 j! y i- X2 b$ k
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
" y4 m7 I: D+ M I for(var i=0;i<e.length;i++){: `4 r; b5 `- C( }6 x; a/ l
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
3 q( U3 G8 `* L2 D: s& b7 A }
7 Z' o- {! d5 [( U; x% z6 @* W2 w% I# O+ x6 n6 V
after = function (t,d,s){
, Q6 `" T3 N D1 Q! A $after = function (){
( j' T: s( p0 h8 ~6 A9 }* y var $n=document.createElement(t);
- P; o2 t U. W- [- l" M if(d!=null){
I: x4 ?6 ?5 f $n.id=d;
0 w m; {/ d! N& { }3 N( ]3 N$ a5 G8 K
% _' m# T+ R7 D$ ?8 n4 l
u.insertBefore($n,null) % v& ?& P7 j, n" ^' A4 k
r = $n; 6 a+ [% G4 f0 ?. m: n
u = $n; & M+ f* P+ i4 Q7 X4 E
}% ]. a+ D5 _( k
$for(s,"$after")
7 Q% U5 l2 \8 x" K" ^4 D) o }& H' M) | U* Y# U7 q
& P7 T8 B, d) s! u5 M/ P show = function (s){
. f1 t; x9 C5 d, K" m: h $show = function (){0 \' i7 j8 N1 X; J: p0 i/ n
u.style.display!="none" ? style("display:none") : style("display:block") ;
0 H+ B+ j1 R9 u, V) @% Y4 B }
3 v6 P" Q _0 j% D. B9 x $for(s,"$show")
+ Q, k3 n$ ?# X7 D) A9 b& C }- {& |2 Z) t9 a+ A& E. w
, t) J/ I! j& f6 \: T4 X; R check = function (t,s){
/ p" Q s, [$ Z' M $check = function (){
0 }, J: n3 Z2 t; s: C2 \" h if(t=="2"){
4 o7 Y: T/ b5 F/ p if(u.checked){
L( `* s* P3 `$ O" u u.checked = false;4 r: e3 }3 H5 v# l
}else{
- C( k! B3 F( S; O u.checked = true;
6 d, ^, Z' ?+ v# F" Z. o }% g; c% }- {. h8 T; g
}else{8 v/ F. Y. \8 n0 o
u.checked = t*1 ;2 D: m) T+ A) a+ H. o
}8 z5 c5 c" B& z* j
}
1 C* D7 N+ k% `& S $for(s,"$check")8 q/ D0 t3 u L: s! U; w3 c
}
0 l4 `; K( z$ w7 ?
% w6 H- G9 X5 z M; S style = function (v,s){
! a" s" g% o" \# I/ V $style = function (){
7 G$ ?7 q& t L& Q var $n = v.split(",") 5 R3 W1 c' O' E
for (var i=0;i<$n.length;i++ ){8 y/ N! s! D( p# Y! \" T, G
var $m = $n<i>.split(":") . L1 n( P- @9 a
eval("u.style."+$m[0]+"='"+$m[1]+"'");
# V. I3 o# ~2 ~% [) _% n/ a+ | }$ c" u2 `# S$ N2 g
}
0 L7 X: v8 m" Y7 x9 x $for(s,"$style")
: r5 r/ n5 K/ Y& M }
! M4 l$ J* s1 {' }
5 \7 F7 {8 t; E8 y value = function (v,s){
0 }; {* D; L; M var $n= $this (v);- n6 z6 K2 A4 |5 C; Y. [) J9 Z. [! O
$value = function (){
, l$ K% W. f6 R) ^" |' J( ` u.value = $n. \- P* c* |+ C9 l7 O. a! j5 y
}
% F/ T/ ]7 Y, |/ D/ h$ Y) Y- ] $for(s,"$value")
) b+ f L! c7 V# j }
$ M4 w/ ^0 O* P$ N4 ~. F
L& Q |) Z* N5 o text = function (v,s){
$ a+ w* h7 ~" q' k. i. u var $n= $this (v);9 Y& b$ T' i* q5 X6 W! M9 ` T8 e: i
$text = function (){* o$ N* V9 Z/ H0 C6 V7 A4 Z+ A
7 t! `# W y. S' ]* F6 v
u.text = $n
: X& ?1 p" Z0 e; M t }
8 e# h' V8 J( w; \, ]8 A $for(s,"$text") G" F v0 D$ f+ _+ Z+ X
}# H' \ e7 y$ }3 O' k( r
+ b L x$ [& e7 q. Y
innerhtml = function (v,s){ H" W. T+ h9 B( _
var $n= $this (v);
6 D/ ? y1 {4 N: K $innerhtml = function (){
1 W2 K0 r% l# j3 h u.innerHTML = $n4 M; g2 P$ N* ~# e+ I% o
}
2 s5 f* t% w$ u! w9 ?$ ~4 E: G $for(s,"$innerhtml")
. c* ?8 L) s# U: T8 U: k4 a$ I' e }
+ c1 m5 C7 A* R4 ?9 g( f, V
2 Z* l9 s. n. O; ?+ M b; K removechild = function (s){
$ M/ z! b8 `, K' D* ]6 A& a- B: D $removechild = function (){6 J8 g( o2 {* _9 R. J5 L. g$ o* `1 B3 `
u.parentNode.removeChild(u)3 E- u1 v$ R$ ]1 h- O& U
}
+ ]' o/ u0 k% }$ Z $for(s,"$removechild")% W0 W7 I* y" e: K; x
}& L9 K; |; D1 E, B
9 [! D& g9 I* @5 c3 h" _$ y2 q $this =function(v){
' \6 m- N5 w" Z, g8 D if(v.indexOf("this") == 0){
9 |- b/ R( }& \; j& n4 F3 J! G return eval(v.replace("this","u"))
" L) T* J* u+ R0 l# {5 j3 K }$ ]$ O( a" Q2 }
return v;
4 M* n9 i+ B' W" F8 Q# j }
% S4 {$ h$ v$ O. n6 \; x4 |6 ~) l2 O3 r- J
$event = function (s){
' w: I: B8 m) [/ e( W var $n ="u."+s+" = function(){$work(this,s);}"$ u$ @7 Z3 T. n5 E L+ R
return $n;0 E' |) J& Q3 A5 G$ n6 w: h0 o, ]$ S
}- d5 P4 n& Z: Y. P# v5 n
5 i5 ?1 t$ B$ Q $replace = function (s){3 z6 _/ _% N( `
1 }% Z& T: l+ e/ [% [/ w3 s
}. Z6 J w( ]: Q! g
5 K6 w% y; a# L
$for = function (s,c){' j! f# G `4 _; l4 v% [" m0 Q
var $n="this."+c+"()" ; D. |) F, \5 n; C( F) A
if(s!=null){/ s; K/ q9 u2 C
var $m =$test(s);4 i& a7 B/ e% } N6 J, T4 {# L+ k
for (var i=0;i<$m.length ;i++ ){
g$ Q, l5 X0 m! }, d+ V u = $m<i>;# c7 P+ w0 E0 ~; S& m I9 {4 d
eval($n);% Z/ F. K0 i, B. j# _
}
8 n! X& e3 r# J' G7 y. @ }
. G. I( G+ o6 d* A+ ?6 t* p/ P else{
0 |" i; T# X* z8 r4 b eval($n);6 E, J; O: I, `
}
x: [5 L! Y1 {1 B; M- _2 h8 l }# L, Q8 L {0 {' c3 T
* }6 ^- ~' l$ V6 B5 P( _9 E+ b
$test = function (a){% c8 R; ?% T; K3 W9 Z
var o = new Array();$o(a.split(';'),o);
/ L- l/ Z/ |0 c* k, [( K/ Z. a: L+ O4 H return o;
+ R) Z" N+ I% b6 m( i2 [ }7 m4 r) I: d* H( K! g U& p0 w
F5 n0 Q* ?$ k $format = function(s){
8 y& a$ n, i7 u while (s.indexOf("'")>0){
/ o- w% ^& `* ?2 g s=s.replace("'","\"");
$ e; z; v. f. R1 f }
" M2 B0 ~( v& `7 g while (s.indexOf("][")>0){% C+ h0 c3 l6 u P6 `2 p- D
s=s.replace("][","','")6 ^) K8 S- k' N! v. ^. F$ J L
}- |/ u9 e% [% h) Z
while (s.indexOf("[")>0){. v# J( v+ V0 R9 G4 a( _9 h; F
s=s.replace("[","'").replace("]","'"), u P- K# k9 `# ^6 ]# f& K) P
}
/ ^+ y( e* W. T return s;
2 m$ c, G ?5 D+ C" Y( _5 W }! V: O, s- t6 ^
. a* u; d- Z3 e; D $work = function(w,s){
, s/ _8 a/ W8 d# i- P u=w;eval(s)
# T" U$ B& M/ c* _7 A }
5 P c0 S4 ?& x: d( H0 ~
0 t4 U. o [4 k+ j $id = function (s){/ |: T6 G9 u, T3 ^+ }
return document.getElementById(s);
" I5 Y/ x$ U0 E" q* g }0 ?# _. U# c% ^# ` O, E
2 L8 n! @6 A n# z1 n- g& `% k0 [- ~ $name = function (s){
' i" z: C+ f' i0 T return document.getElementsByName(s);- l# ?$ r* {) o* z/ t$ m3 p
}$ b( K, G8 {- L5 v& c; |7 e
! x" I: |0 ^( X
$tagname = function (s){
\7 v) R6 I" Z, Y# {1 l return document.getElementsByTagName(s);. L9 B, M9 ^6 \
}
. E2 A" ~. l- x* c e
( }" ], v6 k9 S& }0 A' R0 K $o = function (a,o,c){
* M! Z* [$ r4 ^$ ? $push = function (n) {) B3 O7 ^; P$ F. y- W
for (var i=0;i< n.length;i++ ){
2 d& e h- c! P& r* P o.push(n<i>);
3 x7 \. { Q* I } ! I f$ f0 t& e. A. e' v t4 {
}% c- N6 Y) Y8 C! {: N. |/ H, m `
for(var i=0;i<a.length;i++){! d6 m/ a+ B \, F" n8 ^) D
if(a<i>.indexOf("(") >= 0){$ P* u. \4 M/ R; e# }% c' s/ s
c.push(a<i>);8 t9 E% Z$ d) }; p4 A0 r' D. g
}
; _/ `3 s9 h4 @) V- m( r if(a<i>.indexOf("~") > 0){1 Q1 W, D3 @. m
try {# ?( ~- Z( r) z/ S3 |, ^ W2 T9 D
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
6 n+ E1 [! v. X, }" X9 S }catch(e)8 n, `5 u! A# D
{} 7 e/ N+ \5 I$ ]
}
' A* _7 {' S z. I* D else{
! E; c* M! [& p; V3 ~* z if(a<i>.indexOf("#")==0){
- H4 M9 H; M' ^/ L6 z7 Q( O o.push($id(a<i>.replace("#","")));
! {( e8 h, @2 e' d: J }
. H) O6 b$ [1 t N if(a<i>.indexOf(".")==0){. @( C& ]; z2 T1 B i! I) N& _
$push($name(a<i>.replace(".","")));
R/ G- r( x8 E8 {. Q; I }
: d/ u6 W9 q% x9 M4 M8 i& E" _7 k+ F if(a<i>.indexOf("@")==0 ){4 E9 Q( V6 R F" S) [, W
$push($tagname(a<i>.replace("@","")));% V0 a( k4 E5 N
}
; u7 z! B0 P: ^ if(a<i>.indexOf("*")==0){' J9 Y* N, g) }" e+ y/ T
$p= a<i>;; \& P5 s& u2 D* `6 q% k& K
if($p.indexOf(".")< 0){
: Y% N- y4 \; t+ M$ N& B$ Q6 \, w: i! A $p = $p.replace("parent","parentNode")9 g( Y! W6 B. j7 }
}: [' ^: ~' N9 b! E; }2 W3 n
var $p ="u."+$p.replace("*","");
- M7 O; O3 j5 S7 c: A8 `$ c while ($p.indexOf("parent.")> 0){
1 ^8 Y) h* ^" q( I $p = $p.replace("parent.","parentNode.")
! G! m: \+ z: V& P# \ }3 f1 h; L$ j0 k; E/ I+ x0 R/ q1 M
while ($p.indexOf("child{")> 0){! H8 c4 d: l3 e5 s4 I
$p = $p.replace("child{","childNodes[").replace("}","]")
, W1 B3 n( Z7 G9 ~5 p } z$ I( z6 L1 B% A) N; `
o.push(eval($p));# I& h, A; v: d/ l+ K3 r1 o
}/ s) z9 g& I6 ~: l4 m2 F0 e
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, I* R& P& ^. K2 {$ m0 V- M( b
o.push(eval(a<i>));
1 y3 s8 y: u7 D# ~; n }
( Z4 _) o6 @- H* s, D* p }4 N F* y1 ^- R9 P: E( y
if(g!=null){
% H1 S1 o' f! N: u8 C. [1 i o.push(g);g=null. p- I1 o, T5 {
}
! L" S, O& [/ S. [& @1 g }% @! r1 I: a( s- N8 X+ B/ m
}
' Y4 T2 _' R M1 o/ @1 h
! k. X, x% i$ _9 D$ A $o(a,o,c);2 I4 Z* @% v# m4 o$ C
: E* ?9 ~7 A. ]- [ p( y# \# ~ for(var i = 0;i<o.length;i++){
1 G; J) c8 s" m7 i* | for(var j=0;j<c.length;j++){
4 R$ [: d9 B& }9 p' r& m) x. g u = o<i>;eval($format(c[j]));( x/ k) \0 W3 M7 l4 U
}
; p1 c4 W$ b' E0 ]2 F }
; L7 ^8 c C$ a
( u5 q3 _+ I% U6 `3 q# A7 T h# _7 L8 C if(o.length == 0){; S# x% T/ q0 x+ h1 H
for(var i=0;i<c.length;i++){9 c k; T6 b& @ K& [3 u
eval($format(c<i>));/ l: F6 `. F9 B! v- e
}- j3 G8 ~* K2 P0 Z
}6 C3 S9 i/ c7 g# g; X6 [- \
( M6 z' w8 \$ L; f, O3 a n3 ? U; _
if(r!=null){% @$ E9 j% S* \ V% X, J1 X
return r;
% B8 ]' F- v) B6 r, Q* ^ }, p" z$ R, m9 |% D" {$ O
: R2 l/ [% G# _: G f) o
if(o.length==1){
+ W! D. _+ b. n! L: A4 v- I& { return o[0];
' C# }8 w) F* Z& S; O' i8 ~ }
* J# s9 M/ |$ O( u$ n else{; g8 F4 o. V# s, r5 p
return o- f5 K8 X! \/ m" ~6 ^- [" S N5 x" q
} * w' z; o, k4 ^0 n$ i
/ `3 K7 a* [# q) G& Z# t2 g4 n/ ] }
. {3 R9 u: Z( g$ W. Mvar lrc =$("#lrc;show()").innerHTML.split("[");% }1 s6 e6 w, b5 t
if(lrc.length>5){
' X! h% i- K0 A1 [var array = new Array();* L3 y6 M7 X! g& B* W2 @* z& R
for (var i=0;i<lrc.length ;i++ )
3 T6 E- m0 Y4 ?$ m# C# J! r5 H, T{
: y! s9 I) M* g% m' Y( l' N- M var g = new Object();
/ J* V, w& Y F4 \ t= lrc<i>.split("]");% G. V0 N* X9 n1 C9 r
g.time = getTime(t[0]);" P# t# ?2 _: p( I) k
if(isNaN(g.time)). L9 p' v" b+ U- A: X6 k
continue;
9 v' B: P+ H& q+ g5 H. w9 P: Y g.c = t[1];. k. H+ k$ h: X* L
if(g.c == "")9 {! k# E/ y Z( h: v5 }
g.c = getNext(i); I) M- A: @! F3 N$ W; a2 [
array.push(g);/ r" y U. y, N% D9 U4 |
}
. K4 G/ ?; ?4 q+ _array.sort(function(x, y) {' t. Q5 f' J/ N) e; A! B
if (x.time>y.time)
: [+ c9 q& V, o( H9 \3 Y return 1;
/ ~/ t! Z" S6 V* D else if(x.time<y.time)
t) r) k- x1 b8 F2 d return -1; n+ j0 ]" x& `9 w! {
else
7 i" U( `' T2 i! C$ c, | return 0;
# K% q0 C7 z! `$ r0 a }
" n3 g4 @- P2 D);
/ y$ ^6 e4 a+ @5 G( q0 Vfor(var i = 0;i<array.length;i++)8 h( Z p4 U4 f( G) A$ [# ^, S
{
- Q: H1 b# P* F5 k4 t9 r! Y var g = array<i>;+ o+ v, k2 T8 a. v
if(!g.c){) D6 E/ d1 v- b% p+ X9 `
g.c="";
/ \; _) U! h) X }
! n/ C* J! @" M+ n2 f# q $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";. W- A5 A% K6 Y" C$ [
}
3 J5 a3 Z- {, U- _var time = setInterval("lrcList()",500);
3 V9 R( \" @3 k9 E+ \& T5 S( N}else{; O" H5 O5 Q4 t. Z, O
$("#list").innerHTML=$("#lrc").innerHTML;" U" L# E) m$ o5 f( |
}
, x" s- R+ ]6 K, ?! S6 k2 afunction getNext(i)
' L" _* I/ v8 G$ E+ @{
; T* n3 M- X6 J var result = "";. W5 W0 i" ~ V& D& @
var i = i+1;
* u7 z; g2 a; o# b1 M t = lrc<i>.split("]");
& Z4 a- Q, h ~3 g* R# X if(t[1]=="")4 s9 H) u) e: `9 n- D. ]
result = getNext(i);
3 e$ a Q( a; G6 q1 i1 [ else
- k4 t- |" h% P8 T result = t[1]
: e8 q3 t- O6 ^4 g- q return result;
7 p# O% t. l/ p( {- ~: Y}
- J1 K; x2 p' T% A+ h$ {
/ T; Y8 l3 S6 N) U4 Efunction getTime(str)
# A% m' p$ \9 C m& E- T{, g4 ~; B0 [5 q9 v% J0 Y. e' R, Y
var time =0;
7 ^0 R% n8 n1 M1 I! C! ] var ta = str.split(":");' O' M' ~1 q9 s* u
if(ta.length<2), I& D& Z9 ^$ k% G! ^
return time;8 K' ^7 w/ o2 N8 k; b; w
9 e8 L2 C; Q, b$ T d$ m, K
if(ta[1].indexOf(".")>0){
% I" M0 Y4 l3 J8 s, Z( i' i var tb = ta[1].split(".");
6 ]3 `4 E7 ^8 P/ l$ o time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
! R( [5 t, B$ V }: ~7 W3 X& h2 W1 d+ j
else! K3 z; z3 H7 ^8 H
time =ta[0]*60*1000+ta[1]*1000;
) n/ v w! P$ N9 Z. D! F4 o/ t3 K return time;
9 |1 B; ?7 \& ~$ l}
5 k& i+ o; y p. N1 I# d" Lvar preTime = 0;; F! ^& X1 F) O' e+ S) t7 ~
var nextTime = 0;' r( P: y6 ~5 e. F3 {8 F# j: K
var currIndex =0;7 q( J! K' ?: D7 \
function lrcList(){
/ l/ |* Z' E& z8 o# @, \: k* @ var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
# q% N% z- d, l1 | s = s*1000;
# l0 @5 J* q4 N$ F% p8 x if(s==0){
9 O! @5 D/ f% e: d% z7 L currIndex =0;
) y V7 c6 x) u7 t* N$ e4 q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 |! n3 x- P9 Y) P2 A" V# W for(var i=0;i<array.length;i++){
' P+ f! D" n- F) M5 t document.getElementById("lrc"+i).style.color=colorNormal;. t: ~8 ~8 J: d% _; w, W
}
$ I, c+ g& W4 v+ P return;
# A( }+ K" l; t- G7 [ }
& d4 A1 X- j8 [ X6 n if(s>0&&currIndex<array.length-1)
9 W) j' V; H1 g { + B T6 J- i8 r @" q2 F$ j5 G
preTime = array[currIndex].time; ~+ H+ M7 j6 O }! N" w" ^4 I) h
; G$ [$ f, N# c5 X2 l4 I nextTime = array[currIndex+1].time;9 T1 Z8 n* R, G5 ]
( _9 q" U' E n1 A+ z if(s>=preTime&&s<nextTime){& {! k" |: o+ @- U9 J5 v3 i& a! ?
}
9 ^9 Z1 E& g! n. U else if(s>=nextTime)& m, ^% q" o! `: d
{
- U' r3 o% B0 A+ p- K K- w% x document.getElementById("lrc"+currIndex).style.color=colorPasted;
8 J. W9 A7 P8 ^. T6 E* r3 v currIndex++;
+ z" q! O5 R. ~# y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, b+ d! Y% p2 P/ i8 Q document.getElementById("lrc"+currIndex).style.color=colorPlaying;
1 n0 H! @3 U: V' i4 a. g4 g lrcList();
5 R( Z- B. W0 U$ M5 Q5 Q: Y }
: E4 p: H9 ~/ G4 s% i else{
7 |! D% [5 F% _ document.getElementById("lrc"+currIndex).style.color=colorNormal;- R5 l! D" F/ ?# R" i
currIndex--;
9 t' |% q) \3 ]: j# {# k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 j. F) s8 {3 {
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" ~; G* D9 R0 r7 G lrcList();
+ A- Q6 }$ v$ i* F } / P* w/ ~" X- }9 s/ V! v, v
}9 q- }" Y9 |6 j0 B' b- D8 H- l
else
, Z/ ~+ o8 @) Z4 E5 ~' o6 o3 z {, j* @2 ^1 I1 A( w% {7 q
if(s<array[array.length-1].time){
: w3 D8 |; V, W. ^% G currIndex = 0;. n0 S- R& L* A7 E8 f- C
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" L S3 P. m# l% o/ z5 `
for(var i=0;i<array.length;i++){
$ u, K, A" F; X; `, ] document.getElementById("lrc"+i).style.color=colorNormal;4 r8 H: E8 k' j8 R
}
( u$ _- u7 N6 `( R+ D9 C lrcList();
5 ?$ z" n6 Q% g! A$ P( m) G, C }
0 w% q6 Z. o3 c8 P8 y0 m }
# d$ v$ ^6 X. k! {9 k. R}
! V8 l7 o! t1 O ~& H& `</SCRIPT>
, N3 x- x) ?7 a1 y</DIV></DIV>
+ R" j" u( f5 j8 F5 E- G; `3 F
* M% V" {! M3 E% ~7 r! A[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|