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