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