|
|
<DIV id=list>
5 c* g8 K4 V$ [+ t7 _<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>/ q' [1 V, f2 J6 c9 D" U6 \
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
0 X- q7 A# X1 d- B* e<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
/ R1 ]9 l6 B! ?, v* [- t<DIV id=lrc3 style="COLOR: #666666"></DIV>
* o3 w5 T* W/ c" Q0 n: B' M6 q6 C<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>6 A, `! w$ i M+ i$ }
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>- ?2 s( W7 y2 `: `4 [9 F/ `- S
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>4 H6 p- e7 L: N6 ~2 F
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>% \! ?) E/ x+ e; } A! K% f
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>: H# d8 H# E1 ]9 f( K
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
0 L& U; U3 C2 ?! g<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>/ r" Q! Z T4 b% B/ ~
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: e7 ~* F; ?4 ?1 D
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
( s# e7 [+ ^: I& n<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>$ j& V8 v# L v2 U& L6 M
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
: Q& Q8 U, ~$ v8 @* {" q' G<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV># @# u, K- D7 V' Q
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
) \, y& a/ k5 A6 V<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
( F3 Z R. I2 R4 n9 H5 D; `8 K<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>6 P2 i/ }) N" Y
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>9 q& S, [1 d" [
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>$ i' l" j; X: E" Z2 `4 X% }
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>, B9 _: {9 D2 H3 g
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
: Y* e+ b8 l1 G5 o4 n# f. Y<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>2 L0 B4 m: V2 r! G
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
' _) {0 ~! y& ^5 @8 K<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>9 Q: f) ]& c' w' M) Z$ M6 Q
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>0 I: i/ o8 }7 z% T8 c6 z$ r
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
( G5 K& T8 ~8 @4 x% ?<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>! Q- ]9 j+ U/ K Z7 \0 f6 N
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
& b' l t! u0 u1 L( l) I5 ?+ n<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>1 h9 Y. Y8 ~) j; X' M; i( a) T
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>0 C1 Z/ i2 ^% |5 X+ T
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
8 \( n2 c2 j, @% {" }# m5 a<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
7 X8 u' p9 d+ I* a& \; ^) [<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
w, P! O. E6 j8 A! b e<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
+ ?6 L$ Q7 N& z% ]<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
; w! T% j" P: J" G<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
5 @/ M( \6 A0 b/ ^, e<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>6 s2 r$ C# @0 W( A
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
% Q- y" T8 c+ e! ^3 }; e<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>' c' ~; A; D# @2 f1 L& M* L! e% s
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>. m6 o2 h5 u3 O" C4 B1 q
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
$ Q: j- f, E3 S2 A, {4 Y& B<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
]" _/ |" |& m+ |$ M<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>( k9 Z# z, |) l' V* o2 ?" C
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>9 B( n3 K# S/ h
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>7 l/ E. s6 C, j3 ~
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>2 }2 _. R( {7 u
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>4 A# }; a9 l* R* V. ~; _
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
: \( N* j! P' q9 d8 W) [$ {<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>( X% Q2 |# b, R+ ~) P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>) j# }2 D8 M: R2 L% |
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>1 }2 k0 [/ a3 @4 k' d7 f+ X0 n! ]( |
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 % H1 d3 b4 b& G: u
<DIV id=lrc style="DISPLAY: none"></DIV>) y) s3 j0 r) ~. [2 Y e
<SCRIPT type=text/javascript>
+ i0 B/ { k" M" r1 V3 Zdocument.domain="1ting.com";
+ s% `8 T8 V' H# h7 Y2 `) C( Jvar colorPasted="#666666";
3 I2 S; G+ p9 } z+ X5 Lvar colorPlaying="#ff3300";& ?$ i& M! S4 }! V' \: r
var colorNormal="#000000";
# y7 U9 f$ q R$ = function (a,g){
o) z* h& D9 T var o = new Array(); , O9 s1 j1 t: a# A8 I9 n3 j
var c = new Array();
; m: s: m X7 z+ Q var r;
5 H4 M( {+ _$ j) R4 K5 s3 ^ var u;
6 |2 l |1 f3 G B2 I var a = a.split(';'); 8 [4 X, }- h& d
& V1 o' ]& V8 ]3 B% `( j9 |. ~ var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");4 e" i* ~% P0 \! v" E5 g
for(var i=0;i<e.length;i++){
. S+ R; O, z" D/ {8 I eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
7 y: E0 T2 x6 A }
, K/ _! \7 _5 T8 Q' R/ N
) E# ?% m4 F/ Z$ c w after = function (t,d,s){$ D U" y0 f! ^4 d
$after = function (){5 @$ g. c+ p% N v; ]
var $n=document.createElement(t); \8 j1 k+ K# a7 Y" W
if(d!=null){
6 a1 j! e/ f, s3 v2 X; y $n.id=d;
+ W2 {' D0 m7 Z4 v4 a1 v5 K d }
8 }2 c: c% \1 N; g 2 U* Q( d9 G z/ g/ f' U3 a4 W1 G
u.insertBefore($n,null) - W! X1 ?3 t8 k6 C7 h& l/ {
r = $n; . w, q$ J% F1 |) p. j( v- R
u = $n;
* J) X* ~- k) E" n }
1 j: N# r* n, M% l! R4 k $for(s,"$after"). V8 N. k- A3 ?0 ]3 x" J# e5 P' Y
}
0 m6 M9 j/ |9 g& Y0 h+ H
6 u* |4 U$ ?5 _1 o9 ]9 r show = function (s){5 p8 q. _; {+ e( r& Q
$show = function (){# d$ U: x! U5 {# t
u.style.display!="none" ? style("display:none") : style("display:block") ;
- j; N1 |: ]5 B, I% b* w: | }
! ~) v) q" v$ } a0 O $for(s,"$show")
: y6 F. w/ J1 M8 h }
' E, g. J- P n) q* r |/ P2 W& M/ B2 F1 C
check = function (t,s){
6 S( L5 V; ?; X7 h, ]% b $check = function (){
! J, q: N, I# p( B$ O" A" a if(t=="2"){
/ J. ^3 B, x f" P" G if(u.checked){
0 ]% h& h" R& z+ m9 u) } u.checked = false;
3 m' ]+ r9 j1 D1 Y; x# F: c# ~ }else{
' s# ], N) b, w: z! [ u.checked = true;2 Z* {, k0 }# ?, h+ H$ R9 {
}
( {3 h/ R3 Z9 g0 v }else{1 e; d* U# C0 U' ^( ]+ G+ F2 ~
u.checked = t*1 ;4 ~6 a7 d1 v. Y% a/ D Y
}
$ i& E& [& c7 ]5 D x }
$ h$ o" Z8 a* e $for(s,"$check")
+ A/ K+ C! { ]) ]8 j+ h }
" R: h- M2 z5 ]- k% V# E/ ?3 C1 Y: }: ^3 M% E1 j2 |
style = function (v,s){+ J6 K/ {4 S9 G7 [& s. u
$style = function (){% S3 R( k: \, {7 }* T7 Y
var $n = v.split(",")
, ~, v% U& W+ D5 T/ X9 Z$ a5 c for (var i=0;i<$n.length;i++ ){
# H$ |/ ]8 A- Y var $m = $n<i>.split(":")
- g( |9 K' t- y. f" i eval("u.style."+$m[0]+"='"+$m[1]+"'");
9 p$ ]( A7 D# e0 _ }! E& J/ j" E. x8 c$ r7 B# V( ?7 r9 X
}
- R6 H. y) r. S8 \ b $for(s,"$style")
1 L: ^' e E: q% i. d }/ b, t- N) d' F- j( D
( ~/ ^" F. N) v5 \# L
value = function (v,s){! W) c( T) y3 D* x% n2 H0 k2 E, i7 j
var $n= $this (v);- c8 B6 @5 F: _( k
$value = function (){3 `# m9 o1 b8 d) g6 q. m" q! H" P
u.value = $n
1 Y( D1 k E" I }
: \4 y/ l0 \5 @$ A0 C% d9 z2 H $for(s,"$value")
. D0 D2 N5 w0 Y$ D5 J4 O }
9 c' H& m: E: |% S$ E a) w
c/ @; ~+ W ~( B x6 t text = function (v,s){1 ~( a. b! {$ q4 L7 a% B
var $n= $this (v); z" u2 k0 p( M9 G3 B/ p4 M
$text = function (){* G; J" X! ] I! A. v/ f$ P6 g
Y# C; H9 B; j, k
u.text = $n
% i6 Q- r# R) T ^1 a }: I+ j* S1 r9 a9 \6 |! Q8 v$ c
$for(s,"$text")
, ~1 V: Y: b5 ^8 ~ w$ F2 G }5 y& s B. M$ ?+ z f o; u
; L- H! z0 @9 N8 E |; \ innerhtml = function (v,s){
/ [# j7 Z, ~. v m; { var $n= $this (v);
. E% K; @/ \) v8 e6 H2 o+ _1 a. ? $innerhtml = function (){, Z# _9 X4 u' ~2 C3 a0 G! D+ x6 ?
u.innerHTML = $n
& \" e4 n `& |% l7 O- g }
( M6 o) q& I e% D% X, A$ D $for(s,"$innerhtml")
4 m, w, A$ I$ s% c& w' _# D }- V: P$ d+ H$ R5 Z0 _
6 V# |" [% I* M4 ?$ V
removechild = function (s){6 I+ s) z& o7 Y( H% X: \4 Z
$removechild = function (){" c: `1 U, S8 E% |3 a7 D
u.parentNode.removeChild(u)
- B6 n+ j1 F8 g. _0 N* t* p; z' e }
& _. T I* C' ^* d( ~9 Q2 k $for(s,"$removechild")
7 y: N4 X$ E' Y4 j' }% s8 N" A }, H; i/ q4 k2 P ~. P5 i7 S
# D2 E. Z8 \# d) i0 E% q5 k" l5 N $this =function(v){
, Y8 P* z! E/ y' h( ` if(v.indexOf("this") == 0){! y3 o; l6 {( V
return eval(v.replace("this","u"))+ O, p* c$ Z! z: b( G2 p6 v. a
} T/ j% \/ N/ s( L
return v;9 k" `, s \& V! G
}% ~2 D" d# S; b+ g; g$ s) ^
; O3 [5 {8 V: _, d" F
$event = function (s){5 v( Q' i% b/ |' m
var $n ="u."+s+" = function(){$work(this,s);}"4 I/ m8 i+ @$ S7 W/ R
return $n;9 k1 h# ]7 z7 t. [* y7 p1 Q9 P' g
}
' c( h, R" c, E- `
& d, Q I7 s2 l% f6 {0 w $replace = function (s){
0 O y1 p0 M L1 R* f* @* ^! f) h$ K$ h* O5 y/ Z/ o: u" i0 u
}* e, M2 X: m: e
" u" d# u& X5 _) j* c7 e6 g3 K $for = function (s,c){% G% t ?; J( B
var $n="this."+c+"()" ;
P) D0 Z% c' _* n/ [! @( t) p if(s!=null){
4 S9 U9 d1 t" i& b5 g var $m =$test(s);! [& T& B0 `) @$ |
for (var i=0;i<$m.length ;i++ ){
5 C+ @2 m$ I; W" |$ v u = $m<i>;0 ]9 Z; e% w+ u6 `8 }
eval($n);
, z! b: Q7 n( n }
) Q; `# ^3 T9 n( ^ }
% q: t: t: ?% G; g2 a( H else{0 r4 a1 d7 Y- J% q8 Y
eval($n);
7 ~1 ~: `" T+ \ }
( w( {( b; }4 w }" p+ x8 L* I3 u$ Y
]' Z, Z8 }0 `
$test = function (a){
4 E: r/ a& G6 x. Q2 a8 m var o = new Array();$o(a.split(';'),o);
/ R+ p5 o- Z7 t$ k$ m3 t, D return o;
3 N/ G5 x+ ^4 e6 u, l }
0 U& H8 i7 G' s6 P' U* D9 U" T3 a- N" N% g1 W6 O
$format = function(s){4 ]6 q6 f8 _. W& y# Z1 H/ r$ I% R
while (s.indexOf("'")>0){
) A5 Y; U) {" c, ]0 A s=s.replace("'","\"");
+ x7 f% g0 U7 ~ }
) X- E l' e4 \5 p( _; J! t: \2 A while (s.indexOf("][")>0){0 d: w+ D" c; h _
s=s.replace("][","','")
# Z" x' U) L" ^0 B. f0 f }5 |) a2 G# s+ J/ C8 `
while (s.indexOf("[")>0){! s9 `+ h, J0 [, E0 e$ b3 c
s=s.replace("[","'").replace("]","'")' L" p* K& n5 u2 i' X# f$ M; N& a
}
: }* i: _* r6 w. ?$ x' q$ {% ? return s;* ]% L1 c v0 A: b
}; N ^8 W* g: ?7 M
: G+ k, F2 P2 r2 \7 K
$work = function(w,s){
$ X4 Q( l2 d9 m1 J. R3 F u=w;eval(s)0 c# V) ^1 J4 S, p1 ^, B k, [
}1 L( {+ O4 K" }9 H
; F+ `0 K! v% y4 P8 w. k $id = function (s){
j: i+ q2 f+ B0 W1 w( x return document.getElementById(s);, y& E+ q$ |* W$ P" h
}. r; h5 E7 S9 R: H. l
$ Z: O' ?' l8 Z) @9 \1 \
$name = function (s){0 o- X" e% O R# t+ l
return document.getElementsByName(s);9 K9 R$ s) W& w9 w6 Z2 z/ B
}/ Z# n# ?+ |; x* {8 N `# x* n9 d
+ ]- p9 \; I; B! t6 K3 Z $tagname = function (s){9 ^. V/ ]0 M) s/ H
return document.getElementsByTagName(s);/ U4 a* E6 Z9 I9 Q# _( x: }
}( ^) m; W3 Q% b; A4 O
, ]( }8 u& j: E7 O, B6 h/ y
$o = function (a,o,c){6 {- }) t5 E9 Q# q+ t
$push = function (n) {( A+ e2 {( t. d& r
for (var i=0;i< n.length;i++ ){" R3 {, u" d$ p' m0 [
o.push(n<i>);
' j- |* J' [! o5 R9 y" ? } 2 l0 C0 L: C: e$ [0 n0 ?
}
# G& X/ P) l8 H0 I, s1 ?+ r- Q for(var i=0;i<a.length;i++){
# V4 o( N1 C4 @# |& h' H" @$ X if(a<i>.indexOf("(") >= 0){
' r- c& y+ T1 v" \' } c.push(a<i>);( D1 I+ j6 R6 ^# ~
}
' E `# w, ], b/ ? V$ b3 }6 T1 e7 t if(a<i>.indexOf("~") > 0){
& ~0 @( a- ^& Q; B try {
+ N( G* E Q9 a( d $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')")); g, Q w! d- Y d
}catch(e)
8 s! ~ I3 ]& S7 ~. m4 F | {} 1 S }% x6 u, {* O: o4 X
}
; ~: \, a$ k' Q; q- ?& E else{
! ]- V4 U& f9 K! q) G if(a<i>.indexOf("#")==0){
8 h7 s: I/ [1 I0 p8 p( U. Q o.push($id(a<i>.replace("#","")));5 X0 s& `0 f1 o( E) ?1 g: ?
}4 ^% \8 i8 e7 `; b6 n8 u7 C2 d
if(a<i>.indexOf(".")==0){: g6 R @, c' h! I3 C
$push($name(a<i>.replace(".","")));
3 g0 G. ]* L* i8 c: x }
7 u0 y8 M: D8 S8 S& T1 S* F9 @ if(a<i>.indexOf("@")==0 ){
" a, r: p! \0 [2 _; Y2 {6 n $push($tagname(a<i>.replace("@","")));
; E; X q3 W# V& I0 Q }! a! p- D7 X/ Y3 `; _
if(a<i>.indexOf("*")==0){5 M! ]* P( G5 l
$p= a<i>; @4 [* Q o3 @& N, `
if($p.indexOf(".")< 0){
3 f5 x# C0 n, R9 l' ~: d8 e- _ $p = $p.replace("parent","parentNode")
7 U! Q! t# L; K W4 h }
/ e7 l- ?; y* b var $p ="u."+$p.replace("*","");
/ r4 U: O9 e# I2 @& h9 R) P while ($p.indexOf("parent.")> 0){ u. m: L. I! h: _( {( l: }
$p = $p.replace("parent.","parentNode.")3 b" }# c4 |5 K; N L
}. v3 c; l: T1 Z7 L) G
while ($p.indexOf("child{")> 0){5 s' R9 ~& s* G' h$ D) j
$p = $p.replace("child{","childNodes[").replace("}","]")
: q1 q. `' t. v# O' q3 Q }
5 b$ i0 f( ^$ a2 _$ q$ M5 [ o.push(eval($p));' H2 }( G3 R7 g+ f3 A' l
}& d( m x: y' r
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
7 i9 E* [+ Y" T3 s o.push(eval(a<i>));
% y- p, J* M) H: w }
: L1 |$ D' p3 t }7 I4 q# x8 [ d: i
if(g!=null){ : i5 A4 `$ P' y+ C& R, Q0 }
o.push(g);g=null
$ U6 r3 @, k- C; u' F( G }
) v; D" v' M' |$ H; n5 ?5 B" ~ }$ m/ {' R, n9 {9 T( d
}- e/ ^4 D: ~; }, C5 ~# T# J
# q5 M% ^8 }' Q $o(a,o,c);' L9 b9 ^ V# J8 y
' {; E4 I+ h' W% j for(var i = 0;i<o.length;i++){* ?: }; A5 _- K# o7 K
for(var j=0;j<c.length;j++){4 Q6 _4 f2 L5 Z& a" R' M
u = o<i>;eval($format(c[j]));
, M4 T" `# Y) p }( D' C2 h# q2 @3 s: y3 j, G
}
6 l- I( W' b8 p L" n1 I, G- Y* R/ Y8 x) ]( a8 K; ^
if(o.length == 0){2 E: e& T/ M# E; T7 \. j
for(var i=0;i<c.length;i++){$ ]7 G4 g( u* X* d, _4 e$ b5 k* u
eval($format(c<i>));5 j* e, I. c7 o7 T- L& l
}% g; v% R+ ], Q0 F8 V5 o
}
& v2 t @3 N* `
4 g" P: M$ ] o0 a0 Q9 d if(r!=null){
# \- k: e8 d1 a3 O* a, x! M \ return r;
* R& k2 P, `7 b ` }
: G9 [. R7 F% A4 I" o
3 e9 L& b. y9 x if(o.length==1){
) o9 ?; N! |/ n) \ return o[0];& ? d2 D6 {" S, s& S% k) s
}/ U5 |3 F% b8 `4 S1 L
else{6 V8 e0 G1 t( N9 A4 U( O' H! m
return o& M% \3 [4 T0 C4 N
} 5 |% D9 B0 H# a$ |! P0 x
7 \% ]9 d. N3 |: k% R/ F: N# E
}
0 n% ?8 Z5 M3 O; Y* x/ Bvar lrc =$("#lrc;show()").innerHTML.split("[");, L& `3 d2 C4 r7 A; }
if(lrc.length>5){
" t) `* P ?1 f- ~$ x. h' @; tvar array = new Array();- M% K/ p2 \$ r
for (var i=0;i<lrc.length ;i++ ): Y' }, G( Q6 y+ x
{
! O3 u5 M; l7 p8 k4 a9 u6 r" [; p var g = new Object();
( P) F" |( m8 @7 K& k. J t= lrc<i>.split("]");
0 @, g+ l; g8 j/ s g.time = getTime(t[0]);
5 f# F3 s/ I) ?+ P# \( z6 O if(isNaN(g.time))
/ m0 A# |' c" ^. R5 n continue;
" ?' V) G' \7 X, t5 l, f& f! m g.c = t[1];* K5 h1 f5 t6 E# e# z# O
if(g.c == "")% K/ ]; s J w" x, g3 D
g.c = getNext(i);% L# b" h# o+ K; K; f
array.push(g);2 w( q) \! U/ M3 i+ d( j
}
; C# [7 f/ f3 Y# P( ?array.sort(function(x, y) {
$ o3 I& `. x- w2 b% K if (x.time>y.time)
# r6 l$ `; V+ u return 1;& S v! F6 u d" @, _; d
else if(x.time<y.time)
" _ F6 I" s3 O, N5 C4 S/ f9 J9 @ return -1;
+ }( F! u/ W* h+ ~ else% d. l v, M: g1 B1 q: G/ R6 X4 _. ]
return 0;0 g) U7 z* ~; E% s1 A' h5 y- Q3 I
}
/ `4 V, H5 E, g. ~; {% v! {; o);2 L* a* J# Q" k( f2 u0 I
for(var i = 0;i<array.length;i++), M1 R$ U8 `( h7 a0 ~4 V
{) S* }! Q( I9 E4 w+ t( s
var g = array<i>;) w' h& e, } F! z
if(!g.c){( r. d0 D5 `; v9 m; Y8 ^6 t$ I
g.c="";, b! T# A! k9 g3 C0 T
}; X* I+ L2 Z$ e3 O( o- O
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
; u f; s# ~2 N& Z# N" w}, K- m* @& E' F X- |
var time = setInterval("lrcList()",500); 9 b4 K" e! z) z
}else{7 n' _, q2 T) `4 i& B8 T& ]0 [
$("#list").innerHTML=$("#lrc").innerHTML;
- C# r: q1 s' u% e}
' i/ n* v' o. gfunction getNext(i)+ }, i' @+ T" b: v' | y
{7 N5 F0 g0 T |9 R2 O; U `+ S
var result = "";
8 Q7 E; i2 q; X5 z! w% q% [ var i = i+1;( W& b/ Q. ^/ S
t = lrc<i>.split("]");
0 V: M9 b2 E" f+ Q if(t[1]=="")
+ z: ^- e# d$ j2 F result = getNext(i);
( p2 T) P0 F$ r else
% U+ }9 `5 [9 n/ [' b' J. q- A' J result = t[1]+ C E2 {6 J$ o+ Y
return result;
; S8 q4 y3 `& a' n1 V# L R& ~}
2 \" N2 k. [; ~; M8 Z$ |
; T' v u2 m0 X! W: xfunction getTime(str)
. n7 G2 i) y8 ~* V; Z{
4 [3 }4 b) v5 o! _7 e% E! ^ var time =0;7 p' Q6 N+ k2 c
var ta = str.split(":");
7 p' [5 P1 \9 q' v7 T: V& ]7 g# C if(ta.length<2)' p. v- _% v. H7 L7 q
return time;
% }- b5 Y# U9 P# h
7 K/ j E, l' {& r/ p5 T c if(ta[1].indexOf(".")>0){( T+ a$ i5 v$ X
var tb = ta[1].split(".");
2 F& h" x/ Q0 j" ? time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
0 u3 q, c& ~1 e9 k: _% {' [ }% @7 [ c) i8 \) H+ L
else1 u! S; m# O% l( k# ^
time =ta[0]*60*1000+ta[1]*1000;7 g1 L5 _9 @9 R$ B' r; A: s& w
return time;
9 T2 }! P" R6 i2 t, _}
2 o7 K& I( z( F4 Y% Svar preTime = 0;/ B, J+ N5 K& x# ]2 [. H* x
var nextTime = 0;2 v% w. F5 N( S) d3 U# P0 q- g
var currIndex =0;
/ C; o' B3 s. C N) Mfunction lrcList(){
( g% J5 S' ?5 q9 ?5 V var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;! d c7 ~5 `8 {" _6 \& |$ U
s = s*1000;& R6 i( o3 Q( ^1 l% K3 p
if(s==0){5 g* D2 c# V, Y+ e6 n
currIndex =0;& W( {$ K: O, X! Z3 P& V
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 T* a+ z6 ^9 s5 q for(var i=0;i<array.length;i++){) U$ w I6 N2 `7 { F% V* V+ H
document.getElementById("lrc"+i).style.color=colorNormal;* S) q( P& k* b2 C* J$ z
}
4 ~: z s! w3 E+ Z6 u. V8 ^ return;2 m) e5 d) u- A; z2 P) r. W0 b
} @5 q7 D) q1 ^; u. Z
if(s>0&&currIndex<array.length-1)
Q7 |- ?6 g6 B {
6 v3 ^" j# v( u" w) d. u1 O0 m preTime = array[currIndex].time;# s7 T' Q! _6 O9 x( l3 @; A
. O5 m }/ A( f% N) `( S' X9 j" A; i. A8 E nextTime = array[currIndex+1].time;
( e: ?) f8 m: _0 E6 T9 ]9 e
+ u% `" C6 o! X6 A, z0 K if(s>=preTime&&s<nextTime){
3 ~9 d" Z, y. G. s( ` }3 Q% c8 y- v) W6 J' U$ \
else if(s>=nextTime). Z+ X9 _0 X: P0 r# f @: N( j+ q1 \
{9 R0 {: B$ k. T0 t4 D6 y
document.getElementById("lrc"+currIndex).style.color=colorPasted;/ ~ R+ n% t; b+ G i2 C- Y- j. ^' U0 W
currIndex++;# x k9 \9 G! ~% C& N
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" o. A Z: h" V/ C
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
4 ?& ~3 H. `# E! x* o7 J) \ [ lrcList();- B0 m4 L( B4 q& J7 |
}
; `' ], p) F* [" H" ?$ T else{6 n$ q% ^6 I2 W: z
document.getElementById("lrc"+currIndex).style.color=colorNormal;
9 L/ s* |$ r7 ~& F! W: X currIndex--;' y8 A9 k8 p" x0 |; H
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 z' q% y; l8 Q" t. d& h& H- K+ L document.getElementById("lrc"+currIndex).style.color=colorPlaying;. i# @& I7 L. e1 r
lrcList();" }4 @- j) v! j* R! j0 ^
}
! H, b& o" r$ w: S' R2 b! F }* a K7 i! B X- ^
else) n% ^. \ Q! P' d2 R- d
{
B/ O- r. s* w" j* J' i6 e w/ ` if(s<array[array.length-1].time){
1 m; ~8 D g& {; A currIndex = 0;( j$ Z6 u3 Q( d6 `% d: G8 u
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* h+ o; a" s) ]8 R/ d% s
for(var i=0;i<array.length;i++){
6 J9 s9 K4 N$ p document.getElementById("lrc"+i).style.color=colorNormal;0 ^2 R# z" x0 H* x' I) V7 Q0 {
}4 j- p1 f! @' Y/ d3 d
lrcList();$ e8 \, N! d( {2 M$ Q7 S
}
* N S& X* ^8 E& s" Q; M( z }
8 D2 a' l1 x. W A}- ^+ D" t. |% Y. f$ y6 v
</SCRIPT>
; v$ d( d' J3 ~! k3 k" V( i7 p</DIV></DIV>- M+ ~% Y' \- N* E, ~( @2 l
1 V0 X W/ Z! h( v7 Q p$ V1 i2 R[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|