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