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