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