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