|
|
<DIV id=list>
: O- [) ^# y: O: V$ ?& @0 [4 V<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>5 X; Y' B1 @, j* l4 K1 \% Q! X! U
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>, z6 {7 b- a- L* ?6 |! w9 D
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>0 O R3 E. G6 X& J+ j" B+ l
<DIV id=lrc3 style="COLOR: #666666"></DIV>: M; ^7 t+ U1 P: C2 H# h& v; Z
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
6 c, S7 F3 X7 \2 z6 k, L% ]<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>$ ~$ K2 L {1 Z! e) V' t- @) @
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>& @3 h* l) Z9 s- g
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
) ]2 h4 r A5 N& H5 P @. \1 k/ [<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>4 ?- g& d7 k& n$ X: }
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
5 L3 v1 p1 t$ F: O! Q5 \) X<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
1 Q+ W4 w1 v* x6 T<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>3 a' I0 f) I! r
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>( {: }0 ]" }, B1 }; h8 c) I
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
. W; U. T1 y+ g/ U<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
; C# d/ ?8 J3 N, t3 l" C<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
. z3 ?) c/ n: u" O: x<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV> x' E- |& t" w7 ^
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>' d! i- ]) _, i% b0 F0 E
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>, c8 J6 x* K1 Q$ _4 d
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>- ]& G$ O3 ~; M7 M
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>& V9 M/ U% V0 w0 U) R
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>5 m6 V7 K$ v9 r" {( T# `
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>3 o" n4 w8 x0 N; w: i. X
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>1 y0 N8 @4 n9 i- A, m2 Y1 E2 S: X
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>. i( |. j! e: ]& T e& e
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
- K' q) L9 u I6 ` v! h1 R<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>) k" D! X" q; I( f; a
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>3 ^7 o) _, Y( Y7 I: z* p
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
% C! F: v+ n5 E# ]) \<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>- V% a. r% H$ [+ F7 Z* D" Z
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 Y8 F( w U' R% d& L. C& \<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>8 ?8 `6 ^- z. A* r7 \3 Z, ^1 K# p5 s
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV># [: b. |- F1 ]% j9 }* H
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>$ L! v; e1 j; Y
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
* r) s6 Y( P! {3 U# r<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
8 [- C( y- K) ? e/ C' v1 O<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>9 Q$ l3 L+ S1 R: Q. {
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>' w& a" k' t- u; I0 F- o
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>) k! }: k) p7 ^% r6 Z# [
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>( ]3 |' Q2 @! p: w% S
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
& }5 u$ W# f% N<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
o" Y5 R3 d8 }1 G+ O0 l<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
, |, g, ]' Z0 v* l! N/ C1 T( m, v<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>& f* k* P* `! p- a
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
1 E5 `& ]% Y! w<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>, z0 V' X9 Q7 _5 F
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>" u. ^9 ^/ B1 C* Z+ ]2 u
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
/ x3 W( V/ B; ^<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
6 i4 p- j# b" R<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
8 T) m! v9 ^: N+ Y! c3 B8 Z" Q<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
- T' c5 g& X- u- O& u4 d3 |! L<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
; C: E6 n4 K5 C, c: e7 v, C) i: R: g<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
5 z* O2 ]% ?: l3 Y( J t% _<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 + X( O- f- S0 z
<DIV id=lrc style="DISPLAY: none"></DIV>3 q+ |$ L5 K& U, v7 D$ r
<SCRIPT type=text/javascript>
$ g8 |1 W/ T: j o O0 M, wdocument.domain="1ting.com";9 S0 H5 y! |# }, D. u3 k2 Z/ i
var colorPasted="#666666";
) g- \1 o: K+ A$ }var colorPlaying="#ff3300";8 U) e$ [& _5 d3 f& ?
var colorNormal="#000000";
- Z/ B# Q+ b& @- E# U$ = function (a,g){
4 ~7 q/ t% M6 Q1 r var o = new Array();
, J( n1 D) a/ M: C, a* A1 k% V. K var c = new Array(); 8 i/ Z% @) u5 L# T6 N+ _4 ~
var r;
, U4 s# k1 h7 c* P9 X1 { var u; : J" S# B+ ]$ P' ?
var a = a.split(';');
$ o" s+ R5 z5 F d3 m7 ]: y0 x
( W+ ]( d, Z% Q' { var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");/ p6 S* _9 j2 o, f8 J
for(var i=0;i<e.length;i++){7 P6 u/ S/ O3 X, h
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")" r" [0 ^+ e- N4 `. n3 H
}
0 |- [! F& D0 S A7 Y, n. d( Z0 a0 h* t5 P0 m0 ?1 ?
after = function (t,d,s){
8 O R/ Y2 ~- W- Q $after = function (){ q) Q7 Z4 R6 S
var $n=document.createElement(t);
6 S3 X* V! B9 D( Y! E if(d!=null){
. A2 g) ], r( w5 z( }; Q $n.id=d; $ A7 i Z% }4 T
}$ _2 ^# N) }, K2 E5 q
+ f+ S5 @; _$ k9 L& z u.insertBefore($n,null)
3 ?7 I' s/ n, ^! k" U! [/ B* i r = $n; # F2 v% j7 |3 }3 Y* v( ~9 Z, T+ q
u = $n;
0 w) ]6 R+ F) d3 _$ b }: W% k1 ]6 B; u1 t v
$for(s,"$after")
7 Z" A& _/ i- i! u }
3 C! g1 E7 V+ s W L5 M: d; L3 ?- N& [/ C2 r
show = function (s){. `) |$ \; i# z, x
$show = function (){
8 l/ Z* c0 v7 f6 D u.style.display!="none" ? style("display:none") : style("display:block") ;( Y7 Z3 F& L% Q2 w Y, t7 g, A7 _2 i& a
}
2 m) J- K# j" c: }; C' t $for(s,"$show")
4 l& P( n, t5 F, o- ~5 a2 r! j }
$ D7 e/ L4 N R& O9 {6 V; u# O/ h# L- X% N6 m$ h% q8 H, Y
check = function (t,s){4 s0 O7 w2 i' n% B
$check = function (){
2 b3 |; T) f$ G( t4 l0 } if(t=="2"){
3 w( j; r" D: t4 _ if(u.checked){
5 P5 m& D& Q. Y/ d" G! ? u.checked = false;
4 j. e/ O9 O5 W }else{
5 {& H8 {/ q( I( v3 ` u.checked = true;+ Y; d# V9 Z3 b6 J7 N
}9 Q+ w4 k1 L, z) m) j
}else{# H9 f4 [$ T/ w+ L2 B
u.checked = t*1 ;
+ l L1 {4 i* W m# r% h1 W- J }/ e0 Y, f5 _ P2 r- z4 s( B' X- m# p
}
7 U* N: o& R; L7 ^/ T $for(s,"$check")
" t+ }; @4 [$ L }
) H) O: p8 O6 H2 [" v/ j+ z
9 l) u' I( B% G) R& @ style = function (v,s){8 a, L, t) z: z' C% ^+ K, |3 e1 v, J. F
$style = function (){
2 o. O+ x9 G2 k% @# Y7 ^ var $n = v.split(",") ' A$ X( f% ` g8 c
for (var i=0;i<$n.length;i++ ){
8 H. |2 V) ~# {3 S6 V% B9 k4 l var $m = $n<i>.split(":")
# D) Z' F4 w& z; |, D3 W# V2 P eval("u.style."+$m[0]+"='"+$m[1]+"'");7 e* X- g# i I. D
}: n/ k: y7 a( r8 L f- J
}
! b2 m- _1 d/ u5 G; o $for(s,"$style")
+ E! C6 c5 l2 C! F2 ` t4 W }- ]( L! S% S$ o4 @2 c3 K; `' e. Q
4 W: y0 h6 G0 m7 G4 _( _5 ^. p value = function (v,s){
) Q! J9 _' R/ W. N/ C- a var $n= $this (v);
3 z' j7 t9 x- e$ J7 q7 ] $value = function (){0 g4 R" ]0 T6 P# @; b5 x- h
u.value = $n% p; t8 P# q& L' @3 Q9 V3 T
}2 q& p$ O3 [1 g
$for(s,"$value")
* @: k3 d4 z; W9 C2 n" T }
1 q2 G( d6 A0 F# W! R7 t/ R& p' L6 ^3 L
text = function (v,s){
8 t, g" R& c6 D7 O* z; `: u var $n= $this (v);
* G! i+ L2 ^1 _ i, G9 d ^ $text = function (){
: E+ s. a3 g( |/ z
% A5 a, W2 W) j) d5 h1 S2 h u.text = $n: }3 _& E' S# ?5 R3 D3 K5 ]
}
! K2 S: W& |* A $for(s,"$text")
' _, f+ n2 I n( C# @& @. T7 D }
# {, e+ n7 f2 J: b! q6 C: x
& z9 ?0 Z/ v: Z9 X) ]0 ^4 t, F innerhtml = function (v,s){
: r9 G+ |$ D9 f. S9 |+ g* r var $n= $this (v);
1 ^( k- Q9 b& G( c$ E- ] $innerhtml = function (){+ z6 r7 c" P9 d4 j- m
u.innerHTML = $n+ j. j8 K" n" P2 L k; ^
}
; W: U& E Q3 ]4 ^. i/ W' G' L3 T $for(s,"$innerhtml")! S2 S8 S2 x8 m8 ^' V
}& w) z. X+ {* I: L2 }& F
. v7 W7 W- V- W
removechild = function (s){
; T. Q$ K# P5 q6 E9 y $removechild = function (){
2 V9 K- i Y& N u.parentNode.removeChild(u)7 h3 V/ N9 h3 O( W
}
& d2 B! D% \9 W3 ]% j2 ?8 | $for(s,"$removechild")
8 b! J5 e( c! B& Z! u4 k. D }. Z" ^0 ]5 c0 }& Y. K4 Z. z) r
" | [( Q# `- N& I6 F $this =function(v){6 y$ W/ m% b5 \1 W9 Y; N8 S
if(v.indexOf("this") == 0){
" M# U, _/ C2 O8 {2 w% S return eval(v.replace("this","u"))
s/ I% H. g2 {4 z$ E }
$ T( w6 u, Z( B0 e return v;
d# I1 \4 R) k }
& W. R, f) }- S1 C/ }$ V7 Q+ F4 a1 [! Q4 {
$event = function (s){1 t, ]- D% n1 R; N I
var $n ="u."+s+" = function(){$work(this,s);}"$ E+ C% h8 Y. g! A! B/ o% |
return $n;% F$ o- M8 e) R- n7 v% g
}
& [4 N0 v* S) s1 w; V6 U+ ]# T" X( |0 d
$replace = function (s){# j2 l/ Y( x1 M S. n" ^
* ~- u1 g# e O# ?! ? }1 ^! l- M* u3 m
% l- K9 P% l$ n3 j$ k- W6 S' v% G $for = function (s,c){
; f& c; \( x! u' G/ j2 |1 I: k var $n="this."+c+"()" ;
& v' n# g9 l0 d# P, d% g: i if(s!=null){
, G: A* L4 U: P+ F: o$ s' ? var $m =$test(s);
: H. _ W- v- |7 d for (var i=0;i<$m.length ;i++ ){8 g1 J8 {; `" V0 {1 Y ]
u = $m<i>;
# c& d/ r: n2 i/ p% A eval($n);
& u# r# y0 L; |2 N }
1 c, f1 A) ?5 ?. x* q. o% P }
9 \: l. e0 n/ p$ Q' G, ^4 J else{
0 \# U4 ~; w) D3 u( M: A6 o0 t eval($n);8 z& P- a& |6 z3 } S1 H
}
- @( C, A# `+ M, C. l }
1 D9 d' Q1 Q- ~# g / _0 L* P0 d1 r$ @1 C2 l
$test = function (a){# a/ ]3 V0 V8 M% \/ \
var o = new Array();$o(a.split(';'),o);! n( S+ T9 ]5 C: B7 u
return o;
2 B: e m6 ~! @$ } }
4 H& y) A" c* \* V# m" e$ Y0 ^* G d; b E6 T( [5 c0 @* \
$format = function(s){
& C; g5 M3 u# s1 i, Y/ |; i& r while (s.indexOf("'")>0){# K M* I1 F9 S5 k( N
s=s.replace("'","\"");
8 g5 I B, ?! K% K }% W2 ~' I" w; A; _) d6 w+ k: K
while (s.indexOf("][")>0){: D7 c: K, p9 g$ r9 q: ~
s=s.replace("][","','")
" F# I+ T3 V1 k0 ^5 t B }
( b$ k# W' p4 L# k Y% w) s while (s.indexOf("[")>0){, U$ T$ d/ U$ w. C
s=s.replace("[","'").replace("]","'")) K" f1 {% C+ z( v5 ?, _% G
}
4 `! M W; Q4 e7 b3 x3 V' P return s;7 C( X h% t% Z: o k U2 A4 M
}
, ^1 O; D* m j+ C( o" M" d% [' Q0 }& \1 d( }, e
$work = function(w,s){
# Z+ q0 B" B) P9 N/ E! A u=w;eval(s)
0 J% A0 g" g4 i }
& C" S8 z: G- Y T4 p! ~( y4 `, \$ p3 Q
$id = function (s){
, h7 X+ |+ L8 o* ]& L/ \3 e8 U5 x" Y return document.getElementById(s);
$ c% @3 {, k+ O) m3 K! a1 B }
9 n* l' t* F4 d& T; N- C
" C* _4 y' h: R6 n $name = function (s){
9 F) x% \7 ?4 e* y3 \" O o) \9 E return document.getElementsByName(s);! X4 c( C: ]1 n, W
}
2 B" F7 p9 V9 _) t3 N: Z0 P1 q1 x
, I. B* I) C( _7 N1 O; B: { C. G C $tagname = function (s){' M1 \( c5 t/ n+ D# k0 N" t5 o( C
return document.getElementsByTagName(s);1 L# y8 d' L/ j! R
}* l$ S; q" I# m) e9 y4 ?6 l
* `. K# b( ]+ J6 T4 M% I
$o = function (a,o,c){
/ ]6 g8 f! e: C* b9 D: n& Q, t $push = function (n) {
, u" C; @% @/ [4 u for (var i=0;i< n.length;i++ ){
; r1 T6 T- u) D4 A3 z, A- S o.push(n<i>);3 V& x$ p4 s4 n6 Q: N. R. W2 ^
} # L! @ H: y3 @: a% s
}8 i% D) d, g! i6 N3 `) X
for(var i=0;i<a.length;i++){* o* h0 _% a6 l! c
if(a<i>.indexOf("(") >= 0){5 L4 Y! m: Y/ m1 v4 N5 x. d
c.push(a<i>);
O( [( l9 B- ^4 l o( C }0 J# h9 K R: O$ F, Q6 J* L
if(a<i>.indexOf("~") > 0){' u8 r, z$ M' U! U# R6 W( d+ w' h3 J
try {; e5 d9 Z' ^8 g
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));2 e9 y1 J. e; Z; H5 {3 x
}catch(e)
! E8 ]2 U. f6 \ {} , `0 a4 X, y3 H# s' E$ @
}- f- f1 f% a) i: M* Y
else{
0 j2 n; j5 R* H) s; m if(a<i>.indexOf("#")==0){5 R% B/ |3 v4 R8 h3 \ p5 J, h" @
o.push($id(a<i>.replace("#","")));
- v. F8 d4 _* K$ h4 Y6 i }
7 w- S0 ]. e5 V, W" C( J& V8 M if(a<i>.indexOf(".")==0){
' ?7 Z& g5 @7 Q9 T2 d $push($name(a<i>.replace(".","")));
. g, J( D. ^, R } X9 [! T+ R& Z8 U# t7 Z
if(a<i>.indexOf("@")==0 ){
( c/ l z3 b7 | $push($tagname(a<i>.replace("@","")));
& t& d8 W9 h+ M$ Y) ] }: ?) x4 Z& d# q! w! l
if(a<i>.indexOf("*")==0){* | X( R$ P& K
$p= a<i>;
- B9 A; ?. ^- R+ w5 q# R% m if($p.indexOf(".")< 0){
# u6 j: Y% g7 [( T $p = $p.replace("parent","parentNode")/ ]! q: q: q: Z4 S& }
}, n' q2 ~# [6 H3 K5 x4 ]
var $p ="u."+$p.replace("*","");& l9 R9 O F- A9 w* G2 M& b7 m2 G2 x
while ($p.indexOf("parent.")> 0){6 M3 ?7 ~) q- m; C) `" a! q
$p = $p.replace("parent.","parentNode.")
4 T/ D( e" _% }) e- b }
" Q- h3 N% k2 O7 G" w7 y while ($p.indexOf("child{")> 0){
) b& O8 ~8 s9 Y6 R: }% O: G $p = $p.replace("child{","childNodes[").replace("}","]")
# f- ~9 j4 t5 a5 w. i }
1 I" k6 m8 q: [ o.push(eval($p));! f. y, S5 N0 f$ a( n; k1 q' n
}
) i5 l* D6 K5 m6 V, y- q4 J" { if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
2 v$ B! T1 m" I# U o.push(eval(a<i>));0 h" C2 e9 a H
}' z* J0 `+ Q8 e2 k( U
}! ? o Z! w% J* f: h( @, R) \
if(g!=null){ ; p8 A" X# x' A/ J- d
o.push(g);g=null- Z+ j" M/ C$ G+ F; t5 ~
} 9 G4 C5 a# x7 G5 A! u+ b. N' s
}
# U1 q( t+ D; n. k }9 l a R( O& M& Y. q ]9 ^
+ T1 M3 t5 k, d3 i' E" t3 k
$o(a,o,c);
$ W' a+ j# C$ l0 z5 Z$ |2 W D) A, W1 r( e8 a4 `! c: _
for(var i = 0;i<o.length;i++){% z4 m3 j6 B+ X
for(var j=0;j<c.length;j++){
- G j m" {2 Y& g u = o<i>;eval($format(c[j]));
F9 E( e2 Y; D }
8 }& k3 Q+ U. L- g" U3 l3 n# S8 L }
! r, p8 l& b" W. I- X8 G h" D" V# g7 i" u
if(o.length == 0){
2 ?0 k4 C' C9 Z2 H* L5 R for(var i=0;i<c.length;i++){8 Y! g0 A K) k/ Y2 ^. }
eval($format(c<i>));+ ~. T' @# w% N: d7 U- Q
}; i& q7 h# t1 a
} F! d, d8 q5 E- ~+ \8 N; O9 R# [
3 Y5 n9 C/ j5 T4 y% E if(r!=null){
" b3 w2 U3 ^# I7 V return r;
* t, W w, {6 T+ e$ q# ?, u }, y* [9 |! x# A
$ b- G. \, z- F9 z" P
if(o.length==1){+ y: [' p3 {9 W# \. ^5 p8 z9 E
return o[0];
0 {2 i2 b& z: w7 m) r }
5 A/ P9 F& H* \7 V" h: D8 _ else{3 z5 x6 `# k+ Q
return o3 n3 E; }8 F( v5 Z
}
1 ?* q) F3 \; g4 |: g. B! [$ @& ]9 i
1 G; A2 q/ l) I' k% U* m3 a1 u }2 I# T4 J; y& A7 {! s* e) i
var lrc =$("#lrc;show()").innerHTML.split("[");
$ g& A; M& Z# v% Zif(lrc.length>5){* s) I- r" V6 |% R# _* j$ ^+ ~
var array = new Array();
5 ?" ~9 v R# S+ n1 Ofor (var i=0;i<lrc.length ;i++ )
' Y$ G1 |; G8 G9 T, ~7 J( G{0 Y' o4 X ^/ N& _. _
var g = new Object();
& i. A1 B5 ?4 B5 V6 i# y' L4 C5 v t= lrc<i>.split("]");! K2 x0 J6 b: u
g.time = getTime(t[0]);
' \4 n! ?/ f9 T2 B m if(isNaN(g.time)); Z) v" s4 k. g, k
continue;4 [! U! l: R% L: F$ @, h( \
g.c = t[1];; S' |# L' p0 O6 O ]3 N9 V, `
if(g.c == "")
+ C( ]+ o B' X: i- v; a g.c = getNext(i);8 C+ w" w% H+ u& ?( r
array.push(g);$ W- Q* I; z5 F) y( \2 ]
}
; R Y: e6 z( n- E; Z9 `* [1 Harray.sort(function(x, y) {/ ~4 p: M7 h* Q) V5 [4 b5 f6 j
if (x.time>y.time)
" K* p' c! ~- C) [) E6 X return 1;
& X W+ m) Y! S else if(x.time<y.time)7 r1 |* w' v1 R
return -1;* ]; N8 I) [, F6 {8 O9 `7 A5 }
else
3 o! w' g" @& G: | return 0;
8 W' x3 W* U# q }
! g% A# V) s1 ?* T+ ?- j$ ]);
: A4 B4 B1 M4 p- l9 {for(var i = 0;i<array.length;i++)$ J( }, m- K6 h, H% P5 `
{
' q9 q3 p' R8 b7 b; m. b var g = array<i>;
2 |6 X/ ~, M' L. J- U- } if(!g.c){
, C3 {; s5 E2 K) i. ?8 k# ~& T: u g.c="";
( v) T L) e6 q4 }) I& u0 b/ G4 u }6 _6 K3 F7 M* o) r9 ]! B
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
5 `) [! e# L6 R1 m}
( x ?1 [9 [% @% avar time = setInterval("lrcList()",500);
8 Z! p/ n& \; {1 }& k: y& ?# x}else{
( L- x4 J) b8 @# U7 t+ ` O $("#list").innerHTML=$("#lrc").innerHTML;
' J) K8 y& l* |: O, t0 C}3 u* H. {! t$ o
function getNext(i)
* G5 n! u- e( K6 K/ r& b/ K{, F4 [- s8 ^; O( Y" ]9 D
var result = "";3 l8 r% u+ E/ X" p
var i = i+1;6 M$ U- e) r* |0 c# @
t = lrc<i>.split("]");
+ u0 w6 _$ J+ x! W$ \; @ if(t[1]=="")
. F" T' ^ m1 V' s& a6 G9 A$ f1 m result = getNext(i);! L2 U5 e4 E6 m f
else; o3 S( u* l; @) H, @
result = t[1]
4 r8 c6 C+ e# E return result;( Q7 N5 K: y3 i* n
}& ~. m6 u/ B5 t: q5 l* l4 B/ {
3 S/ w7 ?7 R( F" G* Sfunction getTime(str)
/ g( M' v2 h" ]. w l5 f# E{. @& n2 U1 A2 a1 }( x( w
var time =0;
' g; z" L9 Z# o var ta = str.split(":");/ |' Z8 H0 W4 n& d1 D4 A5 Y
if(ta.length<2)! s2 ~& l- P& p9 ?0 w
return time;
2 M; U/ o* x% O; y3 b* {# a [6 P, H
if(ta[1].indexOf(".")>0){. P% Z7 ]* J9 ?
var tb = ta[1].split(".");
2 b6 U* F! \% ~' P, H5 E time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;7 d$ j9 m% N5 n* q0 N4 u+ }3 H1 g
}' m @6 y; M8 A; H( C2 C; p( f! \/ T
else
7 B! v9 J7 t( H time =ta[0]*60*1000+ta[1]*1000;/ }$ n6 ~8 g& K- a5 a. H
return time;
4 y: i5 c' ]- z& E& \' B; L}* n7 S1 q5 m+ ?
var preTime = 0;
/ l) f0 z. W1 D, V; Z& I2 s4 Vvar nextTime = 0;) }1 `7 D( q/ |
var currIndex =0;
. Y7 s1 d0 E/ ^2 x* }# Z: o; \% Y: r$ Rfunction lrcList(){
9 l/ h! @+ r. N# z/ j j2 o7 d var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;2 H; e. o+ l2 W! [
s = s*1000;
4 |7 w+ p" Z* d% m! d. E if(s==0){
. S2 r( D& Z" C currIndex =0;! g/ h7 W5 z% A* }* ?
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 n/ G3 W1 a, Z z1 Y
for(var i=0;i<array.length;i++){
" u" {1 R7 d3 Q X+ w document.getElementById("lrc"+i).style.color=colorNormal;
* E1 \$ k6 Q* ~ }! w9 b4 @ L2 m2 c! \. H: G- O# G4 Q
return;7 M2 N) S% U, s9 U" Y$ |
}
1 G/ @& w& I- V: `# L if(s>0&&currIndex<array.length-1)
& ^& V; p" H3 s$ u { $ i% |) Y; @5 I
preTime = array[currIndex].time;
& E1 t5 B6 L( }4 c + \" D: { Q9 A3 S }6 @/ B1 e
nextTime = array[currIndex+1].time;
# H* K1 n1 Y2 S. P0 D: q 8 ^; K7 u# L7 O1 S5 ~
if(s>=preTime&&s<nextTime){( s- Q; h6 L G1 a. b4 l# v
}
$ a1 |% q) ^* k4 p# R, s else if(s>=nextTime)" u) k$ r @7 ^ x' E4 {( Y
{
+ u' O8 ?: ~! O: Y8 a) ]+ w document.getElementById("lrc"+currIndex).style.color=colorPasted;
- W. F( @4 a6 l currIndex++;
$ e& @' Y( x% ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;: f5 r) ?* W2 Y% y
document.getElementById("lrc"+currIndex).style.color=colorPlaying;) F' |* R' ^6 I. ~* w0 W3 w: |
lrcList();
* Z, f! N( A) `7 i5 V }( U/ _; z4 E+ W4 B2 H' C
else{( l! V+ b, t( I( S* ]
document.getElementById("lrc"+currIndex).style.color=colorNormal;& [# r+ A& }$ e% |' Z% F- G8 u
currIndex--;
& \2 {8 g7 C# r9 s2 q X $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
8 b% G( T+ }, W) D4 A" H { document.getElementById("lrc"+currIndex).style.color=colorPlaying;) l! e% ~* Y" w' p
lrcList();, H! V$ N& `) L
}
+ |! q* W, Y1 r, _9 e% f }: ] R; {+ Z7 ~, ^9 J {& E* g
else6 `& f0 J6 J4 \/ Z% _ l+ T6 l& s o
{: C9 M2 N# S J; }+ J4 u
if(s<array[array.length-1].time){* F# v7 ?9 n' f. l; h; b
currIndex = 0;
1 h% @, e! C) L# C" E $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 J% A/ k% I* P" K; p9 v% Z: s
for(var i=0;i<array.length;i++){5 z" L" R( B8 D. K
document.getElementById("lrc"+i).style.color=colorNormal;
( J4 a% h( H* p: n" O }
+ k! ?7 `4 }' @5 @! ~9 a$ x8 i lrcList();
0 a0 c8 Z a- Z& N x% B& q }( d' {8 h8 y' i* X8 f# k% C% Z
}
( t ^ b$ D z: D}
2 x1 t: {5 ]! i# d. u</SCRIPT>
9 j+ h" f( f5 M3 [) y</DIV></DIV>1 O% i, i2 d' s. L# f; d, [4 W+ y
- n5 j0 z& E$ {$ U# B+ {[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|