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