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