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