|
<DIV id=list>6 R2 M" L6 F7 x! F1 @, `
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
4 a6 i' F2 _" v7 r( Z<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
/ a g/ C2 w" {" O3 h8 o<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV># K1 N5 Q/ `0 f y
<DIV id=lrc3 style="COLOR: #666666"></DIV>
' N5 y& ^1 N# z$ f2 b; P' a7 [<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
; U, s G- Z" `# [, s' a& J. n- M<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
; n! f$ q# \0 L5 ]<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>: T5 c- W6 a! E1 H& x9 `3 T- o
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
# d; T1 @& j' B; V/ Y, G<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
4 B7 B. @' n5 ?0 r% s+ W<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
/ V! {/ o' ?( b2 A# V<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV># |# k( }" r6 w' ]+ y
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
: _: _) o6 G! D7 ~# a5 V7 d1 ~% u F<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
2 ]9 v! x4 B1 V) ~<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>, h- k6 I3 }/ k6 ^7 a$ @8 z6 b3 w
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>2 H- O. n' w2 l0 t# X" Y
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
' G$ _+ y5 {' v' b<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>+ Z& e5 E& J4 w$ C: W
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>; ]* N% V& K# r$ O- p
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>" a5 u4 Q( v' s
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>6 D" H w( `" f9 @5 p* W9 V8 I' q
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
% i8 Y+ W1 u7 \6 v; t- T<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>4 P7 e/ |' N6 D* X, [
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
! E" t9 t5 s+ l- S+ ~4 P<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>0 ?8 N. N S0 K. y) D
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>2 E {( a" B% t' @: Z& m8 o
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>& w# T+ L4 N4 z* I# @. I8 u
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% ~+ ?, A i& w% t4 N<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
, A( H; j. \# m& z4 i<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
! q; C1 M" n5 J" P<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>5 D' g* j' p! b0 l3 X5 U
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>5 R5 j# {0 t& X' r4 R- x
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>; J w6 C$ d. q% b2 T8 E. N
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! m8 H; V; J2 X0 E+ \' W% D
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>! Q, [ A L' k2 ]8 j6 [
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>+ a& H4 t- J5 |: H& D) r
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
4 S$ ?) r( @3 e# x8 Y<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
3 E0 m& x3 D/ g1 _4 q0 u<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>8 d/ {% V$ W$ p
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
( H- s- S+ n+ a, }: G; A: ~<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
/ I3 [2 v9 q Q: L4 {+ @<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>. r1 T ]1 l$ q: D
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
' c. f; c: l" [& d. g- Y<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
2 l. h: o# M: G<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>7 L1 }# s6 ^2 X( k( T
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV> D/ k% d; |! @
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
: c2 j% h: t8 J" Z, x: _<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
+ ?: l9 E9 `" v* y- ]<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>8 m1 p/ c5 s% Q9 `- J+ t" o: |
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>/ h6 N' Z2 w, g* z/ [
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
* w* Z" h' K ^. h: M' V: j<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
% r9 C) ?5 A& B4 l<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
/ c9 q- G; X! R f6 q& z: o+ |) Y. U<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>8 B0 }8 V' \( c5 v
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
/ c* [$ w7 Z5 I9 h* K<DIV id=lrc style="DISPLAY: none"></DIV> Q' @0 J: Z! L8 Y. ^) T
<SCRIPT type=text/javascript>, r( ?' [9 a. r5 ]
document.domain="1ting.com";& ^' y. v+ v; z V2 @
var colorPasted="#666666";4 x: P- c' V+ v6 i9 L" I
var colorPlaying="#ff3300";
0 ~: C8 @+ a; T: N3 X. a' Jvar colorNormal="#000000";
% ^1 h+ ^7 z/ v/ Z$ = function (a,g){
2 p. Z" b- P& v7 ~( y6 `' m var o = new Array(); # a; |" D8 G7 t; [
var c = new Array();
% x2 U6 o2 l; T- G. f% S var r; 6 [& y. n; |, h" Q4 y* Q* W
var u; 7 v) A& ^3 [6 v" m. a
var a = a.split(';');
: j9 c9 k1 q* h
% e/ m; B% Q) ^ k A: {( S var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");2 U: Y) X- R2 x6 W4 N9 D
for(var i=0;i<e.length;i++){8 u. E1 }/ `7 n2 P
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")' k. `# L3 \ }& u) k7 G% W
}
2 I. x* @7 U/ ? F6 o* Y7 I: K; q2 I) @6 S; p6 |2 g% N- e6 E
after = function (t,d,s){" p+ ]. _" m$ ?% U2 f
$after = function (){
& y4 k/ o2 |( c& y9 }9 A2 t6 Z var $n=document.createElement(t);, h/ |+ K7 g8 I7 n: G
if(d!=null){
- p: y: f& L3 N* r" W* Q $n.id=d; 6 W6 A/ k; d4 u. N$ {3 M$ Z. |" H" i
} P/ J$ T0 z8 N U# ?
. K6 D+ K) V9 f# N7 H, W
u.insertBefore($n,null) * ?, a% T- z0 b/ ~
r = $n; $ l {6 [. {" }5 V) I+ g% _9 r
u = $n;
1 L8 I8 l- w9 g) ` }
+ u- f; U9 Y1 V3 _) A) E" w* W" C $for(s,"$after")! T0 A, a- f6 [, S, u: [! c+ z* _
}
0 I# {5 h% |2 ]( O7 n: U0 a) h+ e0 S0 S8 w
show = function (s){
8 t6 O( W! c N$ {& c0 f $show = function (){4 z6 J; I8 h0 h4 A6 D
u.style.display!="none" ? style("display:none") : style("display:block") ;
2 F V# C6 z3 s: O+ |" g, | }
: |+ b0 ^# D- Q1 ]0 s1 g $for(s,"$show")
! w) z! k8 `- C$ @! Y) s }+ x9 t% T0 V3 |! s2 s$ R
% F$ o9 ?! v* v& \; `- i
check = function (t,s){
3 S" |. a& f6 c% i; Y/ ^5 ` $check = function (){
; ^6 Q2 ]- c) ~* w if(t=="2"){
3 y2 W4 T6 Z6 H4 Z2 {' w K5 ~ if(u.checked){" l8 I- U4 d* E+ R* |/ W
u.checked = false;
/ c# T4 E: `+ Y; [. f" y }else{
5 [( N% j' r% v, S u.checked = true;% K! R# V# \7 {6 w, U
}
3 Y o W* @0 N. b; w }else{
, h4 o7 D/ Q9 H2 S u.checked = t*1 ;
8 U( h, f' K. ~! b! k }1 U5 { Z. C7 u8 `% {
}
8 K! V2 @* |1 m+ A3 I' L3 ?& W $for(s,"$check")
* p7 X$ {- T; G0 A6 G0 u! j }
E5 C K6 o+ J+ G5 a" X7 K" F2 Q9 U& h9 f" q9 _
style = function (v,s){
x1 d7 q" ~& x3 d/ ~! u- _ $style = function (){( e" ?. f5 H# W+ V9 [% x R
var $n = v.split(",")
4 S* P3 R; Q' q u for (var i=0;i<$n.length;i++ ){" w; U3 [0 W/ v, a+ P- R. N
var $m = $n<i>.split(":") ) q/ ? h; m7 p' _2 c1 Q/ r# }; W
eval("u.style."+$m[0]+"='"+$m[1]+"'");. L, Z2 Y$ `& V
}
. G& z* Q3 n1 g: |$ e }
3 ?* F9 N2 u/ L, L $for(s,"$style")( t9 N' [. X# _) d+ M
}7 A2 k5 g3 P4 }% }
2 A3 O- t9 C& B; V! Y
value = function (v,s){
0 j1 Q$ ] P+ ^% R! Z/ i9 [$ T var $n= $this (v);( T" O, X1 S: X( J3 e
$value = function (){' D5 H3 E$ {9 F, R0 w) B
u.value = $n4 E ~: `! I4 {; y
}& [0 o |$ W+ `4 l2 N; C0 A8 u
$for(s,"$value")
! ]2 L3 ]* j* {; k }" P1 o1 v8 W. S0 J3 |+ ^, K/ T
C3 g; [& B4 f. [
text = function (v,s){/ B; o! p' N; h( d; i
var $n= $this (v);2 O G, {7 _! D- V% ?' L/ F7 Z; R
$text = function (){
9 A3 E U" ?( i5 `- e) a: Q' E
$ a+ U F, H& a. \# e$ s& C u.text = $n
. D9 x, Q) [- G8 ?+ z }( c K3 x/ C1 e2 G9 A A, g
$for(s,"$text")
/ E- q9 G" z2 u3 P7 ^ }
, W, F: O# F. d5 W+ q3 P% @2 w6 Y! G+ \/ E) n9 I
innerhtml = function (v,s){1 E+ p d. a8 N6 t: H
var $n= $this (v);
^9 n8 f# e+ i $innerhtml = function (){1 L% G# L7 I* ^: S7 M* G
u.innerHTML = $n5 e, }) ^5 o/ [- s- k( d& |( b, ^
}: I) C/ Y: J+ j' a2 O4 C
$for(s,"$innerhtml")! l; `5 [( @1 X1 R, B
}, X! t4 q1 W" I) r, J; S$ W8 `! ^
1 z5 C+ j/ y8 Y! x6 n: @
removechild = function (s){ i8 @5 H) e9 H
$removechild = function (){6 p+ L0 c" S) G
u.parentNode.removeChild(u)
% U6 S1 d) V M3 v, J }
, u" S: Q# W% N( b0 T* F $for(s,"$removechild") v( K: M, J) a( Z/ ?, Y5 c- u
}
' c8 C0 m! L% s( e# ^; j( r
0 e) a! n0 c4 z' a1 q $this =function(v){" M! \: `9 a3 O/ V+ t
if(v.indexOf("this") == 0){
+ E; u$ }1 j7 Q- W. m6 l7 G5 D. v return eval(v.replace("this","u"))/ W% `) A; Q8 @) C
}
, z, y4 k; [. V$ Q return v;
( ^ ~' N4 \1 Z }3 w0 A8 g: |8 g5 B0 t
0 A9 a- l! v8 `! j; ?% p3 X8 k $event = function (s){/ n/ e3 i3 a- w! n6 @
var $n ="u."+s+" = function(){$work(this,s);}"
b$ e# a" F# Z) Q7 R) y return $n;2 t1 _! o2 u/ [
}
+ n7 Q6 y. O( o9 |. w& w
& z9 o' s1 v' S0 g: U3 b" Y9 k $replace = function (s){/ j, t; X1 \, ^
& ^* W7 C5 v1 t5 H+ J }
5 @. f' u. G0 M8 @0 s |# R/ u' k {* O2 N' ?5 z0 K
$for = function (s,c){
5 ?7 K9 _0 y9 E0 m. s; O. f M var $n="this."+c+"()" ;
7 b) ^/ Y$ o; j2 K+ j if(s!=null){
& C8 ^* _5 g' p% u var $m =$test(s);
4 k( c2 ^% s" ]) o# v) x$ o4 w* R( e for (var i=0;i<$m.length ;i++ ){3 e# y% U; h. F* a. {6 M
u = $m<i>;7 v- ]) ~; {! n% Z* M& h
eval($n);0 Q5 `: p) q; c5 M' z, Q2 w7 z
}
( D9 ], h7 Y! B# P }
# Q! R/ N# Y; f. p else{. w$ r9 [1 {/ C% T" z" L
eval($n);: y Z9 `: Q! F1 _0 t% D4 z1 L) h
}
% X" ^9 i9 \( i J }
( T3 ], `' w+ S8 z
/ u m7 p6 C A0 U $test = function (a){
& ?) y% c0 y; H$ ^ var o = new Array();$o(a.split(';'),o);
0 ?2 }" \6 g o5 m! f; G* e) I ` return o;7 q$ s1 _$ N- T4 B
}" F) L# S4 Z, n i+ j; D* w
. W! K' S/ ?8 r# K4 j; O $format = function(s){9 R& s7 A. t& X7 C% V0 D
while (s.indexOf("'")>0){
" ^. ?8 R6 T5 I2 ? s=s.replace("'","\"");
% \4 l) g1 @, ?' T4 E }
6 F( y5 l; Q* m1 r" J$ J while (s.indexOf("][")>0){# \+ @2 g# _2 J
s=s.replace("][","','")4 u6 L- b% h L% F7 _
}! F6 w, A3 u, g7 e$ @
while (s.indexOf("[")>0){# g' _. O7 z V% ]1 P1 ^
s=s.replace("[","'").replace("]","'")( t! }* \0 |. K4 ^0 G2 }6 l9 D" H
}
, W" |# M. J a, b return s;6 m' J2 y9 j( ^+ c9 x4 D3 L
}
; K. P3 k, C8 U! H* B
% L) c g7 u0 |0 k* q $work = function(w,s){
; ]) d* Q. e# d; h u=w;eval(s)7 \% {8 i+ f* q7 W( v9 E9 K% P' f
}# t5 W4 i; n' M* D3 s
+ {8 _' ]" H6 E
$id = function (s){
% N" l. }; n( ?' P1 ?7 i# { return document.getElementById(s);, y R$ Y2 O4 n. p4 F
}
E0 w1 M7 s- _$ z$ E+ U( x9 ^6 X5 V* {( U9 U% s' s
$name = function (s){+ z' X x9 S# U7 M
return document.getElementsByName(s);
?. {& U5 [; i: |5 r1 w. V, B% f } x |" y9 p: f4 o
# S, L$ t% s% `' h $tagname = function (s){ G0 S h; [* z- h$ R M
return document.getElementsByTagName(s);
# N; ^3 Z/ }4 b9 k! @ }
$ U) }) I1 r5 f$ y4 w
7 y4 @4 {1 O2 t2 }/ r+ k4 Z $o = function (a,o,c){
9 [$ K& t& J& p) ]; M/ b; }% f* s $push = function (n) {
- m8 }' I9 t- k: D6 J ~ for (var i=0;i< n.length;i++ ){
! l; F% v( g7 x& V o.push(n<i>);0 Y# D" \ f9 x3 K, E
}
: X4 V2 ^7 V; c }4 R7 Z" b. r& M
for(var i=0;i<a.length;i++){
' |' g* G4 K7 M+ I2 f; y0 C+ I if(a<i>.indexOf("(") >= 0){
0 r: }, G+ H+ E1 H/ P9 O c.push(a<i>);& W( b1 A$ c! v$ c
}) @ F$ f0 W$ u C" E$ g
if(a<i>.indexOf("~") > 0){4 n6 `) Z e1 L8 x
try {! ^. ^& m1 [8 U& z. T
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
4 h2 d0 G4 v; r# y$ X1 P }catch(e)
3 ]3 L0 g! @: `5 L9 y$ l {}
: j/ Z0 c1 `$ T1 o; v5 g f3 Y, U. X }
4 x1 F9 g% I( k* {" Z else{2 V. [/ u* W+ b. k8 c7 q
if(a<i>.indexOf("#")==0){
; s! O: R8 ]8 h! y8 E( G1 ~ o.push($id(a<i>.replace("#","")));) H8 M1 y4 {* I7 m0 E |0 j
}% J, \$ o! i& ^+ N+ b3 n
if(a<i>.indexOf(".")==0){( {+ p6 {% W5 _
$push($name(a<i>.replace(".","")));
/ {6 [2 Y5 w1 V! X, y1 ]( i: B }5 m$ h" l& |/ _, g2 k1 \/ a
if(a<i>.indexOf("@")==0 ){, T- s0 R) U: y$ R& g3 O
$push($tagname(a<i>.replace("@","")));
' C0 V. N3 i+ @ }4 x8 E$ t% O# v
if(a<i>.indexOf("*")==0){, b* w7 q- l3 i& d, h
$p= a<i>;
' u, U/ Y: t. P if($p.indexOf(".")< 0){
& {; @& a" |, ^ U C9 ~2 l2 g( Q $p = $p.replace("parent","parentNode")
, A, C7 j5 f t i' ?7 ^ }
" l' c! L, F* x! H1 z/ K7 o var $p ="u."+$p.replace("*","");
% a, l0 X& a! | while ($p.indexOf("parent.")> 0){
3 A4 c2 }1 @- i6 V6 R, T: n( Z. H $p = $p.replace("parent.","parentNode."), K$ m8 Z$ [1 J$ p5 S+ m
}) N; `0 n# l" B/ T% y: n- H7 x
while ($p.indexOf("child{")> 0){! o/ L7 X& p% ?1 S7 q! M! X
$p = $p.replace("child{","childNodes[").replace("}","]"). B4 G. X8 I" X8 l- Y
}
8 t( d* {+ H; [, l+ @' Y% o0 ^; H o.push(eval($p));* W% a+ c0 G$ R% h( K
}
2 s( g& j f, E4 I$ P0 Z0 |. t if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, s. I$ S/ M- a/ m! u, b
o.push(eval(a<i>));
9 G, C# e- ]% r }! Y# r) z; J2 h$ p
}* ~& ?' b6 u4 y: j/ J7 s
if(g!=null){
" E3 n- D5 i. @4 @3 S1 w T: K o.push(g);g=null
8 @5 f8 W' B" Z/ K( l } / }, M% ?1 y! M8 [
}
) P2 l4 X- ^8 D! k% x4 @- J* A2 X6 \' x }6 T i+ d, V" ?, t& N' ~
. |7 q$ k/ x S5 N) _
$o(a,o,c);
1 I9 [2 Y l: k
! a! [$ j! g9 y' D( Y for(var i = 0;i<o.length;i++){( O Q( S. z3 U: {6 F! L* B
for(var j=0;j<c.length;j++){
6 C/ f" _9 Y3 X: G! ~6 \3 o( i u = o<i>;eval($format(c[j]));
7 G- l& O; \! N+ u, H }/ Y' @7 r8 r8 d( G+ N+ x
}% B3 l/ @) |% }7 W# k/ t/ a
7 E- Z: c3 T( \ x5 d3 a
if(o.length == 0){- d5 r( a0 R6 F' b; B) \; i6 Q
for(var i=0;i<c.length;i++){) ]4 S! r" k0 e0 r3 {
eval($format(c<i>));
+ V) |5 J+ k3 O% }& H, P }
" X4 w) J7 F! N7 f' |! a" h }$ ?8 K6 Q x; d+ P& n& c4 ]
% G( W8 M9 C6 M if(r!=null){
9 I" S& D* t Y( |. V6 d+ S2 j return r;0 x, J2 c7 A2 j; A- z8 U( j! |* s
}
& K! G2 [. S1 A5 A$ w0 S; A # j% t4 u6 X9 Y( X& h& n
if(o.length==1){
& @7 r8 i2 l8 i7 @, L5 {3 I return o[0];
. E7 c$ m1 }! ?" W6 m }
. S; t% B+ N9 Z5 b N else{# Q; O" j& x- L# r; B4 j
return o" M: q7 r: G3 `" V |
}
" n7 A* s' k, Z0 D: k2 z( ` 3 _* F+ w$ ~) y2 o' C4 B) ~; g- }6 b
}/ B5 V* q* [9 [, e8 g( k& x+ o
var lrc =$("#lrc;show()").innerHTML.split("[");
; t, T7 N; i# u& Xif(lrc.length>5){
2 j1 w5 \* l' K4 kvar array = new Array();
+ D- o# X/ e4 ~( o# Z1 A) J5 {& vfor (var i=0;i<lrc.length ;i++ )2 A+ x* r( |# n, Q* ?
{, x. s% v0 l! L9 O: }; v
var g = new Object();8 n3 l4 c8 B _5 ?" ` A
t= lrc<i>.split("]");1 F9 B& E1 }4 M* j9 {7 z6 R
g.time = getTime(t[0]);4 n6 h5 ]* \2 R/ {, k. S
if(isNaN(g.time))
0 V! a; l4 h+ B0 c continue;+ e% c! [" Z- t- f6 g/ O
g.c = t[1];
- w' O' F( G1 D- I7 {. k if(g.c == "")% G$ \ V& N$ ]7 L6 p8 t- N
g.c = getNext(i);% {. F2 Q( x1 o# s. g7 K
array.push(g);, A7 U9 e) h; U
}
& o+ S1 N6 Z% s& U* U0 c: carray.sort(function(x, y) {4 D4 ^' D1 C; V
if (x.time>y.time) : K* ~5 L" y) D c* k6 K2 V0 D
return 1;3 A, s# L; J( L. z
else if(x.time<y.time)
" n6 N9 n7 |; Y4 X& e return -1;7 U$ z c% J- b2 w
else
, U: Z% ~; E: N! F- j return 0;" E4 R' i# k* P% q: `
} " W: b$ j# H, K4 r8 k
);
) S: j2 J; y" S9 Ofor(var i = 0;i<array.length;i++)
. [$ N6 w9 I0 A J9 W{. B( u% ?7 Q) L8 ]
var g = array<i>;- |' G( j, Y [" w9 D$ h
if(!g.c){, _+ t' b/ X4 |0 ?6 z! J; j$ e
g.c="";
* P& l+ C* P! n/ {# ] }
) h: o9 m9 N/ H3 ~! I% l4 y $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";/ k# ?; A) t+ \$ U$ Z3 r. b$ R
}
6 R' Q( e( q1 N7 F8 U$ Gvar time = setInterval("lrcList()",500);
) x' N4 V$ g* Q}else{( q& l& O0 q! E
$("#list").innerHTML=$("#lrc").innerHTML;
& q: e Z2 I g) F: F}2 g% @7 j% e, \
function getNext(i)2 A1 g/ O% n4 a6 a5 {
{, W4 C- n( }6 S8 f, E
var result = "";
% h" N6 y I3 x% M9 f var i = i+1;# n* h( y- M# q0 u6 v
t = lrc<i>.split("]");
% A. y& |# Z; p( y5 t2 A$ } if(t[1]=="")- U+ s1 j) j: r
result = getNext(i);
: S& Q% V, ?9 K else
* @+ V5 w5 f1 S result = t[1]" c2 V$ v- k, P* b7 |% f! |
return result;
' `+ s& U( j: k: q# C}# P+ q/ k; y# w Z
" m, h& _! @6 K1 X& p% t% H! b P
function getTime(str)! k, [6 c* u. K, E/ y: {
{
$ V: C/ Z, {3 @) t( V) |) q. q/ e var time =0;4 K. Q5 X) w0 z7 N, r2 W
var ta = str.split(":");
3 c8 F5 P+ [; d# a# M, A if(ta.length<2); C# @8 s6 q0 ~" J
return time;+ E c5 @, }0 c" @$ P7 O3 C: R
! p6 A" z; c4 B/ ~ q3 g if(ta[1].indexOf(".")>0){
$ W0 B7 e# J' ] var tb = ta[1].split(".");1 _: B/ J' G& z; ]
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;. e! u5 ]/ |5 {- G3 d; Q
}# a# N: R: q d* H% |; T5 a f
else7 _, N* N: c" T W# d9 r$ a
time =ta[0]*60*1000+ta[1]*1000;
2 c( P- O. O8 d( y$ `) C! i return time;
5 s8 U( z' p0 V H}" ?% i" W, S, B
var preTime = 0;) p& h+ F* }/ z2 D7 e
var nextTime = 0;
: @7 E3 p, r4 R0 k' jvar currIndex =0;
. w5 V+ X* S( w/ Ufunction lrcList(){' e- l; y# }$ T7 p& @& ^+ _* V5 J
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
4 H4 {% ^) C. x& d s = s*1000;7 i- \/ Y+ a, y( {+ T- F# ^
if(s==0){* U) ?( W" v+ o+ U! G
currIndex =0;
7 I% x5 Q1 ^' { $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; d, n% M- b M# a. T; l
for(var i=0;i<array.length;i++){
5 e; U- [, {/ G* N7 l document.getElementById("lrc"+i).style.color=colorNormal;. R% o+ D4 G( N: F, y& M& l
}
9 E2 ?# g) ~& o6 a return;
! J) N" v0 U( o2 ?2 z3 T }
0 X7 r% m5 |0 E0 B if(s>0&&currIndex<array.length-1)* d' @+ G, {6 m
{ 2 d$ y: Q; z8 g, N5 j4 J+ I
preTime = array[currIndex].time;" X. a$ X9 k) _0 {
! d: L7 A1 ]) }( z# U2 _ nextTime = array[currIndex+1].time;
; \1 i2 a+ O8 }! K& k8 _% D5 U* t8 } 0 l P. J z( c- [7 m6 f) e. Q) L6 L
if(s>=preTime&&s<nextTime){
+ T3 x2 i1 W& A7 i2 ?/ s }
9 n6 ~ d% D; s# E# @. f+ q else if(s>=nextTime)
. C" F9 F( N) R* H1 G7 [% G {% i' J# d' R6 L. K" J% d ]5 X
document.getElementById("lrc"+currIndex).style.color=colorPasted;+ z- e2 L; N; _
currIndex++;, A5 m6 m! | |: }
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" j, w0 j! l; [- a
document.getElementById("lrc"+currIndex).style.color=colorPlaying;' K+ [ h2 O2 v8 `8 H, e
lrcList();# M% _2 l0 ~0 s9 a! A4 y: I
}# q0 P' L" m6 x" C& g
else{5 ~# P- g0 T! Q% {! [) O
document.getElementById("lrc"+currIndex).style.color=colorNormal;
' D [) g3 M* q' f/ W currIndex--;# ]8 s$ g. U( _9 n# L) Q3 }3 r" f
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;% _, F) r# s" f. V% u
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" i0 ]/ A' {0 d5 t$ R9 \7 ] lrcList();
1 I0 E2 W3 p+ z0 R2 k1 M }
4 H. E5 m$ k0 G& r0 }0 @. { }: j6 F. O; ~0 d. d
else
# M' f! J- H+ b8 n* W0 n0 I {$ K: H, N# O9 T- U( L# n! }, S
if(s<array[array.length-1].time){
+ v' o% u8 n$ U2 \ r" b9 ? currIndex = 0;
3 X- P, f9 h% l+ E, t $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
+ S6 w6 B' N2 T8 y b0 N: Z for(var i=0;i<array.length;i++){
9 E- l! C& a% y9 ` document.getElementById("lrc"+i).style.color=colorNormal;) E$ f6 U1 K% j% a0 [- L0 u
}# k4 c8 e" o) T4 r; _
lrcList();
6 |( h& Z! g# V4 D }
+ e) Z6 j8 F' r7 K m }" J* i( k$ d! E, ~
}
; h$ J, ^. b& ]/ ?</SCRIPT>
8 g3 Y" l: Y! K- P</DIV></DIV>( G7 E$ `8 ?( b0 \6 z% Y; S, |
/ P6 \$ T* }7 O6 N: u6 n[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|