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