|
|
<DIV id=list>
9 P, ` ]* Y9 s, T) a<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>/ c9 ~" W* O/ C7 Z6 S4 ~) @
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV> G" `6 P) Y9 V; C9 o, x- Q" }
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
" d8 @. l q7 ~7 Y<DIV id=lrc3 style="COLOR: #666666"></DIV>0 h6 G* p0 c3 m% v7 x
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
* ^ z7 K" i- J<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
) p' T! \* C, ^+ \6 B<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
6 b6 l. q8 t/ G" z<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>8 S$ D7 C+ e2 c6 \7 E7 Z) }( ?
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>. [$ }7 y' b, b8 E
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
0 J0 p a4 i5 ]4 W* L& d9 x% `<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
$ U$ T% F* G4 n/ l- T<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>0 ?6 z* D+ r0 ~; \6 A
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>; D; U2 l! t* [
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
3 v) V/ v4 D- }$ n" I! U' _8 q<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>9 |0 s9 C( t+ |3 W- o! D5 ^
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>- q3 K+ j/ \5 P
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>; E. k' {7 L8 \7 s0 R h1 y
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
?, G( J* O6 ^* c<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>, K, f# k0 m" h
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV># E2 `2 ]/ T9 J. R
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
! q- y6 b) U& E' q! I7 U3 J9 K<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>1 f& f7 M* W0 M* S
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>- Q6 D$ u5 f: u1 z' F
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV># \0 q0 V( U! ~6 Y9 j$ ~5 J
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
% m" s+ N/ X F4 _6 f<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
. r( {8 ?* p1 w/ n! i7 A<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV># X" r' j& [) X' D" ]2 w. B5 B
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 o/ g9 j. M" ]+ g' H" q
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
" u1 y j# ~; \9 t; P$ g1 {<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>& P0 C% W0 T1 E" i
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>. l+ n# y% D/ M5 [5 I+ p
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
: y' e* B- r; P, _5 u<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>- c9 a8 c, q' O0 z7 u
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
, s' e4 `! t: Z5 ?<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>* k% ^$ W: b( B1 l
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
1 f6 E' P" E" H+ v% h4 H<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
/ m) r! r& E. U+ g9 c; X<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV># |' z1 V$ b0 g5 N
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>1 F" m* H0 x1 J- F4 _: ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>9 o' n6 f, B( q2 k& ~
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
/ F$ X n' N' z7 O3 k6 \+ Z<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
; a+ @& F4 V& X3 V<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
: k4 K% c- B: r* G9 u* y<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>( q2 ]0 i3 ]( e! {# i( |' K
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>& R& q) Z8 s) w; B6 Q3 J
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>* L3 e% m# B$ D3 I7 c3 U9 ]- O
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
/ ]: |% I1 f8 g3 Y" A6 C$ K: _$ o<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
3 n! ^) }* P' d; N, J<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
& c: i- K. y. q( _7 t$ @7 U4 e<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>! S2 `9 v O, S( Q ~
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
, u k3 A) J1 o3 l& c/ w: |<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
5 Q$ _, Z0 W# h4 P( A' P<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>. y( O" V. ] S4 h2 m9 E# O2 w; i! w
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 " Q% X. _" {$ ]4 R! S) ]( B2 \+ g b
<DIV id=lrc style="DISPLAY: none"></DIV>7 ?4 `/ j/ ?9 X
<SCRIPT type=text/javascript>) c! C( _9 ` x0 K
document.domain="1ting.com";& L! ]9 z2 P @0 D n7 w) a
var colorPasted="#666666";
9 c. U, z* B* W6 Q o wvar colorPlaying="#ff3300";6 j6 w% x6 q9 I4 T% x# A m6 i
var colorNormal="#000000";7 k9 Z* B7 m0 d; Z$ M+ g
$ = function (a,g){) t8 N0 O) D" m6 s) I: L7 f
var o = new Array(); 2 ^' O$ b2 ~9 I; G, d" n
var c = new Array(); 5 y6 e9 Y: }' K" H7 y
var r;
" u* I2 \- ?7 W9 @4 t var u;
X/ P- F6 F. G: {& y var a = a.split(';');
9 ^* ?* d6 y- k: X' k3 o
9 Z$ C+ b+ f7 E, r+ J var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");; e* J/ U( g9 t
for(var i=0;i<e.length;i++){- }8 s5 O R6 S
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"), T* w2 a! E5 D! T( B; b
}& N/ h! B3 y' O! z
: N# i2 X) `' O, U% k5 {" ^
after = function (t,d,s){. ]9 t! r. I5 U- a- O& ^2 B' r
$after = function (){
- E- D3 B# Z. s% e% Y' `+ D. @, t var $n=document.createElement(t);
9 a- l: o; Z3 i if(d!=null){9 ?* H$ t; S9 C7 @8 A+ A
$n.id=d; 4 ~) F6 {* a3 Q2 C' K2 [0 U
}4 e% ]2 w, P" `% n# ^
+ `/ L! p8 y6 e# m: t9 I7 j! }
u.insertBefore($n,null)
' O# ~) B1 c: t) \9 S9 m r = $n;
& ^: }1 X3 [: a9 r# o( _ u = $n; ; G0 I3 [5 H' P2 l8 F( `
}
7 e% e! X0 H k/ o$ m$ ?: `' H $for(s,"$after")5 {% o, E) k5 I# d* e! H
}. {5 l5 q5 d+ l: }7 p! N+ y7 a; q
" O& X* u: Q* ~7 Q K( U show = function (s){
+ p B4 I0 _, }3 ?& U) Y4 F $show = function (){( v$ `& L, }6 P
u.style.display!="none" ? style("display:none") : style("display:block") ;
1 C# N ]# d' K# B+ D }$ x: ^. j0 p/ E0 b: [* s; p
$for(s,"$show")
5 J, f7 M- {% ~ }( {7 T* u7 R) A. q
+ G, a9 A: l& e7 [
check = function (t,s){# A$ ~+ P8 U0 j% N$ ?
$check = function (){
! h* X9 q" x; C' o* d% `& C2 g# F if(t=="2"){
( R/ s% u4 k. I% `$ i; _, E! w; v if(u.checked){
) D8 g- v/ c G* S# g' x0 x u.checked = false;5 Y1 l& G6 a6 _& ]2 j1 v3 E
}else{( O& M( L& ~( i* S6 @7 b- Y* G# q
u.checked = true;
' _! g$ g% I/ B" w' ]# E }
) \8 s, [6 b4 }) z }else{
& d' l9 a8 j2 {2 o" l9 \ u.checked = t*1 ;
# o l# E7 C1 o& L }$ P9 L4 A* V7 D1 X
}
1 S' g$ l' a+ L5 w. c $for(s,"$check")! b; I9 N2 U" r+ J$ `3 Y
}8 W/ }5 a3 ^9 P
$ f) r3 `5 Z. s
style = function (v,s){, J3 R: v- M# _# c
$style = function (){2 _0 m- _, Q6 i3 K- c! i
var $n = v.split(",")
& K8 I& s# M& K, `% x for (var i=0;i<$n.length;i++ ){8 g" M7 }# L- c; r$ v5 ?
var $m = $n<i>.split(":")
; B3 t z% w/ P8 Z. l$ D6 N0 i eval("u.style."+$m[0]+"='"+$m[1]+"'");8 w8 @/ F y4 k* [ j2 A
}# Z( s; [/ a, \/ K6 ~
}
- [, T' G X6 I $for(s,"$style")/ I* z- Y5 }6 E/ [% a% B8 s* Y& ^2 G
}; n; I" E. w! e) G# `. \6 K
2 ?/ P& A! p0 S1 u T value = function (v,s){0 ?* \8 z* r7 q; W( D, W8 a! c
var $n= $this (v);
. `. a% t* G, }$ D' |2 t $value = function (){
) c6 X0 ?- Y( `) A0 a u.value = $n
7 H( Z/ f1 q' G6 ]2 ~) f% C9 I }. b. Z1 {( S, |% `, E
$for(s,"$value") {! d2 d* l+ e, J
}
: c3 B( @: W p0 L2 l* L/ Q! G+ U) |0 S; ^7 J$ j8 Q
text = function (v,s){ E6 B& o2 H8 s: O' Q
var $n= $this (v);- {$ ]* ]. ^) v
$text = function (){ `8 y6 H: I& q& d
4 L$ Q8 t: `* Q0 A8 E8 x0 G1 H% Y u.text = $n
$ R6 O7 y2 U; S3 } }- K; T2 T6 q! E8 O6 Y/ D
$for(s,"$text") $ q, L, E- b/ T9 K
}
- A2 q# r: G1 w% o* X! l6 _' K6 M0 X) n. y# }- [; m2 K+ ?. {
innerhtml = function (v,s){0 t# J- V& @( {; J
var $n= $this (v);* o) e8 M1 W8 b7 ~$ x! {3 j
$innerhtml = function (){
4 [0 w; {* v8 F1 o- d( \9 L1 g* E u.innerHTML = $n
6 i& [, |$ e$ `6 G }
v6 q& {8 a; r5 ] $for(s,"$innerhtml")
! C, B2 H; x6 w% l }3 K- z2 Y% F4 A2 z! s6 @! f
# z: B# ^ ]# |, p" o removechild = function (s){! }% _) z% x$ G; P" {
$removechild = function (){
# B0 ?3 ~0 D0 }* D( U u.parentNode.removeChild(u)
) H* p" M9 R$ V7 D# `; b0 m2 _ }
& ?- [) R. x9 f" i $for(s,"$removechild")
; ?+ Z) {. E! d0 ~; Y+ i& L- c$ \ }" e/ l* A9 G* R {8 U# e! y
# P7 Y7 b8 {1 P+ C* U
$this =function(v){
- M3 D9 w* J: U }- \, Y if(v.indexOf("this") == 0){
7 \& S: N- {! f7 _ return eval(v.replace("this","u"))
2 G. t% S1 e" H5 j6 t }9 j" {4 \$ z2 B/ T
return v; H: ?3 V/ L" ]9 l
}, \: Y! g6 a/ u% g6 V7 ~
( i8 O+ E* |& P/ k% P& g' z
$event = function (s){
% Z) M1 J: S" f8 J2 {/ ~' @' T var $n ="u."+s+" = function(){$work(this,s);}"( X4 Y* f* r7 O
return $n;
8 q7 @2 z) {1 k; w a$ [7 p }, D& ^6 n G. ]5 d9 y5 Z
$ P% C! C z p3 N& ^" ~ $replace = function (s){' `9 k$ G, B6 {: {8 l4 u
0 U) d6 I3 n& E$ _# ~" G
}
8 m5 G3 z( t0 G2 X, z8 b, q! o( V! |% m
$for = function (s,c){
- V$ ?3 @% E! F- `: X% s; ` var $n="this."+c+"()" ;$ a2 R, w3 N0 ]: @! A
if(s!=null){
2 ^! q! Q/ s( k var $m =$test(s);& I, |& i ^. ^4 a0 Q4 A
for (var i=0;i<$m.length ;i++ ){
' k9 Q5 t% d* N u = $m<i>;- J* H( M1 U2 ~( a+ q# X' A
eval($n);' i! B( J2 ?4 X
}
8 ~/ g) n) w$ R8 o }) l" g$ j( K+ w1 Q5 B1 A% {
else{
9 F9 f/ a/ D3 V* q, x0 C2 r4 | eval($n);
) t$ X0 T4 c+ q5 g+ V& ~- u1 [ }7 ]/ v3 H5 F2 ~; U, n- C
}1 L: x5 w) w6 }
- @/ b* X' h `" A0 T( g2 h) G* \5 g
$test = function (a){
: w4 {. F. X- {* C: y var o = new Array();$o(a.split(';'),o);
c8 D3 K; r: g2 ]- ? return o;
. g# f0 W2 O$ W. n8 } } T$ [1 c' a& y0 l( v+ U( r' |8 X
) [: G" |2 ~6 J( t5 S' `4 P6 C! \ $format = function(s){ Z8 M# C M8 e8 E1 b
while (s.indexOf("'")>0){) j X8 s/ h4 Y: @
s=s.replace("'","\"");3 h) U+ H- z# ?
}
2 c5 y4 P6 c2 t0 J* q while (s.indexOf("][")>0){8 _) v: m- ~1 p. q: j' c
s=s.replace("][","','")' P1 ?4 f3 t& f# H3 n4 k6 t0 j4 Y
}$ k; K( B$ g/ D0 i
while (s.indexOf("[")>0){
# O5 s( L( Q3 h9 u" \' { s=s.replace("[","'").replace("]","'")1 | \8 W* }, X& ]+ g+ v2 h
}
0 H/ g0 S# Z# B7 p return s;
8 E( i Y6 m% `/ g }
5 g h" G% P: V; c& Z
; H% ^" w* y& `. C7 Y' h" S. L $work = function(w,s){
3 O; ?5 d4 K" n' ~- A6 V. J0 \! o u=w;eval(s)
4 I5 X# F& V* j) S }
! F l; A+ c0 T; m) }4 s% t
" U) E3 k* C, o $id = function (s){
4 U# B: c, M4 {+ g% [' J( ~ return document.getElementById(s);, r L- U- \* j2 R3 A3 [
}( |' A! v0 g: a; Q! D6 f
* G$ d5 ?6 Z( H+ C2 `$ l: u/ s $name = function (s){
) r0 L) T- ? | return document.getElementsByName(s);
( Y1 V/ ?) N3 Q( d! U9 X }9 a1 P8 W# w2 n
: u% ?6 _+ b3 `! R6 c5 o
$tagname = function (s){4 x9 k! K9 R/ K4 b& `. N5 f
return document.getElementsByTagName(s);
0 [' [2 \5 }* k6 }3 Y, K p }: \, f' |, ]0 Q% `
$ K# K# Y1 v U& t, I) P7 s G' V $o = function (a,o,c){; o% G$ F) l" {2 z+ a
$push = function (n) {
9 e4 t1 i( U" E# | for (var i=0;i< n.length;i++ ){. l0 I- C( v' X# U( h. A+ k
o.push(n<i>);, O7 a6 F# X4 x0 {4 c$ ~$ W2 o
} + f" |2 S0 E3 Y: x) ?
}
% x3 u a7 r6 M- x" k) a) D for(var i=0;i<a.length;i++){+ N) W/ V, {. f+ H) ^6 T1 L' |: q
if(a<i>.indexOf("(") >= 0){
0 W8 w2 }- U/ h* X, S9 G- b c.push(a<i>);, n6 J4 {, \( [# C0 t" `, A
}: P0 ^2 S$ d2 c; g x, E+ L
if(a<i>.indexOf("~") > 0){$ C, r- s( a. T. o# F
try {2 N6 J8 x) o$ T
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));5 u p |3 E* C% R& W H
}catch(e)# S. F, o! U+ w T/ W
{} , `' I# B! l2 R3 o4 q. Z
}+ {5 l- ~ f$ n
else{
5 ^; d& d' m0 s( i7 M+ N if(a<i>.indexOf("#")==0){# V W8 }' d* c. o
o.push($id(a<i>.replace("#","")));
& i& r4 i5 @ g }
4 }" ~0 x" f6 u* `/ Z7 I- k0 A if(a<i>.indexOf(".")==0){ F1 ^! t: w% P, o
$push($name(a<i>.replace(".","")));. a/ j: F$ c4 S! T: v& w
}
, h! e; ]$ e5 N7 F if(a<i>.indexOf("@")==0 ){
3 l0 Y5 [6 _- F7 j $push($tagname(a<i>.replace("@","")));
! k s k; \7 L2 e9 z; W( f7 }1 o }1 u& M# C; S( E. F$ J! |
if(a<i>.indexOf("*")==0){
. O! V2 z7 \ u9 I: U $p= a<i>;
2 v( M3 o! q1 O1 E if($p.indexOf(".")< 0){
6 Z$ B$ M. C0 _5 a: W* G+ F( ~! X $p = $p.replace("parent","parentNode")
- V. g0 C2 S- `/ R }
/ }# a$ l0 M7 N; \/ U var $p ="u."+$p.replace("*","");0 Y K; s9 a3 i' D' N
while ($p.indexOf("parent.")> 0){! P6 q; o5 b4 a5 u8 w* o
$p = $p.replace("parent.","parentNode.")
0 O8 r' a: a( L& B }1 p1 |7 x% z3 G9 e8 L# }
while ($p.indexOf("child{")> 0){
9 X8 l% Y6 z' E0 O# j6 J' H $p = $p.replace("child{","childNodes[").replace("}","]")5 k- W. j4 g6 Z+ t( l
}6 r/ G( ~4 _: s+ x E; K' a O. O
o.push(eval($p));
. ]* J9 a& H. G1 c# K5 r4 V7 K }& _9 t! w ?" b/ \; \! r8 ]
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 ?7 l6 M; i& t+ d+ x o.push(eval(a<i>));+ P4 t' p: s* b; \* U2 Z l6 Q& P
}
3 Q* U/ f; h2 y4 T K }+ u) l1 }; `# |" O- C+ z
if(g!=null){ ( \0 Q0 |0 L' k5 {6 w
o.push(g);g=null. L* W: J2 I8 {' N" |% _- l
}
6 {6 {* F+ `% K3 g7 Q8 c0 k! U }
/ A) F7 l, c/ R* }& L" ]7 r* h" ] }2 [- }; O9 ]& p; g, p
* W4 l/ _+ B/ ^1 i
$o(a,o,c);6 S0 I) @# m- I5 A4 q5 P
% p; h( q1 Q9 @
for(var i = 0;i<o.length;i++){: X6 d( h6 }- j- H! K9 E
for(var j=0;j<c.length;j++){
. r2 {' C- `+ u* [% g' e* |2 D u = o<i>;eval($format(c[j]));
" f* R1 d! S) O3 W* y: O/ U }' O0 o' p* x! b4 z: T6 A
}
1 G5 } d( u3 s% }& t
/ l2 c7 s# B* x" g- K$ Y8 e if(o.length == 0){7 X; `8 v7 }1 y9 ]$ M) U! k/ _
for(var i=0;i<c.length;i++){
6 H) [2 e; X. {& z0 s eval($format(c<i>));
% ^1 D* y% D6 |1 c" X8 B: ^ }& g7 I) S2 |2 i* g: |; o
}
5 _ s) |) I' A , |( R1 ^( \# m# P: d) \. ~
if(r!=null){
2 J2 k: {4 A$ } return r;
. [6 H1 ~; T0 E# K8 I4 q: i }$ e. q; O! ^* `4 N6 x
- R+ o2 b, D7 y if(o.length==1){
7 |3 a. g. J, T- F2 a return o[0];
" ~/ ^3 a T6 e/ t }
+ k; v; m0 e) n( k else{2 W8 R3 P* I9 u; |# b
return o, s- P" b% C" ^5 R
}
# p& ]; Q' e9 @6 q k0 I 3 m1 o' w3 v9 L. j( D% E
}% {9 F3 r( y% C M. U& B
var lrc =$("#lrc;show()").innerHTML.split("[");
6 R9 T8 I4 z8 o/ s/ Rif(lrc.length>5){
6 ^& ^+ \ J8 G; ~# d8 I. b! b4 zvar array = new Array();, ]( } P# s! a# @
for (var i=0;i<lrc.length ;i++ )
& g0 v/ K. K1 @7 F; ]$ U. N: s{
, U6 F4 W7 l: `. r, o& I9 X% @9 x7 X var g = new Object();
/ b+ r' M# E( k, E; Y1 b t= lrc<i>.split("]");
6 S* z7 {- x7 X: P g.time = getTime(t[0]);" F# O5 ]& y) w, }7 m
if(isNaN(g.time))& a3 _4 J" G) i U( ^. |: h5 M
continue;
' l4 q8 [% E" t' o9 \ g.c = t[1];. [1 ?3 T' k# i% E
if(g.c == "")
$ G0 E" e% `% Q3 t0 G, b9 J3 N g.c = getNext(i);
4 C' G) R6 I. J/ L) j) V2 p array.push(g);
# Q' s8 P& `( v}
/ I8 K1 @8 K6 L+ I! d e' `array.sort(function(x, y) {
( O* e# U. h% K& W& C& {; Q if (x.time>y.time) ) w& L, b& H& S. [2 C4 K# a% h
return 1;
* z0 u2 b; k5 L7 d+ c else if(x.time<y.time)
b8 g3 b" G9 I, C7 S! E0 Z/ p r return -1;: I4 H1 ]: p( y$ p" e+ J7 ~
else! A9 v: J6 c- q" C
return 0;
; ]1 x# z7 \6 |: N4 r5 e4 e. ^ } 4 t9 ~$ A# A! N
);1 Q6 z2 x% D6 l2 A, o+ g2 s+ z$ ^
for(var i = 0;i<array.length;i++)
5 X( \9 `7 `- Y9 M; b% k# S Q{
4 f. C9 _# v2 ~' H! s1 W2 d var g = array<i>;" d- ]: U3 P ?2 {) i
if(!g.c){8 C- V4 k0 j+ L7 h( e% }
g.c="";
5 h# B& V' U( F" @; S }5 T8 g& l0 {0 \' @/ g2 n# {
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>"; T2 G. B+ d f R: E! Z- |
}4 q2 \5 e* K; s
var time = setInterval("lrcList()",500); + M, k" y. i) H
}else{
4 H1 Q4 D, R6 [7 n6 L7 i $("#list").innerHTML=$("#lrc").innerHTML;, S* f5 P% z( F7 K! A; f
}
7 M$ [- P6 T+ ~0 A/ k9 c, Gfunction getNext(i)
/ [1 S. w$ |( p2 }& V w{
5 w7 v0 D% ?+ H! a. J2 j* b var result = "";* m. a+ D Z# `3 }, r! T
var i = i+1;6 W) i0 k% i9 E) s4 K2 \
t = lrc<i>.split("]");( o0 I0 V4 p% @6 T" A# i
if(t[1]=="")
* {( [3 Y" ?$ c& q9 x& K result = getNext(i);, x' Y6 P' U) o9 B _1 ^
else9 D- V4 y- _( m3 M1 t" k& a
result = t[1]. @: F. M) F$ c2 W$ t: S
return result;' D! X+ d! z7 a: o/ n- J$ A* p( J- ]
}
& G4 h5 l3 m# n4 E; k
# w6 _7 n0 X% Z! O6 rfunction getTime(str)
0 t R# r0 z2 w! ^{/ \. P8 x+ `, x4 l- e+ m) A& X
var time =0;+ _2 ?& E% Y8 o( i( C4 z- s
var ta = str.split(":");; M( L1 Z" R: X# g/ l
if(ta.length<2)
' l* \, O N2 Z. M; M return time;
. J& H1 x2 P7 O4 l* b- ^, S
, Z) t8 H( w6 ]- g if(ta[1].indexOf(".")>0){ D) E- G3 H+ k9 H
var tb = ta[1].split(".");, q! S& u, ^) E+ z e H$ V
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;) d9 Q( [- w( o' }, w
}+ h* g; ^8 I* Z7 _$ |/ B0 o- c
else/ K: b9 B e9 ^# S, t
time =ta[0]*60*1000+ta[1]*1000;
; Z5 O7 t" s, L' Z. z3 ]/ a return time;
% {1 } @1 U6 o# P) m2 k}
3 R3 K* R9 ~) Q3 S* d3 M" x" \var preTime = 0;
: Z3 l8 p, ~! B4 K3 S, h5 N/ rvar nextTime = 0;- M" N& w, Z) g: x( l8 L: S
var currIndex =0;4 S) k$ v, q8 ^: g% V8 v
function lrcList(){
0 G7 r4 p- i4 U var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
4 z* L& X) V' Z, O. G- p9 K1 g& Z s = s*1000;9 G& q; q/ C% L
if(s==0){
4 G1 |7 {* h% l6 H" ?% ^ currIndex =0;
1 e! O4 o& N) s- R! H( h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ v. Z5 c5 D5 P3 k for(var i=0;i<array.length;i++){# z' x/ p* a# X1 Y% \
document.getElementById("lrc"+i).style.color=colorNormal;
) s* j5 B5 Y& U1 {% e }( H/ i2 K1 W0 a. p- f; U0 a
return;" c7 ~: G2 f" {, ]- A
}
8 k; w# Q" o; p: M' i if(s>0&&currIndex<array.length-1)
5 G! [3 `# Y7 o {
. z+ P+ F4 d8 v5 i4 E0 {7 u preTime = array[currIndex].time;: _+ v4 P1 V/ a
1 g$ o$ Y# J. [2 N8 x nextTime = array[currIndex+1].time;" H7 [8 d; I1 ~* }$ D
6 T6 A6 o4 ?& h( l if(s>=preTime&&s<nextTime){
0 f' }% c) }- o d0 c" R3 E }
4 g9 ]6 j$ E2 V# r9 U4 l3 G else if(s>=nextTime)
7 i! [1 I+ M8 G6 y- R% n {/ X1 H- A+ l% ^
document.getElementById("lrc"+currIndex).style.color=colorPasted;
3 V _- @( m0 l6 {" d! [& P currIndex++;
# a- g" z# J3 e6 e" d4 v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 T& S3 `' e: c; A
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
: H1 r' ?7 Z0 E: R lrcList();& z9 Q/ K& V3 m& r$ F5 ]0 }8 |# \
}
- C3 e& @" P3 ~" |$ K4 G: o else{: G! S Y% V! m4 A8 O
document.getElementById("lrc"+currIndex).style.color=colorNormal;
! \3 R$ ~& c: W currIndex--;& X# W+ B( R6 u& x3 B8 q p
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
# A" L6 F# x9 {/ ~- P7 t D document.getElementById("lrc"+currIndex).style.color=colorPlaying;& E; ?0 l! t6 g; r! U
lrcList();
* C% \. s+ N! J* _ }
9 x' u; n* _% h( c9 z$ v% M$ k1 ` }$ i- l4 r, n2 f* W2 ^ j! y( Z
else' e/ H. K/ j" Z6 n2 i8 V9 I
{# E; ^9 f5 w( S6 ^
if(s<array[array.length-1].time){, n% y3 m s5 W$ g" G
currIndex = 0;6 w: ^ G: Q6 }" l6 j" S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
6 W' Z; C! |. L for(var i=0;i<array.length;i++){
# v# W4 Y, W7 |3 K( t# n% c document.getElementById("lrc"+i).style.color=colorNormal;% `( w; }( h; M7 r" }
}; f9 O( z+ g A5 u
lrcList();# N2 w! ~$ v: x, k8 J5 [' R( J
}
4 n8 k9 x0 ^' M, M- K# q( d }
% ] R5 D( ]* t8 w1 i5 s/ q}$ ?. u B/ B4 V: R1 A
</SCRIPT>/ q, l/ s/ `" A- E. D& d8 C
</DIV></DIV>! h# q$ a' o( ?+ ]& G
. y d3 n X) T% A) r8 G) C3 @[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|