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