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