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