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