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